Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Linux » How to install Sublime Text 4 on Ubuntu
  • Upgrade the embedded PostgreSQL for Veeam Backup and replication
    How to upgrade PostgreSQL Engine used by VBR Backup
  • wmic4
    How to find User Security Identifier (SID) in Windows [Part 1] Windows
  • Permission1
    How to create a Shortcut That enables Standard Users to run Applications as Administrator Windows
  • Database Collation
    Change SQL Database Collation: ePO events DB and SQL server should match with ePO core collation Oracle/MSSQL/MySQL
  • screenshot 2020 02 08 at 15.53.31
    Auto Logon Error “Username and password specified is not valid” Windows
  • tmgexchange2013owachangepasswordform
    How to change your password in Outlook Web Access Network | Monitoring
  • How to Enable or Disable Inherited Permissions for Files and Folders in Windows
    How to Enable or Disable Inherited Permissions for Files and Folders in Windows Windows
  • http trace fiddler
    How to Disable HTTP TRACE Method for Apache, IIS, sunOne, and Lotus Domino Web Server

How to install Sublime Text 4 on Ubuntu

Posted on 22/11/202125/03/2024 Raphael Gab-Momoh By Raphael Gab-Momoh No Comments on How to install Sublime Text 4 on Ubuntu
feature-image-sublime-text-4

Sublime Text is a source code editor that is cross-platform in nature. Hence, it comes equipped and supports a handful of programming and markup languages. Plugins, which are often community-built and administered under free-software licenses enable users to augment the functionality of the system. Please see Shell Scripting: How to Automate a Process in Linux, How to get Windows PC specific Model information, and How to Install and Uninstall Yarn on Ubuntu Linux.

Additionally, Sublime Text has a Python API to assist with plugins. If you’re an Ubuntu user looking to install Sublime Text 4 on your system, you’re in the right place. Let’s walk you through the installation process.

Please find other guides from here: Practical use of SELinux in production: How to locate directory file context and restore it with SELinux, and What are the differences between dnf and apt package managers?

Reasons to Install Sublime Text 4 on Ubuntu

Here are some amazing reasons why you should use Sublime Text 4

Sublime text 4 has some amazing new features that are not in the previous editions and some of them are:

GPU rendering: Sublime text can now use your GPU to render the UI on Linux, Mac, and Windows. What’s more, this allows for a smooth user interface up to 8K resolutions while utilizing less power than previously.

Tab multi-select: UI and built-in functions help upgrade file tabs to make split views simple. Furthermore, to make code navigation even easier and more intuitive, these functions improved the sidebar, tab bar, Goto Anything, Goto Definition, auto complete, and other features.

Refreshed UI: The Default and Adaptive themes encompass new tab styles and passive pane dimming. Themes and color schemes also supports Auto dark-mode switching. Besides, custom title bars are now available in the Adaptive theme for Windows and Linux.

Superpowered Syntax Definitions: The syntax highlighting engine became significantly improved with new capabilities such as supporting non-deterministic grammars, multi-line constructions, lazy embeds, and syntactic inheritance. In addition, the amount of memory became lowered, and load times are now quicker than they have ever been.

Other Features of Sublime Text

Apple Silicon and Linux ARM64: Sublime Text on Mac now supports Apple Silicon Processors. Moreover, for devices like the Raspberry Pi, Linux ARM64 versions are also available.

Context-Aware Auto Complete: The autocomplete engine undergoes modification to provide smart completions based on a project’s current code. Furthermore, suggestions are also accompanied with information about their category and links to definitions.

Typescript, JSX and TSX Support:Sublime Text now includes one of the most popular new programming languages as standard. Thus, within the contemporary JavaScript environment, use all of Sublime Text’s clever syntax-based capabilities.

Updated Python API: The Sublime Text API upgrades to Python 3.8 while maintaining backwards compatibility with Sublime Text 3 packages. In addition, the API improves, with new capabilities that make plugins like LSP operate even better.

Installing Sublime Text 4 on Ubuntu

