Sublime text is a code editor, and I use it primarily to edit Python. Here is a simple description of the Linux installation process it!
1. Add a sublime Text3 warehouse
First press the shortcut key ctrl+alt+t open the terminal;
In terminal input:sudo add-apt-repository ppa:webupd8team/sublime-text-3
Press ENTER after a lot of information will appear, according to the prompt, press ENTER to continue
2. Update the SOFTWARE library:
Then in terminal input:sudo apt-get update
3. The final step is to install sublime TEXT3
Also in terminal input:sudo apt-get install Sublime-text-installer
After the installation is complete, you can search for sublime in your computer's folder and you will see the sublime_text you installed.
The general path is/opt/sublime_text/sublime_text
You can open it directly by double-clicking.
However, if we want to use it more conveniently, we need to put it into our launcher, how to join the launcher, and then do a brief introduction:
Put the sublime text shortcut into the initiator
1. In terminal input:cd/usr/share/applications/
Switch to/usr/share/applications/under this directory
2. Create a desktop Entry sublime text
Then in terminal input:sudo gedit sublime-text.desktop
3. After entering the text editor, enter the following information (depending on your situation to make the appropriate changes):
Icon is the path where the icons are located, and exec is the path to Sublime_text, just fill in the Click to save.
This will be OK, if you want to change the color of the icon can be followed by the previous method to edit the path is good.
Install sublime Text3 under Linux and put its shortcuts in the launcher