Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Install atom editor

1dot75cm edited this page Jun 9, 2016 · 2 revisions

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

Install Atom

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


Update node.js for fc23 and el7

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.

Use official Node.js RPM repository

$ curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
$ sudo dnf copr enable mosquito/atom
$ sudo dnf install atom

Use NVM (Node Version Manager)

$ 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

Failed to activate the atom-ctags package

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')

Failed to activate the terminal-plus package

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