How to Install and Use Sublime Text Editor in Linux – Guide
Sublime Text is a cross-platform proprietary text editor available for Linux, Windows and macOS. It has often been called the best code editor for a long time. Sublime Text faces stiff competition due to new modern code editors like Atom and Visual Studio Code. Despite this, Sublime Text still has a decent user base on Linux.
Installing Sublime Editor on Linux Systems
If you’re using a Mac, you can install Sublime Text 3 by downloading the app from the App Store and following the installation instructions. If you’re using Windows, you can download and install Sublime Text 3 from the Sublime Text website. Sublime Text Editor is a cross-platform text editor that is available on Linux, Windows and Mac systems. To install it on different versions of Linux, see the instructions below. ..
Install Sublime on Debian/Ubuntu
Install Sublime on CentOS/RHEL
Install Sublime on Fedora
sublime text editor - defaults to linux mint 19.3
Install Package Manager for Sublime Editor
If you’re looking for a powerful text editor, I recommend Sublime Text. It’s not provided with all the features you might need, but it’s a great choice for basic web development, backend development, and scripting.
To install packages, we first need to install “PACKAGE CONTROL”. This tool will manage package management for sublime. To do this, we need to use the “CTRL + SHIFT + P” command. Type “Install Package Control” and press ENTER.
You can now start installing packages, listing packages, removing or disabling, etc. by pressing CTRL+SHIFT+P.
Install packages in Sublime
To install any package press “CTRL + SHIFT + P” → COMMAND PALLET → “install package” → “Package name”. Below is the list of packages that we are going to install and see how to configure package properties.
Sidebar enhancement
This package gives you more options for handling files and folders. After installing Sublime, you can go to “SIDEBAR” → RIGHT CLICK → OPTIONS WILL BE DISPLAYED. Then you can install “SideBarEnhancements” and see the difference. To install SideBar Enhancements – COMMAND PALLET [ CTRL + SHIFT + P ] → INSTALL PACKAGE → SIDE REINFORCEMENT
themes
Sublime gives you the ability to change the color scheme and syntax. The color scheme will set the syntax colors for our code, while the theme will change the appearance of the UI. I’m using the “PREDAWN” theme. You can choose what you think is best. To install a theme – COMMAND PALLET [ CTRL + SHIFT + P ] → INSTALL PACKAGE → PREDWAN.
file icon
This pack adds beautiful icons to your files and folders in the sidebar. There are a few options you can choose from. I’m using “A FILE ICON”. To install the file icon – COMMAND PALLET [ CTRL + SHIFT + P ] → INSTALL PACKAGE → A FILE ICON.
sFTP
SFTP is a package that allows you to sync your projects/code (folders) on remote servers. This is very useful in many cases like when your production servers are running in the cloud and your development machine is local where you can sync your code with remote servers easily.
To install SFTP on your computer:
- Open a command prompt (Windows) or terminal (MacOS and Linux).
- Type “SFTP” and press Enter.
- Type “INSTALL PACKAGE” and press Enter.
- Type “SFTP” and press Enter again to get to the SFTP configuration screen.
- Type “FOLDER NAME” and press Enter to find the folder you want to sync with SFTP.
- Type “sftp-config.json” and press Enter to create the file in that folder if it doesn’t already exist. ..
This SFTP settings file contains information about the user and hostname, as well as the remote path to be used for uploading files. You can also enable options like “upload_on_save” which will sync your changes immediately when you save your local copy.
Right-click on the SFTP-CONFIG.JSON file and select “SFTP” from the context menu. Then click on the “Map to Remote” button to connect to your remote server.
Terminal
Terminus is a cross-platform terminal for Sublime Text. To install Terminus, type the following command in the Command Palette: COMMAND PALLET [ CTRL + SHIFT + P ] → INSTALL PACKAGE → TERMINUS ..
- Download the Terminus app and start tracking your food intake and exercise habits.
- Use the Terminus website to input your weight, height, and other personal information to get started. ..
To control the panes of a screen, use the CTRL+SHIFT+P keys. To toggle the panels, use the CTRL+SHIFT+E keys.
Sync Settings
This package allows you to sync your packages and settings across multiple devices. It uses Github-Gist, providing a reliable and secure way to store your backups. To install SYNC settings, type COMMAND PALLET [ CTRL + SHIFT + P ] → INSTALL PACKAGE → SYNC SETTINGS. ..
square bracket marker
The Bracket Highlighter package comes with a variety of brackets and even custom brackets that can be customized in colors, different bracket styles, and highlighting mode. To install Bracket Highlighter, type “command palette” into the search bar on your computer’s keyboard, and then click on the “install package” button. ..
Package Control is a software application that allows users to manage and control the installation of software. It is used by developers to create and manage their applications, as well as by end-users to install and manage software. Package Control can be used for a variety of purposes, including installing software, managing software installations, and creating an installer.
sublime shortcuts
There are two ways to customize your keyboard shortcuts: by creating a custom keymap file or by using the COMMAND PALLET [ CTRL + SHIFT + P ] → PREFERENCES: MAIN LINKS command. The COMMAND PALLET [ CTRL + SHIFT + P ] → PREFERENCES: MAIN LINKS command lets you put custom key combinations in the “DEFAULT KEYMAP FILE”. This file can be found in the “~/.config/autostart/completion-x11” directory.
Final note
If you’re looking for a great editor for Linux, then you should definitely check out Sublime Text. This editor is perfect for creating and editing code, and it’s also very easy to use. If you have any questions about this guide or if you just want to share your love of Sublime Text with the world, feel free to let us know!