Install Sublime Text 2 in Linux Mint

Installing Sublime Text 2 in Linux Mint is like what you would do in Ubuntu

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

Updating your Sublime Text 2 to the latest build

If you are in the cutting edge, following the latest build of Sublime Text is preferable. Unfortunately in Linux Mint , updating is not as straightforward as in MacOs. “apt-get install” is the culprit.

Usually, to use an updateable Sublime version in my machine, I dont use “apt-get install”. If you have a previous installation of sublime-text-2 in your machine, you have to remove it. Using “apt-get” do the following.

sudo apt-get remove --purge sublime-text-2

Now that sublime-text-2 has been cleared away from your system, lets install the updateable version.

cd ~/temp
tar -xzvf [version].tar.bz2
cd [version]

Where [version] is the latest version of Sublime Text 2. Http address might change in the future so watch out!

Now modify your ~/.bash_profile by adding the current folder to the $PATH variable

echo "export PATH=$PATH:`pwd`">>~/.bash_profile

Next, either restart your machine or source the bash_profile

source ~/.bash_profile

Congratulations. Sublime should now use the latest sublime build.

Though English is my country's official language it is not my native tongue. If you find anything wrong with my phrases, or any incorrect information, write it out loud in the comments section. The world will be a bit better that way.
Tagged with: ,
Posted in Javascript
One comment on “Install Sublime Text 2 in Linux Mint
  1. test website says:

    Hi! Does one use Twitting? I’d want to follow an individual if that you will find okay. I’m surely enjoying ones blogand anticipate new articles.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="">