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:
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.
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
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.
worked like a charm on ubuntu 14, thanks so much it woz easy following the steps
Thanks. Very simple! =)
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!!
The PPA is correct. Make sure you are not behind proxy
If you are behind a proxy. Try this:
sudo -E add-apt-repository -y ppa:webupd8team/sublime-text-3
I’m still getting Cannot add PPA: ‘ppa:webupd8team/sublime-text-3’. even after adding -E. I’m using over proxy.
Devashish, Thanks! it helped me.
Yes, it works!! But, how can I remove from title console the “UNREGISTERED” word??
Thanks a lot!!
Greetings
Hi again!!
Do you know how to install Sublime Text to use with NCL from NCAR??
Thanks a lot for help me
Good luck!!
All work out ok.
Thanks a lot.
i use add-apt and it worked :)
Thanks for the commands. It perfectly worked for me.
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:
Thanks Ji M, it worked just fine on my Ubuntu 14.04 Server.
Good stuff!
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