How to install the Sublime Text 3.0 source code editor on CentOS 8

s2 0

Sublime Text 3.0 is a popular, cross-platform, lightweight source code editor with an amazing working environment. It has many built-in multifunction and Vim mode functions. This editor provides support for various plugins, snippets, programming languages, APIs and markup languages ​​like html, php, c, java, c #, asp, latex and many others. Users can install new plugins and create custom settings to expand their functionality. The user interface is so attractive that it resembles the vim editor. Sublime Text has a built-in Python API available in Windows, Linux, and Mac OS.

The newly launched 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 syntax for help.

Features of Sublime Text 3.0

  • Provides support for DPI.
  • Interactive user interface with flexible theme support that consists of a good color scheme.
  • Linux repositories are added for apt, pacman, and yum.
  • Syntax highlighting added.
  • A modern image preview is added when a new image is opened.
  • A Preview tab is added, which can be used to view files from the sidebar.
  • A panel switcher is added to the status bar.
  • It supports bug fixes.

Above, we discussed the various functions of the sublime text editor. Now in this article we are going to explore how to install and launch a great text editor on CentOS 8.0 from the command line.

Note: In order to install Sublime Text, the user has to log in as an admin user, ie you have all administrator rights to carry out an installation.

Install Sublime Text 3.0 using the terminal

There are the following steps to install the Sublime text editor on CentOS 8.0. This tutorial gives you the complete guide to installing a sublime text editor for the desktop environment with the terminal.

Step 1: import the GPG key

First, log in as an admin user and open the terminal window. You need to import the GPG key for the official’s 3.0 raised text. Run the following command on the terminal:

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

You enter the password of the admin user. It enables you to install the sublime editor.

Step 2: add the YUM repository

After importing the key. You will be adding a Yum repository on 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 has been activated. 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 dnfadvertising

After running 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

Now the Sublime text editor has been 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

Start the Sublime text editor with the terminal

To start the Sublime Text Editor 3.0 with the terminal, run the following command on the terminal.

$ subl

Launch the great text editor

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

Editor started

Start the Sublime text editor with the desktop

You can start with the desktop in CentOS 8.0. Go to “Activities” located in the top corner of the desktop. You choose “Show Applications” from the sidebar menu. All applications are displayed. You choose Raised Text to open the editor window.

Activities -> Show Applications -> Raised Text

activities

Raised text symbol

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

Note: Sublime Text Editor is a proprietary software application. Here it can be downloaded for free for small use, but you want to use it long term. You have purchased a license to run this application.

Sublime text editor

diploma

This article will show you how to install Sublime Text 3.0 on CentOS 8.0 using the terminal. We learned about various uses and benefits of raised text. We also see how to start the editor with the desktop and the command line in CentOS 8.0. I hope this tutorial is so helpful to you. Now you can easily install a sublime text editor on your system. In the next step, you could install the sublime packages. Now you can customize the editor controls to suit your needs.

How to install the Sublime Text 3.0 source code editor on CentOS 8