1、安装atom
到以下网址下载所需平台的atom安装包
https://github.com/atom/atom/releases/latest

————-
如果缺少依赖包就先安装
apt安装
sudo apt-get install build-essential git libsecret-1-dev fakeroot rpm libx11-dev libxkbfile-dev
安装更高版本的C++
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-5 80 –slave /usr/bin/g++ g++ /usr/bin/g++-5
sudo update-alternatives –config gcc # choose gcc-5 from the list

yum安装
sudo yum install -y make gcc gcc-c++ glibc-devel git-core libsecret-devel rpmdevtools

2、安装汉化包
菜单栏“Packages -> Setting Views -> Install Packages/Themes”
搜索chinese,出现“simplified-chinese-menu"点击安装”Install"

3、常见报错处理
Q:TypeError: Unable to watch path
A:sudo sysctl fs.inotify.max_user_watches=32768
或者echo 32768 | sudo tee -a /proc/sys/fs/inotify/max_user_watches

Q:/usr/bin/env: node: No such file or directory
A:sudo update-alternatives –install /usr/bin/node node /usr/bin/nodejs 1 –slave /usr/bin/js js /usr/bin/nodejs

Q:sys.exit(gyp.script_main()) AttributeError: ‘module’ object has no attribute ‘script_main’ gyp ERR!
A:sudo yum remove gyp

PS:
https://github.com/atom/atom
https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md