How to Install Sublime Text 3 in Ubuntu 14.04 Trusty

December 24, 2013

install sublime text 3 ubuntu 14.04

This simple tutorial shows you how to install the Sublime Text 3 in Ubuntu 14.04 Trusty LTS via PPA repository.

Sublime Text is a popular text and source code editor somewhat similar to TextMate, available for Windows, Linux, Mac OS X.

The Sublime Text 3 is currently in beta. Webupd8 Team has made an installer script into PPA which automatically downloads the Sublime Text 3 archive from its website and installs it on Ubuntu. The PPA does not host any Sublime Text 3 files.

Install sublime text 3 in ubuntu 14.04

Install Sublime Text 3:

To get started, press Ctrl+Alt+T on your keyboard to open a terminal window. When it opens, copy and paste below command into terminal and hit enter:

sudo add-apt-repository -y ppa:webupd8team/sublime-text-3

Type in your password when prompts and then you’ll get this PPA (Personal Package Archive) into your system.

NOTE: you’ll see nothing when typing passwords in Linux terminal, just type in mind and hit enter to get pass.

install sublime text 3 ubuntu 14.04

After added the PPA, run commands to install the script:

sudo apt-get update; sudo apt-get install -y sublime-text-installer

Once installed, open the editor from Unity Dash or Menu.

To disable new version notifications, add the following to your User Preferences file (Preferences > Settings – User):

“update_check”: false


I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

18 responses to How to Install Sublime Text 3 in Ubuntu 14.04 Trusty

  1. Note that the first command:

    sudo add-apt-repository -y ppa:webupd8team/sublime-text-3

    really should be:

    sudo apt-add-repository -y ppa:webupd8team/sublime-text-3

    (“add” and “apt” are reversed, there is no “add-apt-repository” command.)

    This typo has been propagated around the WWW on various pages. ;-)

    • Thanks @Lorin, but both commands now do the job in Ubuntu.

    • The first code did not work for me. i now tried again using the correction you gave here and it worked smoothly. I think its important this is just corrected at once for users so that they learn the right one once. Thanks Ji and Lorin

    • Both versions do indeed work just fine.

  2. Blessings mwafulirwa July 9, 2014 at 3:30 pm

    worked like a charm on ubuntu 14, thanks so much it woz easy following the steps

  3. Thanks. Very simple! =)

  4. I tried both ways – what if I get this error

    Cannot add PPA: ‘ppa:webupd8team/sublime-text-3’.
    Please check that the PPA name or format is correct.

    Appreciate any help!!

  5. Devashish, Thanks! it helped me.

  6. Yes, it works!! But, how can I remove from title console the “UNREGISTERED” word??

    Thanks a lot!!


  7. Hi again!!

    Do you know how to install Sublime Text to use with NCL from NCAR??

    Thanks a lot for help me

    Good luck!!

  8. All work out ok.
    Thanks a lot.

    i use add-apt and it worked :)

  9. Thanks for the commands. It perfectly worked for me.

  10. when after I type my password it shows me a reply that says:

    r is not in the sudoers file. This incident will be reported.

    How can I fix it? D:

  11. Thanks Ji M, it worked just fine on my Ubuntu 14.04 Server.
    Good stuff!

  12. Hi
    I am unable to install the sublime. I got below error while running the command
    “sudo apt-get update; sudo apt-get install -y sublime-text-installer”

    Error-unable to locate the package sublime-test-installer

    Please help to run the command