How to install sublime on CentOS

To install sublime we will first need to download it from the repository using the wget command:
Once the archive has been downloaded, we’ll need to execute sudo tar -vxjf sublime_text_3_build_3065_x64.tar.bz2 to unpack its contents in the current directory. If you want to find out more about archiving and compressing files in Linux, read this article:

How to install sublime
I’ll move the directory to /opt because this is where I store all of the software installed. To achieve this result, execute mv sublime_text_3 /opt/.
Now we’ll have to create a symbolic link so we can launch the application much faster:
sudo ln -s /opt/sublime_text_3/sublime_text /usr/bin/sublime3
To create a shortcut on the CentOS server if you are using a Unity Desktop environment, you’ll need to create a file in /usr/share/applications/. I’ve created a file named sublime.desktop in which I’ve added the following entries:
[Desktop Entry]
[NewWindow Shortcut Group]
Name=New Window
Exec=sublime -n
Sublime on CentOS
The shortcut has been added to the applications menu, all that’s left to do now is to start and enjoy sublime:
How to install Sublime on Linux

Leave a Reply

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

You are commenting using your 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 )

Google+ photo

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

Connecting to %s