Fedora installation sublime text tutorial, fedorasublime
Download
Http://pan.baidu.com/s/1eRkEegM
Extract
Switch to the directory of the downloaded file in the terminal and execute the following command:
Sudo tar-jxvf sublime_text_3_build_3083_x64.tar.bz2
Sudo mkdir/opt/sublime_text_3
Sudo mv./sublime_text_3/*/opt/sublime_text_3
Create an executable file
Sudo touch/usr/bin/sublime
Sudo vim/usr/bin/sublime
Sudo chmod 755/usr/bin/sublime
Copy the following code to the sublime file:
#! /Bin/sh
Export SUBLIME_HOME = "/opt/sublime_text_3"
$ SUBLIME_HOME/sublime_text $ *
Create a desktop Startup Mode and set icons
Sudo touch/usr/share/applications/sublime. desktop
Sudo vim/usr/share/applications/sublime. desktop
Copy the following code:
[Desktop Entry]
Encoding = UTF-8
Name = Sublime
Comment = Sublime Text Editor
Exec = sublime
Icon =/opt/sublime_text/Icon/256x256/sublime-text.png
Terminal = false
Type = Application
Categories = GNOME; Application; Development;
StartupNotify = true
Now the installation is complete. You can use the sublime command or start Sublime Text 3 in the program menu.