3

A new Question today :).

I've downloaded Sublime Text 2 for Linux (x32). Now I want to add it to the PATH-Variable. How does this work?

Greets,

Baldoius

0

1 Answer 1

8

You can add only a directory path to path variable.Run the below commands on terminal to add a directory path to the PATH-Variable,

su root
PATH=$PATH:/path/to/the/directory

To add the path permanently, add the following line at the end of ~/.bashrcfile

sudo gedit ~/.bashrc

Add the below line at the end,

export PATH=$PATH:/path/to/the/directory