Sublime Text 4, how to install it through the official repository in Ubuntu

about sublime text 4

In the next article we are going to take a look at how we can install Sublime Text 4 on our Ubuntu system. We can do this through the official apt repository. This is the first stable version of Sublime Text 4, and its developers have worked to offer improvements, without losing the focus that makes Sublime Text be an excellent editor.

This program is a full text editor that is especially attractive to programmers. Among the improvements of this new version, you can find some new important features that have been added in the hope of significantly improving workflow. Plus a good number of minor improvements across the board.

General characteristics of Sublime Text 4

  • We will have the multiple selection of tabs. Sublime Text 4 (Build 4107) presents multiple selection tabs, in which we will only have to hold down the key Ctrl (o Shift) and then select another file, so that it opens in a new tab, and we will see them side by side.

split screen

  • The sidebar, tab bar, Go To, Autocomplete and more have been modified so that code navigation easier and more intuitive than ever.
  • Context-sensitive autocomplete. The autocomplete engine has been rewritten to provide smart completions, based on existing code in a project. The tips are also expanded with information about their type and provide links to definitions.
  • ARM64 support for Gnu / Linux and macOS.
  • UI updated. Themes have been updated with new tab styles and inactive panel dimming. Themes and color schemes support automatic switching from dark mode.
  • Python 3.8 support for add-ons.

package control

  • Built-in TypeScript, JSX, and TSX support. Support for one of the most popular new programming languages ​​is now available by default. We will be able to use all the smart syntax-based functions of Sublime Text within the JavaScript ecosystem.
  • Sublime Text now you can use the GPU on Gnu / Linux, Mac and Windows when rendering the interface. This results in a smooth user interface up to 8K resolutions, all while using less power than before.
  • Wayland Support for Gnu / Linux.
  • Sublime Text 4 is fully compatible with version 3. You can use our session and settings automatically, if that's what we want.

These are just some of the features in this version of Sublime Text. They can consult all of them in detail in the release note.

Install Sublime Text 4 on Ubuntu

Installing this version of Sublime Text requires the same steps that were used to install previous versions. To start we will need to open a terminal (Ctrl + Alt + T) and we will download and install the GPG key running the command:

add key gpg sublime text 4

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

It will also be necessary make sure https is installed in our team:

install apt transport https

sudo apt install apt-transport-https

The next step will be add the official Sublime Text repository. To do this, we will use this other command in the same terminal:

add sublime text 4 repo

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

At this point, it will be necessary update the cache of available packages from the repositories:

sudo apt update

Once the update is finished, it only remains write install command:

install sublime text 4

sudo apt install sublime-text

When installing this editor via repository, we will receive future updates at the same time we receive system updates through the Update Manager. To start the program we will only have to look for the launcher that we will find on our computer:

sublime text launcher 4

uninstall

To remove the repository used for the installation, we can start Software and updates and go to the tab Other software. From there you can remove the line from the repository.

remove repo

In addition, we will have another option from the terminal (Ctrl + Alt + T) to delete the repository using the command:

sudo rm /etc/apt/sources.list.d/sublime-text.list

Now for remove Sublime Text 4 editor, we will only need to execute in the same terminal:

uninstall program

sudo apt remove sublime-text

For more information about this project, users can consult the project website.


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.   # hacklat2 said

    with # sublimetext4 It is not necessary to copy the beginnings, a perfect time reducer # hacklat2