Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Tech News
  • Contact
  • Toggle search form

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
  1. Home
  2. Linux
  3. 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

  • APACHECASS FEATURE
    How to Install and Configure Apache Cassandra on Linux Server Linux
  • Slide2 1
    SU Authentication Fix: Sudo Permission Denied in Ubuntu Linux
  • Webp.net resizeimage 1
    Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
  • 517443 637084112713220326 16x9 1
    How can I tell if a password is set for a user account on Linux Linux
  • speedtest
    How to set up a self-hosted speed test server on Ubuntu Linux Linux
  • whois4578uh
    How to get Domain information using WHOIS Command in Linux Linux

More Related Articles

APACHECASS FEATURE How to Install and Configure Apache Cassandra on Linux Server Linux
Slide2 1 SU Authentication Fix: Sudo Permission Denied in Ubuntu Linux
Webp.net resizeimage 1 Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
517443 637084112713220326 16x9 1 How can I tell if a password is set for a user account on Linux Linux
speedtest How to set up a self-hosted speed test server on Ubuntu Linux Linux
whois4578uh How to get Domain information using WHOIS Command in Linux 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

Veeam Vanguard

  • Capture 37
    How to Configure Network Load Balancing on Windows Server Backup
  • smart
    Application in bin: You can not open this application Mac
  • Create an S3 Bucket
    Backup Repository: How to Create Amazon S3 buckets AWS/Azure/OpenShift
  • Uninstall MicrosoftDefenderUpdate
    What you need to know about Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment
  • blog banner 1
    Reset and reinstall Windows 10 from the cloud and how to recover your Windows 10 when you cannot boot to Windows Windows
  • Fix Boot Failed UEFI SCSI Device on HyperV
    How to Fix Boot Failed UEFI SCSI Device on HyperV Virtualization
  • Norton360
    Download and install Norton 360 Anti-Virus on your Mac device Mac
  • dfefeq
    Error 740: Elevated permissions are required to run DISM Windows 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,779 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

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.