Atom on Arch Linux

Standard

Atom is a cross platform open source text/source code editor developed by GitHub written in C++, Node.js, CoffeeScript, JavaScript, CSS. Atom offers a built in package manager called APM to install packages developed by Atom developers and 3rd party developers. Atom is built on top of Chromium-based desktop application framework. Atom UI can be tweaked by the user. All the user has to do is edit a simple stylesheet written in ‘less’. This stylesheet overrides the default config. The Atom UI can also be reset by cleaning the changes made my the user. Atom editor in active development, Atom by default has a limit of only a file of 2 MB which can be tweaked by the user if he wishes to open a larger file. Atom supports languages that other editor do not support (example: sass,scss).

You can install Atom very easily on Arch Linux, Atom is has a PKGBUILD on AUR.

Installing

We need Yaourt to install Atom, You can install Yaourt from here.

To install release built of Atom. Atom release downloads it from GitHub release builds.

yaourt -S atom-editor  

To install Git built of Atom. Atom git builds Atom by downloading it from GitHub

yaourt -S atom-editor-git  

Once Atom is done installing you can launch it from the application menu or execute.

atom .  

By default Atom installs Atom’s CLI tools in Linux.

apm  

The Atom release and the git built both will built Atom using Node.js on your system. Atom currently does not officially offer pre-built packages for any Linux distribution. Atom’s performance will very depending on your system and may has longer load up time based on your system speed of opening applications. Atom has crossed build 100 which means Atom is more stable.

Now you have Atom installed on Arch Linux. If you have any problem feel free to leave a comment below.

Brackets on Debian/Ubuntu…

Standard

Brackets

Adobe Brackets (once known as Edge) is a Open-Source cross-platform source/text editor for Web development written in HTML, CSS and Javascript.

Brackets is free and licensed under the MIT License and maintained on GitHub. Currently, Brackets has yet to achieve version 1.0. It gets updates roughly twice a month. Brackets, at the time, is under active development and may have a lot of bugs. Right now, it is at its Sprint 38th build. It offers support for many other non-web programming languages and styling languages like CSS, SCASS, SCSS, SASS, etc. It’s pretty much better than most of its competitors.

Brackets offers a Live File Preview which updates the web-page in question, if any styling changes are made. Brackets has it own plugin store and the extension to the editor is practically limitless. Depending on the use of plugins, Brackets can be customised and made much more powerful.

Installation of Brackets

This process will let you install Brackets on any system that is Debian based including Ubuntu, Linux Mint and any other distribution that is known to accept Debian packages.

1. Download Brackets

There are two editions of Brackets. You’ll have to download the one best suited for your processor architecture. A 32 bit system should use the 32 bit version. 64 bit can use either but the 64 bit version is recommended.

Download the 64 Bit version using the following link.
Brackets 64 Bit.

Or the 32 Bit version using the link below.
Brackets 32 Bit.

2. Install the Brackets package

Your browser will have downloaded the file to the Downloads folder.

Start the Terminal

Do this either by searching for the terminal and running it or from your application menu. OR, you could do it like us by using the keyboard shortcut [Ctrl][ALT][T].

Focus on the right folder

Assuming your package is in the Downloads folder, enter the following command.

cd Downloads

If your package isn’t in that folder, focus on the folder where it is. OR move the file from wherever it is into the Downloads folder and run the command.

Install the package

Enter the following command, sit back and watch as it completes.

sudo dpkg -i brackets-sprint-38*

3. Rejoice

You now have Brackets on your system.

Do let us know how it fares with you. We certainly had a lot of fun editing with it…

Atom on Linux

Atom on Linux Image 2
Standard

Atom is a cross-platform text and source code editor developed by GitHub. Atom is Open Source, written in C++, Node.js, CoffeeScript, Javascript, CSS and HTML. Atom is still under active development does not come with a pre-compiled package for Linux and is not officially supported by any Linux distributions, As of now Atom only support OSX platform.

Here is an easy guide to get Atom running on Linux. You can find Atom’s GitHub project here. Atom project recommends Ubuntu 12.04 LTS x64, Atom currently supports x64/i386

If you are using Arch Linux you can find it on AUR.

Lets get started!

Requirements.

  • Git
  • Build-Essential
  • Node.js

If you already have the required dependencies on your system skip this step, if you don’t have the dependencies already installed on your system then follow the steps. To install Node.js using PPA on Ubuntu follow this post

Installing dependencies for Debian based Linux distributions.

sudo apt-get install build-essential git nodejs  

If you use Fedora or RPM based Linux distribution follow below. If you are using CentOS 6 than you can add EPEL repository. You might need to source compile Node.js on certain Linux distributions if Node.js is not available in the repository, you can get the Node.js source here.

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm  

Installing EPEL.

sudo rpm -Uvh epel-release-6-8.noarch.rpm  

Installing dependencies for RPM based Linux distribution.

sudo yum install 'Developer Tools' git nodejs npm  

Installing dependencies for Gentoo or Gentoo based Linux distributions.

sudo emerge nodejs  

Clone Atom’s Git repository.

  git clone https://github.com/atom/atom Atom

Get into the directory.

cd Atom/  

Atom by default requires libudev.so.0 to work correctly. If this requirement is not met you would get an error message like the one given below.

/usr/local/share/atom/atom: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

To avoid the error above enter the command below.

sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0  

To build Atom we need to configure NPM to use Python2 to avoid any errors.

sudo npm config set python /usr/bin/python2 -g  

We can now start build Atom.

./script/build

Once the above step is complete, we can install Atom.

sudo script/grunt install  

Now we have Atom installed on our system, we can now create a shortcut to the application menu so we can execute Atom from the Application menu or Unity dash.

Create a Atom.desktop file in /usr/share/applications/.

sudo nano /usr/share/applications/Atom.desktop

Paste the content below in the Atom.desktop file and then save it.

[Desktop Entry]
Name=Atom  
Comment=  
Exec=/usr/local/share/atom/atom %U  
Icon=atom  
Type=Application  
StartupNotify=true  
Category=GNOME;GTK;Utility;TextEditor;  

Now you can launch Atom from the terminal by entering ‘Atom’ in the Terminal or visit the Unity dash and launch Atom.

Atom is still under active development and might have bugs, if you find any bugs in Atom report here. If you have problem following the steps above feel free to leave a comment below.