A Text Editor is a lightweight, minimal program that you can add and extend capabilities like syntax highlighting, and text formatting to it for more functionality. It is excellent for people that are getting into code as they provide flexible interfaces, powerful search, navigation tools, and most importantly free-to-use. Examples of Text editors include Sublime Text, Atom, Notepad++, VS code, etc.

IDE stands for Integrated Development Environment which encompasses compiler and debugger tools. Other features that come with IDE include easy navigation, code auto-completion, hierarchy diagrams, etc. It is good for advanced programmers. Examples of IDEs include Apple’s Xcode, Microsoft Visual Studio, and Eclipse.

Sublime Text

Sublime Text Editor is a cross-platform, lightweight text editor for code, markup, and prose that automates repetitive tasks so you can focus on the important stuff. It aims to provide basic functional features but if desired, can be configured to a full-fledged IDE. Sublime text is versatile with support from a wide range of community-developed third-party packages that provide syntax highlighting, snippets, or other automation backed by Python plugins.

Features of Sublime Text

The latest version is Sublime text 4 which is packed with new features and enhancements including;

  • Improved Syntax Highlighting Engine which includes features like handling non-deterministic grammars, multi-line constructs, lazy embeds, and syntax inheritance. These also reduce memory usage and fast load times.
  • Utilize GPU when rendering interface resulting in a fluid User Interface to up to 8K resolution and still uses less power.
  • Tab Multi-select functionality enables you to effortlessly split panes and navigate between code with the sidebar and tab bar making the interface more intuitive.
  • New tab styles and inactive pane dimming with support for auto dark mode switching and custom title bars.
  • Rewritten Auto-complete Engine to provide smart completions based on existing code in a project.
  • Update Python API to 3.8 and significantly expanded to provide improvements on the language, better performance, and continued support and bug fixes from the Python Software Foundation.

This guide will show you how to install Sublime Text 4 on CentOS Stream 9 / AlmaLinux 9.

Install Sublime Text 4 on CentOS Stream 9 / AlmaLinux 9

We will install Sublime text from the official Linux Package Manager Repository.

Import the official GPG key for Sublime Text.

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

Add repo for the stable channel of the software.

sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo

Update your system packages.

sudo dnf update -y

Then install sublime text with the following command:

sudo dnf install sublime-text

You can check the version of Sublime Text using the following command.

$ subl --version
Sublime Text Build 4126

Launch the Program from the terminal with the following command:


Or from the Application Launcher.

Configure Sublime Text on CentOS 9|AlmaLinux 9

The application will open as shown below.

You can open the console using ctrl+` or going to View>>Show Console

The console opens at the bottom part of the interface.

You can check the version installed using the following command.


The version displayed is shown below.

Create a sample program

Let us create a sample Python File to test the editor. Click on File then New File. You can save the file with Ctrl+S and name it to say, hello.py.

Append a simple code like the one below

print("Hello From Texhnixleo! Hope you are having a Wonderful Day.")

Then run the program with Ctrl+B or go to Tools>>Build.

This displays the output as shown below.

The sublime text also offers autocompletion features for a lot of options including previous words from the current file as shown below. The Print command shows immediately when I type p on the third line.

When you run a program that has an error, Sublime text displays the line that has the error to let you countercheck.

Then after fixing the error, you can then run it successfully, and the output displays as shown below.

Customize Themes

You can change the color scheme of the present interfaces. Go to Preferences >> Set Color Scheme

Select one from the list. Say I select Monokai.

The interface color changes automatically as shown below.

You can further customize the color scheme to fit your identity. I will use a sample Sublime color scheme to show the difference. Go to Preferences >> Customize Color Scheme. The window opens as shown below.

On the right side tab is where you perform the customizations. Copy the following code.

    "name": "Example Color Scheme",
        "background": "rgb(34, 34, 34)",
        "foreground": "#EEEEEE",
        "caret": "white"
            "name": "Comment",
            "scope": "comment",
            "foreground": "#888888"
            "name": "String",
            "scope": "string",
            "foreground": "hsl(136, 100%, 53%)",
            "name": "Number",
            "scope": "constant.numeric",
            "foreground": "#7F00FF",
            "font_style": "italic",

Save the file with Ctrl+S which automatically applies the changes shown below.

Going back to the interface:

Install Plugins for Sublime Text 4

Plugins in Sublime text are Python scripts with a .py extension stored at the root of a Package to be identified as a plugin. It is recommended that all plugins should live inside a folder of their own and not directly under Packages to spare confusion.

The most popular way to install Plugins is by use of a Package Control. You can install it by going to Command Pallete or using Ctrl+Shift+P and typing package control. Click on Install Package Control.

The Package control is installed successfully by receiving a prompt as shown below.

Now go to the command pallet again and type package control and select Package Control: Install Package

The following options are shown. You can find a list of packages that can be installed with Package Control from Browse Package Control.

Let us say I want to install a Package called Sidebar Enhancements. I will search for it from the list and click on it.

Give it a second then restart your Sublime-text Editor. It will be shown as follows. It shows the opened files which at the moment I have not opened.

Uninstalling Sublime Text from CentOS 9|AlmaLinux 9

To remove Sublime Text from your system, run the following command. You will remove the repository followed by the package itself.

cd /etc/yum.repos.d/
sudo rm -rf sublime-text.repo
sudo dnf remove sublime-text


This guide has shown you how to Install Sublime Text 4 on CentOS Stream 9 / AlmaLinux 9. The sublime text editor is popular across major platforms like Windows, macOS, and Linux. The support from a large development community enables it to have extensive features that provide basic functionalities for coding for a beginner and also can be configured to full-fledged IDE for advanced programmers.

More guides:


Please enter your comment!
Please enter your name here