Atom – A Hackable Text and Source Code Editor for Linux
A Quick Time Travel
Atom project was started by the founder of GitHub, Chris Wanstrath in the mid of year 2008. Nearly 6 years later, the first public beta was released on February 26, 2014. Nearly 15 months later the release of first public beta (and 7 years since the idea was conceived), on June 25, 2015 Atom got a stable release.
Features of Atom text/source code Editor.
- Cross Platform support (Linux/OS X/Windows)
- Polished edges
- Modern and approachable editor that can be customized to core.
- Built in Package Manager – Search and install from within. You may develop your own package.
- Smart Approach – Ensures you write code with speed, flexibility and auto-completion.
- Embedded File System Browser – Browse and open file/project/group of projects with ease in one window.
- Split Panel – Multi-panel feature to compare and edit code from single window. No more switching between windows.
- Find and replace text in one file or all your projects.
- There are some 2,137 Free and open-source Packages, that you can use.
- As of Now it supports some 685 themes to pick from.
- Plug-ins supported
- Can be used as IDE (Integrated Development Environment)
- node.js version 0.10.x or node.js Version 0.12.x or io.js (1.x) [Any one of three]
- npm Version 1.4.x
- Gnome Keyring (libgnome-keyring-dev or libgnome-keyring-devel)
How to Install Atom Editor in Linux
There are binary package available for DEB and RPM based distributions for 64 bit architecture only, hence no need to compile it from source.
However if you want to compile it from source for any system including DEB and RPM based distribution, follow the below instructions.
Installing from Binary Packages
To install Atom on Linux, you can download DEB or RPM binary package for Debian and RedHat based systems from the main Atom website or use following wget command to directly download the packages into your terminal.
$ wget https://atom.io/download/deb [On Debain based systems] $ wget https://atom.io/download/rpm [On RedHat based systems]
On Debian based systems, use
dpkg -i command to install the binary package.
$ sudo dpkg -i deb [sudo] password for tecmint: Selecting previously unselected package atom. (Reading database ... 204982 files and directories currently installed.) Preparing to unpack deb ... Unpacking atom (1.0.0) ... Setting up atom (1.0.0) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for mime-support (3.54ubuntu1) ...
On RedHat based systems, use
rpm -ivh command to install the binary package.
# rpm -ivh rpm Preparing... ################################# [100%] Updating / installing... 1:atom-1.0.0-0.1.fc21 ################################# [100%]
Installing from Source
If you just want to build Atom from source, you can do by following up-to-date detailed build instructions on Linux systems.
To build Atom from source, you need to have following required packages to be install on the system, before building the Atom from source.
On Debian / Ubuntu
$ sudo apt-get install build-essential git libgnome-keyring-dev fakeroot $ curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash - $ sudo apt-get install --yes nodejs $ sudo apt-get install npm $ sudo npm config set python /usr/bin/python2 -g
On RHEL, CentOS or Fedora
# yum --assumeyes install make gcc gcc-c++ glibc-devel git-core libgnome-keyring-devel rpmdevtools # curl --silent --location https://rpm.nodesource.com/setup | bash - # yum install --yes nodejs # yum install npm # npm config set python /usr/bin/python2 -g
Once the required packages has been installed, now clone the Atom repository from git.
$ git clone https://github.com/atom/atom $ cd atom
Checkout the latest Atom release and build it.
$ git fetch -p $ git checkout $(git describe --tags `git rev-list --tags --max-count=1`) $ script/build
Note: If Atom build process failed with below error message:
npm v1.4+ is required to build Atom. Version 1.3.10 was detected.
That means you must have latest version npm (i.e v1.4) installed on the system, to get the latest version of npm you need to add node.js PPA to your system to get the latest version of Nodejs and NPM.
$ sudo apt-get install python-software-properties $ sudo apt-add-repository ppa:chris-lea/node.js $ sudo apt-get update $ sudo apt-get install nodejs
Next, install the atom and apm commands to
/usr/local/bin directory by executing following command:
$ sudo script/grunt install
Atom Testing and Usage
1. Fire Atom from Application Menu, or by typing command ‘
atom, in the command prompt.
When you launch Atom for the first time, you should see a Welcome screen of atom something like below.
This welcome screen gives you a brief idea about on how to get started with Atom editor.
You may Download your favorite flavor theme and native packages from the links below and install it using Settings Menu.
Just for Information
- Atom send usages data to Google Analytics. It does so to collect information about those features that are mostly used. These information will be used to enhance the user experience in further release.
- GitHub Reports Atom has been downloaded 1.3 million times and is used by more than 350,000 users per month.
Atom is a wonderful source code (and Text) editor. It functions like IDE. Supports of nearly 700 themes, ensures we have a lot to choose from. 2K+ packages makes it possible to customize Atom, as per user’s need. It has been developed by GitHub Founder and other developers/contributors, so we can expect it to be more than just a normal editor.
What you think of this project? Is this editor going to live long? The trend says Yes! Let us know yours view. Signing off! Keep connected, Stay tuned. Enjoy!