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.
- 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.
- 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:
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:
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:
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:
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:
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.
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:
sudo apt remove sublime-text
For more information about this project, users can consult the project website.
with # sublimetext4 It is not necessary to copy the beginnings, a perfect time reducer # hacklat2