Ubuntu: Opening Sublime from Terminal

Ubuntu:

Download the Sublime package and extract the contents OR  follow the steps here to install from your terminal.
Move your extracted contents to the ‘opt’ folder in your terminal:

$ sudo mv Sublime\ Text\ 2 /opt/

Setting up a link:

$ sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime

Test if it worked by typing ‘sublime’ to open the text editor:

$ sublime
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s