[How-To] Install Sublime Text 2 on Fedora

In this post we’ll see how can we install Sublime Text 2 on Fedora, because there’s no installer for Linux versions of Sublime Text.

Step 1:

Download the tar file (from here) that suits you, extract and move it to /opt/:

# tar -xf Sublime\ Text\ 2.0.1\ x64.tar.bz2 -C /opt/
# mv /opt/Sublime\ Text\ 2/ /opt/Sublime_Text

Step 2:

Create a symbolic link to allow you to call Sublime Text from the Terminal

# ln -s /opt/Sublime_Text/sublime_text /usr/bin/sublime_text

Step 3:

Create a launcher (.desktop file)

# cat /usr/share/applications/sublime_text.desktop
[Desktop Entry]
Name=Sublime Text 2
GenericName=Sublime Text 2  # For KDE 4
Comment=Sublime Text 2

Step 4:

Make Sublime Text 2 as the default application to open all text files, by modifying defaults.list and replacing gedit.desktop with sublime_text.desktop

# sublime_text /usr/share/applications/defaults.list

Enjoy !


Tagged: , , , ,

2 thoughts on “[How-To] Install Sublime Text 2 on Fedora

  1. Josh May 6, 2013 at 4:01 am Reply

    Thanks man best tutorial i found

  2. Yura July 15, 2013 at 12:16 pm Reply

    Thanx its very helpfull

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 )

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

%d bloggers like this: