Sublime Text 3.0 Released – How to Install it on Linux

Sublime Text is a most popular, lightweight and smart cross-platform text and source code editor with a Python API, that available for Linux, Windows and Mac OS X.

It is really an awesome application for programming and offers a wide range of file types with syntax highlighting for C, C++, C#, CSS, HTML, Java, JavaScript, PHP, Groovy, LaTeX and the list goes on.

The user interface is much similar to most the famous editor called “vim“.

Recently, a new version of Sublime 3.0 released with a new UI theme, new color schemes, and icon. Some of the other features are syntax highlighting improvements and apt/yum/pacman repositories for Linux.

Sublime Editor for Linux

Sublime Editor for Linux

Sublime Text 3.0 Features

  • Refreshed UI theme, including complete DPI support.
  • Added Adaptive theme support, that inherits colors from the color scheme.
  • Added repositories for apt, yum and pacman.
  • Significant improvements to syntax highlighting.
  • Added image preview, when opening new images.
  • Added a preview tab for previewing files from the sidebar.
  • Added Panel Switcher to the status bar.
  • And many more improvements and bug fixes.

Do check out all the changes here.

Important: You can download and use evaluated Sublime Text editor for free, but a license is required for continued use.

Install Sublime Editor in Linux Systems

As I said, the recent Sublime Text 3 includes packages and package repositories for most of the major Linux distributions for an auto-upgrade mechanism.

Install Sublime On Debian/Ubuntu

To install sublime on Debian and Ubuntu, run the following commands.

$ wget -qO - | sudo apt-key add -
$ sudo apt-get install apt-transport-https
$ echo "deb apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
$ sudo apt-get update
$ sudo apt-get install sublime-text

Install Sublime on CentOS/RHEL

To install sublime on CentOS, RHEL and older version of Fedora, run the following commands.

$ sudo rpm -v --import
$ sudo yum-config-manager --add-repo
$ sudo yum install sublime-text 

Install Sublime on Fedora

To install sublime on a newer version of Fedora distributions, run the following commands.

$ sudo rpm -v --import
$ sudo dnf config-manager --add-repo
$ sudo dnf install sublime-text

For other Linux distributions, installation instructions can be found at download page of the sublime editor.

Once sublime editor installed, you can launch it from the Linux terminal as shown.

$ sublime

That’s It! If you are using any other editor, please do tell us via the comment section.

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

31 Responses

  1. Bhumi says:

    Thank you so much ! It works !

  2. vasi says:

    I am on CentOs. I can follow only first 3 steps

    • Ravi Saive says:

      Which version of CentOs?

      • ramya says:

        I’m running a CentOS version 2.16.0.

        I get similar error as someone already posted:

        /usr/bin/sublime: /usr/lib/ version `GLIBCXX_3.4.11′ not found (required by /usr/bin/sublime)
        /usr/bin/sublime: /usr/lib/ version `GLIBCXX_3.4.9′ not found (required by /usr/bin/sublime)
        /usr/bin/sublime: /lib/ version `GLIBC_2.11′ not found (required by /usr/bin/sublime)

        Thanks for your help in advance!

  3. Jon Hyde says:

    Great article – the only one that I could successfully complete – many thanks :)

  4. Rhebie says:

    how to create shortcut icon of sublime to my panel? can you please help me thanks.

  5. Velunce says:

    Thank you ! It works !

  6. Justin says:

    I’m new to Linux. I’m getting this and I’m not sure what this means.

    Gtk-WARNING **: cannot open display:

  7. Geek says:

    bash-3.2# sublime
    sublime: /usr/lib64/ version `GLIBCXX_3.4.11′ not found (required by sublime)
    sublime: /usr/lib64/ version `GLIBCXX_3.4.9′ not found (required by sublime)
    sublime: /lib64/ version `GLIBC_2.11′ not found (required by sublime)

  8. Ehsan says:

    Thank you so much . It’s work very well

  9. Joseph says:

    $ sublime
    bash: /usr/bin/sublime: Permission denied
    $ sudo sublime
    [sudo] password for user:
    sudo: sublime: command not found

    I use Debian 7.2 and that’s what I got after I tried this. It showed I didn’t have permissions to it when I tried it at first. Then I tried with sudo and it failed showing ‘command not found’

  10. Sergiu Niculescu says:

    Too bad it’s not free …

Leave a Reply to Bhumi Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.