How to Install Sublime Text 3.0 Source Editor on CentOS 8

Sublime text 3.0 is a popular cross-platform, lightweight source code editor with an awesome work environment. It has many built-in multifunction features and Vim mode. This editor offers support for various plugins, code snippets, programming languages, APIs, and markup languages ​​such as Html, PHP, C, Java, C #, asp, Latex, and many others. Users can install new plugins and create their own settings to expand their functionality. The interface is so attractive that it looks like a vim editor. Sublime text has a built-in Python API available on Windows, Linux, and Mac OS.

The recently introduced version of Sublime text 3.0 has a new user interface (UI) with modern icons and color schemes. This software helps users work with Linux repositories and highlights the help syntax.

Features Sublime text 3.0

  • Provides DPI support.
  • An interactive interface with flexible support for those that consists of a good color scheme.
  • Added Linux repositories for apt, Pacman, and yum.
  • Added syntax highlighting.
  • When opening a new image, a modern preview of the image is added.
  • A preview tab has been added that allows you to view files from the sidebar.
  • A panel switch is added to the status bar.
  • It supports bug fixes.

Above, we discussed the various functions of a sublime text editor. Now in this article we will look at how to install and run the excellent text editor on CentOS 8.0 using the command line.

Remarks: To install an elevated text user, you must log in as an administrator, which means that you have all the administrator rights to install.

Install Sublime text 3.0 using terminal

To install a sublime text editor on CentOS 8.0, follow these steps. This guide will give you a complete guide on installing a sublime text editor for your desktop environment using a terminal.

Step 1: Import the GPG Key

First you log in as an administrator and open a terminal window. You need to import the GPG key for official text 3.0. Run the following command on the terminal:

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

You will enter the administrator password. This will allow you to install an excellent editor.

Enter password to import GPG key

Step 2. Add a YUM repository.

After importing the key. You will add the yum repository to the CentOS 8 Linux system. Run the following command on the terminal:

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

Add Sublime Text Yum Repository

Step 3: Install Sublime text editor 3.0

After running the above command, the yum repository was turned on. Now update dnf and run the following command to install Sublime text editor 3.0 on CentOS 8.0. This command is used for the new version of CentOS 8.0.

$ sudo dnf install sublime-text

Install Sublime Text 3 with dnf

After executing this command “$ sudo dnf install sublime-text” the text will be displayed on the terminal [y/N], Press y to continue the installation.

Installation completed

The Sublime text editor is now successfully installed on your CentOS 8.0 system.

For the old version, you can also enter the following command to install sublime text 3.0.

$ sudo yum install sublime-text

Launch Sublime Text Editor Using Terminal

To launch sublime text editor 3.0 using the terminal, run the following command on the terminal.

$ subl

Launch Sublime Text Editor

When you enter the above command, the following window will appear.

Editor is running

Launch Sublime Text Editor Using the Desktop

You can start using the desktop in CentOS 8.0. Go to the “Actions” section, which is located in the upper corner of the desktop. You will select “Show Applications” from the sidebar menu. All applications will be displayed. You will select “Sublime text” to open the editor window.

Activities -> Show applications -> Sublime Text

activity

Sublime Text Icon

Now you can enter any code here. Happy sublime editorial environment!

Remarks: Sublime text editor is a proprietary software application. Here you can download for free for small use, but you want to use it for a long time. You have purchased a license to run this application.

Sublime Text Editor

Output

In this article, we will learn how to install sublime text 3.0 on CentOS 8.0 using a terminal. We learned about the different uses and benefits of sublime text. Moreover, we see how to start the editor using the desktop and command line in CentOS 8.0. I hope this tutorial is very useful for you. Now you can easily install an excellent text editor on your system. In the next step, you can install Sublime packages. Now you can customize the editor controls to suit your needs.

How to Install Sublime Text 3.0 Source Editor on CentOS 8

Sidebar