-
Notifications
You must be signed in to change notification settings - Fork 97
Install atom editor
Atom is a hackable text editor for the 21st century, built on Electron(atom-shell), and based on everything we love about our favorite editors. We designed it to be deeply customizable, but still approachable using the default configuration. Visit [https://atom.io](https://atom.io to ) to learn more.
SPEC file for build atom on: https://github.com/FZUG/repo
You can use mosquito Copr repository, Or use FZUG repository.
$ sudo dnf copr enable mosquito/atom
$ sudo dnf install atom
Note: I am splitting Atom package ( atom
, nodejs-atom-package-manager
and electron
), if you have any questions, please tell me.
My plugins page:
https://atom.io/users/1dot75cm/stars
There are two ways to use the new version of Node.js:
1.Use official Node.js RPM repository.
2.Use the NVM (Node Version Manager), eg. creationix/nvm or visionmedia/n.
$ curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
$ sudo dnf copr enable mosquito/atom
$ sudo dnf install atom
$ git clone https://github.com/creationix/nvm ~/.nvm
$ source .nvm/nvm.sh
$ nvm ls-remote # list remote version
$ nvm install v6 # install node 6.x
$ nvm ls # list installed version
$ nvm use v6 # use 6.x release
$ nvm alias default 0.10.32 # Set default node version on a shell
$ nvm uninstall v6 # uninstall a version
It's upstream's bug when you installed atom-ctags
package. I have reported the problem to upstream. You can easily fix it.
$ vim ~/.atom/packages/atom-ctags/node_modules/ctags/src/ctags.coffee
{Tags} = require(atom.config.resourcePath + '/node_modules/symbols-view/node_modules/ctags/build/Release/ctags.node') # for fc23/24
{Tags} = require(atom.config.resourcePath + '/node_modules/ctags/build/Release/ctags.node') # for fc25+
#{Tags} = require(process.resourcesPath + '/app.asar.unpacked/node_modules/symbols-view/node_modules/ctags/build/Release/ctags.node')
Please upgrade nan
to the latest version and then run apm install
. See Terminal Packages Fail.
$ cd ~/.atom/packages/terminal-plus/node_modules/pty.js
$ vim package.json # upgrade nan to the latest version
"nan": "~2.3"
$ apm install