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 features. This editor offers 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 extend their functionality. The interface is so attractive that it is similar to vim editor. Sublime text has a built-in Python API available in Windows, Linux, and Mac OS.
The newly introduced version of Sublime text 3.0 has a new user interface (UI) with modern icons and color schemes. This software helps users to work with Linux repositories and highlights the syntax for help.
Above, we discussed the different features of the sublime text editor. Now, in this article, we will explore how to install and launch a sublime text editor on CentOS 8.0 using the command-line.
Note: To install sublime text user must be login as admin user means you have all administrative privileges to make an installation.
There are the following steps to install the sublime text editor on CentOS 8.0. This tutorial will give you the complete guide to install a sublime text editor for the desktop environment using the terminal.
First, you will log in as the admin user and Open the terminal window. You need to import the GPG key for the official’s sublime 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 password of the admin user. It will allow you to install the sublime editor.
After import the key. You will add a yum repository on 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
After running the above command yum repository has been enabled. Now, update dnf and will 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
After running this ‘$sudo dnf install sublime-text’ command, the text will be displayed on the terminal [y/N]. Press y to further proceed with the installation.
Now, the Sublime text editor has been successfully installed on your system CentOS 8.0.
For the old version, you can also type the following command to install sublime text 3.0.
$ sudo yum install sublime-text
To launch sublime text editor 3.0 using terminal run the following command on terminal.
$ subl
When you will enter the above command following window will display.
You can launch using the desktop in CentOS 8.0. Go to “Activities” which is at the top corner of the desktop. You will select “Show applications” form the sidebar menu. All applications will be displayed. You will select “Sublime text” to open the editor window.
Activities -> Show Applications -> Sublime Text
Now, you can type any code here. Happy sublime editor environment!
Note: Sublime text editor is a proprietary software application. Here, It can be download free for small use but, you want to use it for the long term. You purchased a license to run this application.
In this article, we discover how to install sublime text 3.0 on CentOS 8.0 using the terminal. We have learned about various usage and benefits of sublime text. More, we see how to launch editor by using desktop and command line in CentOS 8.0. I hope this tutorial is so helpful to you. Now, you can install a sublime text editor on your system easily without any problem. In the next step, you could install the Sublime packages. Now, you can customize editor controls according to your needs.
Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…
ISPConfig is an open-source control panel that allows users to manage multiple servers from a…
As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…
Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…
Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…
phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…