这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
linux:software:sublimetext [2015/08/29 11:13] – haregy | linux:software:sublimetext [2020/02/24 10:20] (当前版本) – 移除 codinghare | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ===== Install Sublime Text 3 to CentOS 7 ====== | ||
- | The install method is using source tarball on CentOS 7. | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | ==== Download & unpack ==== | ||
- | The latest stable version can be downloaded from Sublime Text website or you can use the following “wget” command to download the tar-file that suits you better and extract it as shown below. | ||
- | \\ | ||
- | < | ||
- | # wget http:// | ||
- | # tar -vxjf sublime_text_3_build_3083_x64.tar.bz2 | ||
- | </ | ||
- | \\ | ||
- | ==== Change directory ==== | ||
- | Once unpacked, you will get a directory called “Sublime_Text_3″. I moved them to the /opt directory. | ||
- | \\ | ||
- | < | ||
- | \\ | ||
- | ==== Create a symbolic link ==== | ||
- | Next create a symbolic link to call “Sublime Text” from the command line as “sublime”. To do, create a symbolic link under “/ | ||
- | \\ | ||
- | < | ||
- | \\ | ||
- | ==== Create Unity Lancher ==== | ||
- | If you are using Unity and want to add “Sublime Text” to the Unity launcher. Create a “sublime.desktop” file under “/ | ||
- | \\ | ||
- | < | ||
- | \\ | ||
- | Then Copy and Paste the following content into it. Save and close. | ||
- | \\ | ||
- | < | ||
- | Version=2.0.1 | ||
- | Name=Sublime Text 2 | ||
- | # Only KDE 4 seems to use GenericName, | ||
- | # From Ubuntu' | ||
- | GenericName=Text Editor | ||
- | |||
- | Exec=sublime | ||
- | Terminal=false | ||
- | Icon=/ | ||
- | Type=Application | ||
- | Categories=TextEditor; | ||
- | X-Ayatana-Desktop-Shortcuts=NewWindow | ||
- | |||
- | [NewWindow Shortcut Group] | ||
- | Name=New Window | ||
- | Exec=sublime -n | ||
- | TargetEnvironment=Unity</ | ||
- | \\ | ||
- | Then you can find your desktop icon at Applications-> | ||
- | \\ | ||
- | \\ | ||
- | {{ : | ||
- | ~~DUOSHUO~~ |