How to install Sublime Text 3 on Ubuntu and derivatives

Screenshot of Sublime Text 3

Screenshot of Sublime Text 3

In today's post I'm going to post as install Sublime Text 3 code and text editor on Ubuntu. It is a update from a colleague's post posted on this blog some time ago.

Sublime Text 3 for Ubuntu is a great editor for code (although not the only valid option) and text with a long life time. According to Wikipedia: “It is written in C ++ and its plugins are developed in Python. It was initially developed as an extension of Vim ”.

Its first release was in 2008 and since then it has not stopped improving, partly thanks to its plugins. With them you will be able to turn a great editor into a magnificent tool.

General characteristics Sublime Text 3

  • The editor Sublime Text allows for very rich syntax highlighting thus providing better performance when producing our codes.
  • Package control: with the package control function (Ctrl + Shift + P), functions can be installed for our editor like: how to sort, change the syntax and change the indentation settings of our code. In addition to a multitude of plugins for each of the needs that may arise during its use.
  • Responsive: the text generated with Sublime Text 3 is highly customizable. It provides us with bindings, menus, snippets, macros, etc. It should be noted that almost everything in Sublime Text 3 is customizable using JSON files.
  • Cross-platform: Sublime Text is available for OS X, Windows, and Linux. A license is all that is needed to use Sublime Text on every computer you own, regardless of the operating system on which it is used. If you do not have the license, a message will only be displayed from time to time to remind you that your editor is working without it.
  • Native support for many languages: This editor natively supports 43 programming languages and plain text. As if that were not enough, you can add more through its plugins.
  • Customizable User Interface Toolkit: Sublime Text uses a set of highly customizable user interface tools. This interface is optimized to be fast. Take advantage of the native functionality of each platform.
  • "Distraction-free" mode: The "Distraction-free" mode can be executed using the "View / Distraction free mode”When you need to focus exclusively on the code you are generating.
Microsoft Office Web Apps
Related article:
Office for Ubuntu

Other improvements in Sublime Text 3 compared to previous versions

  • They have added new C ++, JavaScript, and Rust syntax definitions with greater precision and performance. Plus many other syntax highlighting improvements.
  • Rendering performance on OSX has been improved. Especially on high resolution screens.
  • Spell checking behavior has improved.
  • Behavior during file indexing with multiple windows open has been improved.
  • Added a custom regex engine that matches multiple regexes in parallel. With this they have achieved that the loading and indexing of files is faster.
  • Improved Unicode support.
  • It incorporates many community-provided enhancements to previous packages, with significant enhancements to HTML, CSS, JavaScript, Go, D, and SQL.
  • Added Panel Switcher to the status bar.
  • Better handling of problematic files during indexing.
  • Improved file change detection.
  • Fixed high CPU usage caused by corrupted index. This happened to some users upgrading from 3065.
  • Added sidebar icons.
  • Loading indicators have been added to the sidebar.
  • The sidebar remembers which folders the user expands.
  • Automatic appointment syncing has also been improved.

These are just some of the improvements. You can check them all in their improvements and features in the documentation page.

Install Sublime Text 3

To install this editor we have two options. The first is to install it from the repository. For this you just have to open a console and first add the repository:

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

The next thing we will do is update our repositories with:

sudo apt-get update

And we end up installing the editor:

sudo apt-get install sublime-text-installer

The other installation option would be to download the .deb package that the folks at Sublime have created to make installation even easier. You can download it from the following page. Once downloaded we can install it from the Ubuntu software center or we can open a console and from the folder where we will save it, we will have to write something like:

sudo dpkg -i sublime-text-build_XXX.deb

Obviously, the name that I have just indicated will have to be replaced by the name of the file that we have saved. The system will tell us that it has finished. With this we finish the installation of Sublime Text 3 in Ubuntu. We can now search for it in the Dash.


Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Giovanni gapp said

    It is the best I use it, and the best thing is that you can have several tabs at the same time if you close it without saving the edits they are not lost, they remain in the cache.
    Only one detail lacks the function of comparing files but from there in more of the best tools.

    1.    Damian Amoedo said

      To compare files I use Sublimerge. Which you can install from the package installer.

  2.   Hector Gustavo Vallejo Espinosa said

    excellent thank you very much, I am new to this and I find the guide very nice

  3.   Jaime Cortes said

    Excellent. Thanks for the instructions.

  4.   Armando said

    Help is asking me for a license to be able to run the program, someone to help me

  5.   frankito said

    AT the time of adding the repository it throws me these messages:
    The repository "http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu bionic Release" does not have a Release file.
    You cannot update from a repository like this safely and therefore it is disabled by default.
    I can do?

    1.    Damien Amoedo said

      Hello. If you have problems with the repository indicated in the article, try the following commands:

      wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

      sudo apt-get install apt-transport-https

      echo "deb https://download.sublimetext.com/ apt / stable / »| sudo tee /etc/apt/sources.list.d/sublime-text.list

      sudo apt-get update && sudo apt-get install sublime-text

      Source. hello2.

  6.   chriscuasiane said

    thank you very much it worked for me correctly.

  7.   jean said

    I have tried it, it is interesting, but since it is not free, I prefer to use visual studio code.

  8.   Elena said

    Hi, it won't let me install it on Ubuntu 20. I have tried all the options you give in this thread, but I can't. The last thing it tells me after putting:
    sudo apt-get update && sudo apt-get install sublime-text
    is
    E: Unknown "" deb "type on line 1 of source list /etc/apt/sources.list.d/sublime-text.list
    E: The font lists could not be read.
    Can you help me?
    Thank you

    1.    Damien Amoedo said

      Hello. Test;
      wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

      sudo apt-get install apt-transport-https

      echo "deb https://download.sublimetext.com/ apt / stable / ”| sudo tee /etc/apt/sources.list.d/sublime-text.list

      sudo apt-get update && sudo apt-get install sublime-text

      Salu2.

  9.   Carlos said

    It is useless in version 20.04.