Monday, March 24, 2014

Sublime Text: How to install in Ubuntu based distributions

Sublime Text is one of the best text editors out there. It is full of features that aim to make every developers life easier. It is available  for Windows, Mac and Linux. In this post I will show you different ways of getting the app for Linux(Ubuntu based distros)




Install via the Package Manager(apt-get):

I know this already answered but you can simply just add to your packages:

For Sublime-Text-2:

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

For Sublime-Text-3:

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Install Manually via Terminal:

Download from the Sublime Site:
32-bit:
wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.2.tar.bz2
tar vxjf Sublime\ Text\ 2.0.2.tar.bz2
64-bit:
wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.2\ x64.tar.bz2
tar vxjf Sublime\ Text\ 2.0.2\ x64.tar.bz2
For Both::
sudo mv Sublime\ Text\ 2 /opt/
sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime

Enjoy Sublime Text!
Source: Ask Ubuntu

No comments:

Post a Comment