Home Linux Code Editors How to Install and Use Sublime Text 4 in Linux

How to Install and Use Sublime Text 4 in Linux

If you are a developer or a developer in the making, then you are well aware that the developing world cannot be complete without a renowned source code editor.

Sublime Text 4 is a renowned candidate in the developer’s space. It is a fast and powerful editor for writing and editing developer code.

Python and C++ programming languages are responsible for the existence of this cross-platform editor, which makes it possible to code your projects in any language as it is freely available for download and installation.

Sublime Text Features

With Sublime Text 4 being the latest version released to the developer’s community, you will not be limited to prime features like selection of multiple code lines, syntax highlighting, quick shortcuts, and autocompletion.

As for Sublime Text 4 improved features, expect to explore:

  • Updated Python API (Currently 3.8)
  • A UI with New Tab Styles
  • Typescript and JSX Support
  • ARM64 Linux Support
  • Smart Autocompletion
  • Improved Syntax Highlighting
  • GPU Acceleration
  • Multi-tab Selection

Installing Sublime Text Editor in Linux

First, update your Linux system for optimal performance and security patches fixes.

$ sudo dnf update && sudo dnf upgrade -y          [On RHEL/CentOS/Fedora and Rocky Linux/AlmaLinux]  
$ sudo apt update && sudo apt upgrade -y          [On Debian, Ubuntu and Mint]
$ sudo zypper refresh && sudo zypper update -y    [On OpenSUSE] 
$ sudo pacman -Syu                                [On Arch Linux]

Next, download Sublime Text 4 from the official website or use the following wget command to download it directly in the terminal.

$ wget https://download.sublimetext.com/sublime_text_build_4126_x64.tar.xz

After downloading, decompress and install the Sublime Text 4 as shown.

$ tar xf sublime_text_build_4126_x64.tar.xz
$ cd sublime_text

The sublime_text directory already contains a complete build for the Sublime Text 4 editor making it unnecessary to compile anything. Therefore, we only need to run/launch the highlighted file to start exploring what Sublime Text 4 has to offer.

$ ./sublime_text

The above command should comfortably launch the Sublime Text 4 application.

Start Sublime Text Editor
Start Sublime Text Editor

Using Sublime Text 4 Code Editor on Linux

We are now going to explore various ways of familiarizing/using this sophisticated text editor for your projects’ code, markup, and prose. The usage of Sublime Text 4 basically depends on how you interact with its various UI menu tabs.

File Tab

This tab is useful for operations like creating, opening, saving, and closing your project files.

Sublime Text File Tab
Sublime Text File Tab

Edit Tab

Your various project edits can be done here.

Sublime Text Edit Tab
Sublime Text Edit Tab

Selection Tab

Here, you will learn various cool ways of expanding your project code.

Sublime Text Selection Tab
Sublime Text Selection Tab

Find Tab

Need to find a specific text or line of code in an open project file? This is the tab to use.

Sublime Text Find Tab
Sublime Text Find Tab

View Tab

This tab helps customize the UI of Sublime Text 4 to your preference.

Sublime Text View Tab
Sublime Text View Tab

GoTo Tab

Helps with quick navigation of long project files.

Sublime Text GoTo Tab
Sublime Text GoTo Tab

Tools Tab

From this tab, you can perform actions like building your complete code to run applications based on the source programming language.

Sublime Text Tools Tab
Sublime Text Tools Tab

Project Tab

Here, you can be able to open and navigate between existing projects.

Sublime Text Project Tab
Sublime Text Project Tab

Preferences Tab

This tab helps you apply various settings to your project layout.

Sublime Text Preferences Tab
Sublime Text Preferences Tab

Help Tab

If you are stuck or have challenges with Sublime Text 4, you can reference menu sections like Documentation from the Help Tab.

Sublime Text Help Tab
Sublime Text Help Tab

There is a lot to explore, do check the official documentation of Sublime Text 4.

Ravi Saive
I am an Experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies. Founder of TecMint.com, LinuxShellTips.com, and Fossmint.com. Over 150+ million people visited my websites.

Each tutorial at UbuntuMint is created by a team of experienced writers so that it meets our high-quality standards.

Was this article helpful? Please add a comment to show your appreciation and support.

Got something to say? Join the discussion.

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published or shared. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.