This article will discuss the installation of Sublime Text 4 on CentOS 8 / RHEL 8 workstation. Sublime Text is a cross-platform source code editor designed with simplicity and speed in mind. It has native support for many programming languages and markup languages.

You can unlock more features on Sublime Text 4 on RHEL 8 / CentOS 8 using thousands of plugins available for installation. This tutorial assumes you have a CentOS/RHEL 8 system installed with a Desktop Environment.

Step 1: Import GPG key

Start by importing Sublime Text 4 GPG key:

sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

After the import, add the stable channel repository to RHEL / CentOS 8.

sudo wget -P /etc/yum.repos.d/ https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo

For Dev channel, use the command:

sudo wget -P /etc/yum.repos.d/ https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo

Step 2: Install Sublime Text 4

Finally update dnf and install Sublime Text on CentOS 8 / RHEL 8.

sudo dnf install sublime-text

Accept installation process to start when asked so:

...
Transaction Summary
==================================================================================================================================================================
Install  1 Package

Total download size: 20 M
Installed size: 47 M
Is this ok [y/N]: y

Querying installed package details:

$ rpm -qi sublime-text
Name        : sublime-text
Version     : 4169
Release     : 1
Architecture: x86_64
Install Date: Sun 26 Nov 2023 09:00:00 PM UTC
Group       : Applications/Editors
Size        : 50513890
License     : Proprietary
Signature   : RSA/SHA256, Thu 23 Nov 2023 10:04:29 PM UTC, Key ID ca464a9a222d23d0
Source RPM  : sublime-text-4169-1.src.rpm
Build Date  : Thu 23 Nov 2023 10:04:20 PM UTC
Build Host  : download.sublimetext.com
...

Step 3: Launch Sublime Text 4

The installation part is done, the application is started using a command line interface or from the Desktop environment applications launch section.

$ subl

Your installation of Sublime Text 3 on CentOS 8 / RHEL 8 has been successful. Have a happy coding time!!.

install sublime text rhel centos8

You can begin installing plugins that are required for your Development journey at any time.

LEAVE A REPLY

Please enter your comment!
Please enter your name here