How To Install Sublime Text Editor 3 in Fedora / RedHat?
Sublime Text has become by-far one of the best cross-platform standalone preferred editors for any kind of developer out there. It is light weight, supports almost any programming language and also has built-in SFTP support using plugins. And when we say cross-platform we actually mean it. The editor's GUI looks just the same on Windows, Linux (Ubuntu / Fedora / RedHat) as well as Mac OS. Currently in Version 3, we will look into how about installing it on your Fedora / RedHat system.
Install Sublime Text 3 on Fedora / RedHat Using a Shell Script
Sublime Text 3 can be installed on Fedora Linux and Red Hat Linux (32 bit as well as 64 bit) easily using the tarball available on the Sublime Text website as there is no standard repository for sublime text 3 on Fedora, atleast one that I am aware of. We will tell you about two small shell scripts, one for 32-bit and another for 64-bit. This one will install it properly in the Gnome 3.
Step 1: Download the Sublime 3 Installer Shell Script
32 Bit Version
wget https://gist.githubusercontent.com/dkd903/531a2409c40c926c66d6/raw/2c83194719f1216a7321e4b48f6b604dc8779faf/Install_Sublime_Text_3.sh -O install-sublime-text.sh
64 Bit Version
wget https://gist.githubusercontent.com/dkd903/8ba3f51313c1781cc571/raw/f37b1c18547d086cd45e8b484efc518260106ea9/Install_Sublime_Text_3_64.sh -O install-sublime-text.sh
Step 2: Make the script executable
chmod +x install-sublime-text.sh
Step 3: Run the shell script to download and Install Sublime Text 3.
su -c "sh install-sublime-text.sh"
You can now launch the Sublime Text 3 from the menu or using the subl command. If you had installed Sublime Text 2 earlier using this, then it will have been over-written now with the latest version 3.