Sublime Forum

Ubuntu Install

#1

Hello!

I am having trouble setting my envionrment variables on UBUNTU so that I can launch sublime from the command line with the word subl. Can anyone help me with that?

0 Likes

#2

I keep sublime in my home directory:

“~/bin/Sublime Text 2/sublime_text” is the command I’d type to run it.

Now, what I’d do if I wanted to run it by simply typing ‘subl’ at the command line is this:

sudo ln -s “~/bin/Sublime Text 2/sublime_text” /usr/bin/subl

This will create a symbolic link in my /usr/bin directory… which is always in my path (and yours too :smiley: ).

Now just type subl and you’re good to go.

0 Likes

#3

install sublime editor on ubuntu
blog.revathskumar.com/2011/07/in … buntu.html

The easy way to install the sublime editor is use the following commands

Can you please try.

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

0 Likes