Showing posts with label Install Sublime Text in OpenSUSE. Show all posts
Showing posts with label Install Sublime Text in OpenSUSE. Show all posts

Tuesday, June 21, 2016

Install Sublime Text on OpenSUSE

Download Sublime Text tarball from the following link:
http://www.sublimetext.com/3
(Ubuntu 64 bit - also available as a tarball for other Linux distributions.)

Extract the downloaded file sublime_text_3_build_3114_x64.tar.bz2

Once unpacked, you will get a directory called “sublime_text_3″, inside this directory you will see a list files that required by Sublime Text to run.
For example, go to the folder sublime_text_3 and open new terminal window and type ./sublime_text, sublime text editor will open. But everytime, doing this way to open a sublime text editor is not a good idea.

For security reason, we move this folder under “/opt” location. For this enter the following command:
sudo mv sublime_text_3 /opt/ 
sudo mv Sublime\ Text\ 3 /opt/ (if folder name is Sublime Text 3)

Next create a symbolic link to call “Sublime Text” from the command line as “sublime”. To do, create a symbolic link under “/usr/bin” as shown below.
sudo ln -s /opt/sublime_text_3/sublime_text /usr/bin/sublime

Now, you are ready to use sublime text. Just type sublime in terminal, sublime text editor will open.