LoginSignup
2
2

More than 5 years have passed since last update.

Atom on CentOS6

Last updated at Posted at 2016-06-04

まだうまくいってない。
https://github.com/atom/atom/issues/2177
https://github.com/atom/atom/issues/5731
この辺を見る限り難しい?

前段

公式サイトのrpmをインストールして実行すると、libnotify.so.4がないと怒られる。

$ cd /usr/lib64
$ sudo ln -s libnotify.so libnotify.so.4

しても、libc関連のエラー。どうにもならなさそうな感じ。
あきらめて、ソースコードからのビルドを試みる。

required packagesのインストール(いろいろやった)
# yum install libnotify-devel
# yum install gnome-keyring-devel rpmdevtools
# yum install libc.so.6 libstdc++.so.6 libnss3.so
Google Chromeのインストール

http://www.sssg.org/blogs/hiro345/archives/16612.html
を参考にした。

nodejs, npmのインストール

https://nodejs.org/en/download/package-manager/
を参考にした。

# curl --silent --location https://rpm.nodesource.com/setup | bash -
# yum install -y nodejs

とするか、EPELリポジトリ経由で持ってくる。あるいはnvmをインストール
http://ah-2.com/2016/01/05/nodejs_install_centos67.html
を参考。

その後、
# npm install npm -g
# npm install node-gyp -g
# npm config set python /usr/bin/python2 -g
# npm update

としてnpmのバージョンをアップデート?して、node-gypを入れる。python2を使うように設定する。依存関係等アップデートする。

$ git clone https://github.com/atom/atom
$ cd atom
$ git fetch -p
$ git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
$ sudo script/build

Installing modules...の途中でよく分からないエラーで止まる。
たまに最初のInstalling build modules...で止まることも(メモリが足りない?)。

2
2
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2