In this guide, I will walk you through how to install sublime text 4 on Ubuntu

Installation

Process 1: Retrieve GPG Key and install it. Start by adding the Sublime Text GPG key to your terminal.

$ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
How to install Sublime Text 4 on Ubuntu-GPG-keys

Simply type your sudo password and hit Enter when asked.

Possible error messages & how to troubleshoot

gpg: no valid OpenPGP data found. In case you get this in the process of installation, this error means that the file you tried to decrypt/verify was not valid OpenPGP data. I ran three commands below that helped me move forward

  • apt install -y ca-certificates.
  • apt update
  • apt upgrade

The error messages disappeared after running the commands above as I was prompted for my root password to proceed with the task

Process 2:

Ensure apt is set up to work with https sources: Install the apt-transport-https package after adding the GPG key. This guarantees that Sublime Text’s metadata and packages may be accessed safely through the HTTPS protocol.

$sudo apt-get install apt-transport-https

Possible error message & solution

apt-transport-https is already the newest version (1.6.14).
apt-transport-https set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.

Select the stable channel instead of the dev one and add it

$ echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
How to install Sublime Text 4 on Ubuntu-stage-2

Process 3

Update apt sources and install Sublime Text

$sudo apt-get update
$sudo apt-get install sublime-text
How to install Sublime Text 4 on Ubuntu-sublime

Next thing to do is to click the application manager

application-manager
Application manager

And finally, search for Sublime Text in the application manager

sub2
Application manager search

Summary

Sublime Text 4 is worth installing with the impressive new features that it has. We can do that by retrieving GPG Key and installing it. In addition, we ensured apt is set up to work with HTTPS sources. Finally, we updated apt sources and installed Sublime Text. Congratulations! Now you can install Sublime Text 4 on Ubuntu.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Linux

Post navigation

Previous Post: Docker Engine Installation on Ubuntu
Next Post: Linux Boot Process Explained Step by Step for Beginners

Related Posts

  • Edge
    Install Microsoft Edge Browser on Ubuntu Linux Linux
  • SUBVERSION FEATURE
    How to Install Apache Subversion on a Linux System Linux
  • redisf
    How to install Redis on Linux System Linux
  • ERRORFEATURE
    Fix 404 Not Found Repository Errors in Ubuntu/Debian distribution Linux
  • APACHECASS FEATURE
    How to Install and Configure Apache Cassandra on Linux Server Linux
  • sdfdghjk
    How to fix “Job for Mattermost service failed” error Linux

More Related Articles

Edge Install Microsoft Edge Browser on Ubuntu Linux Linux
SUBVERSION FEATURE How to Install Apache Subversion on a Linux System Linux
redisf How to install Redis on Linux System Linux
ERRORFEATURE Fix 404 Not Found Repository Errors in Ubuntu/Debian distribution Linux
APACHECASS FEATURE How to Install and Configure Apache Cassandra on Linux Server Linux
sdfdghjk How to fix “Job for Mattermost service failed” error Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Upgrade the embedded PostgreSQL for Veeam Backup and replication
    How to upgrade PostgreSQL Engine used by VBR Backup
  • wmic4
    How to find User Security Identifier (SID) in Windows [Part 1] Windows
  • Permission1
    How to create a Shortcut That enables Standard Users to run Applications as Administrator Windows
  • Database Collation
    Change SQL Database Collation: ePO events DB and SQL server should match with ePO core collation Oracle/MSSQL/MySQL
  • screenshot 2020 02 08 at 15.53.31
    Auto Logon Error “Username and password specified is not valid” Windows
  • tmgexchange2013owachangepasswordform
    How to change your password in Outlook Web Access Network | Monitoring
  • How to Enable or Disable Inherited Permissions for Files and Folders in Windows
    How to Enable or Disable Inherited Permissions for Files and Folders in Windows Windows
  • http trace fiddler
    How to Disable HTTP TRACE Method for Apache, IIS, sunOne, and Lotus Domino Web Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.