首页 > 系统相关 >CentOS7 安装 Sublime Text3

CentOS7 安装 Sublime Text3

时间:2023-03-24 10:01:53浏览次数:43  
标签:Lib package text CentOS7 Text3 Sublime Packages root sublime


在官网下载,下载链接:http://www.sublimetext.com

解压:sublime_text_build_4113_x64.tar.xz
这是两层压缩,外面是xz压缩方式,里层是tar压缩

[root@bogon wwwroot]# xz -d sublime_text_build_4113_x64.tar.xz 

[root@bogon wwwroot]# ls -al
total 48012
drwxrwxrwx. 4 root root       79 Aug 17 11:47 .
drwxr-xr-x. 8 root root       96 Dec 22  2020 ..
-rw-r--r--  1 root root 49162240 Aug 17 11:46 sublime_text_build_4113_x64.tar
drwxr-xr-x  2 root root       22 Aug 17 10:48 test.cc
drwxr-xr-x  3 root root       21 Aug 16 19:08 textlaravel.cc

[root@bogon wwwroot]# tar -xvf sublime_text_build_4113_x64.tar 
sublime_text/
sublime_text/crash_reporter
sublime_text/plugin_host-3.8
sublime_text/Packages/
sublime_text/Packages/Java.sublime-package
sublime_text/Packages/R.sublime-package
sublime_text/Packages/Rust.sublime-package
sublime_text/Packages/Rails.sublime-package
sublime_text/Packages/ActionScript.sublime-package
sublime_text/Packages/YAML.sublime-package
sublime_text/Packages/Graphviz.sublime-package
sublime_text/Packages/Go.sublime-package
sublime_text/Packages/Color Scheme - Default.sublime-package
sublime_text/Packages/CSS.sublime-package
sublime_text/Packages/Textile.sublime-package
sublime_text/Packages/Perl.sublime-package
sublime_text/Packages/LaTeX.sublime-package
sublime_text/Packages/Matlab.sublime-package
sublime_text/Packages/Default.sublime-package
sublime_text/Packages/PHP.sublime-package
sublime_text/Packages/Lisp.sublime-package
sublime_text/Packages/D.sublime-package
sublime_text/Packages/C#.sublime-package
sublime_text/Packages/JSON.sublime-package
sublime_text/Packages/Makefile.sublime-package
sublime_text/Packages/JavaScript.sublime-package
sublime_text/Packages/Pascal.sublime-package
sublime_text/Packages/ASP.sublime-package
sublime_text/Packages/Color Scheme - Legacy.sublime-package
sublime_text/Packages/Text.sublime-package
sublime_text/Packages/Clojure.sublime-package
sublime_text/Packages/Lua.sublime-package
sublime_text/Packages/Ruby.sublime-package
sublime_text/Packages/Diff.sublime-package
sublime_text/Packages/Regular Expressions.sublime-package
sublime_text/Packages/Vintage.sublime-package
sublime_text/Packages/Haskell.sublime-package
sublime_text/Packages/RestructuredText.sublime-package
sublime_text/Packages/Markdown.sublime-package
sublime_text/Packages/TCL.sublime-package
sublime_text/Packages/Theme - Default.sublime-package
sublime_text/Packages/AppleScript.sublime-package
sublime_text/Packages/Batch File.sublime-package
sublime_text/Packages/Language - English.sublime-package
sublime_text/Packages/SQL.sublime-package
sublime_text/Packages/ShellScript.sublime-package
sublime_text/Packages/C++.sublime-package
sublime_text/Packages/Python.sublime-package
sublime_text/Packages/Git Formats.sublime-package
sublime_text/Packages/XML.sublime-package
sublime_text/Packages/Scala.sublime-package
sublime_text/Packages/Objective-C.sublime-package
sublime_text/Packages/Erlang.sublime-package
sublime_text/Packages/HTML.sublime-package
sublime_text/Packages/Groovy.sublime-package
sublime_text/Packages/OCaml.sublime-package
sublime_text/libssl.so.1.1
sublime_text/Icon/
sublime_text/Icon/256x256/
sublime_text/Icon/256x256/sublime-text.png
sublime_text/Icon/128x128/
sublime_text/Icon/128x128/sublime-text.png
sublime_text/Icon/48x48/
sublime_text/Icon/48x48/sublime-text.png
sublime_text/Icon/16x16/
sublime_text/Icon/16x16/sublime-text.png
sublime_text/Icon/32x32/
sublime_text/Icon/32x32/sublime-text.png
sublime_text/sublime_text
sublime_text/libcrypto.so.1.1
sublime_text/sublime_text.desktop
sublime_text/plugin_host-3.3
sublime_text/Lib/
sublime_text/Lib/python33/
sublime_text/Lib/python33/sublime_plugin.py
sublime_text/Lib/python33/sublime.py
sublime_text/Lib/python3/
sublime_text/Lib/python3/certifi/
sublime_text/Lib/python3/certifi/core.py
sublime_text/Lib/python3/certifi/__init__.py
sublime_text/Lib/python3/certifi/__main__.py
sublime_text/Lib/python3/certifi/cacert.pem
sublime_text/Lib/python3/certifi/__pycache__/
sublime_text/Lib/python3/certifi/__pycache__/core.cpython-38.opt-1.pyc
sublime_text/Lib/python3/certifi/__pycache__/__init__.cpython-38.opt-1.pyc
sublime_text/Lib/python3/certifi/LICENSE
sublime_text/Lib/python3.3.zip
sublime_text/Lib/python3.8.zip
sublime_text/Lib/python38/
sublime_text/Lib/python38/sublime_plugin.py
sublime_text/Lib/python38/sublime.py
sublime_text/changelog.txt

[root@bogon wwwroot]# ls -al
total 48016
drwxrwxrwx. 5 root root       98 Aug 17 11:48 .
drwxr-xr-x. 8 root root       96 Dec 22  2020 ..
drwxrwxr-x  5 root root     4096 Jul 14 12:10 sublime_text
-rw-r--r--  1 root root 49162240 Aug 17 11:46 sublime_text_build_4113_x64.tar
drwxr-xr-x  2 root root       22 Aug 17 10:48 test.cc
drwxr-xr-x  3 root root       21 Aug 16 19:08 textlaravel.cc
[root@bogon wwwroot]#

可以切换的该目录下,直接 ./sublime_text

建立软链接,以方便终端打开ln -s /opt/sublime_text_3/sublime_text /usr/bin/sublime 打开命令就是sublime

建立桌面快捷

#cp /opt/sublime_text/sublime_text.desktop /usr/share/applications
 #cd /usr/share/applications
 #vim sublime_text.desktop


修改"Icon=/opt/sublime_text/Icon/48x48/sublime-text.png"
应用程序 >编程 > Sublime Text"右键"将此启动器添加到桌面"

去掉更新提示:找到Preferences -> Settings-User(设置用户),找到倒数第三行的//“update_check”: false, 把注释去掉


标签:Lib,package,text,CentOS7,Text3,Sublime,Packages,root,sublime
From: https://blog.51cto.com/u_13571520/6146823

相关文章

  • Sublime Merge
    SublimeMerge目录初始应用目录Git-暂存列表(stashes)常用命令存储当前的修改,但不提交commit存储当前的修改,但不提交commit,并指定标识信息查看stash内容回到某个stash的状......
  • Centos7安装npm
    下载node镜像,这里我们选择node-v16.19.1-linux-x64.tar.gzwgethttps://nodejs.org/dist/v16.19.1/node-v16.19.1-linux-x64.tar.gz如果想下载其他版本,可以在https://......
  • Centos7搭建redis7集群
    redis集群搭建准备了3台主机,每台主机部署2个节点,整个集群3个master节点和3个slave节点组成主机:192.168.130.101 7001 7002      192.168.130.102 7001 70......
  • centos7虚拟机静态ip
    1、查看网关       2、查看ip   vi配置进入vi/etc/sysconfig/network-scripts/ifcfg-ens33(文件后缀可能不一样)   重启网络 system......
  • centos7 中使用 express 并启动项目
    因为之前window安装了express,所以采用,直接将express项目传到linux中 步骤如下:   Express工程环境准备npminstallexpress-gnpminstallexpress-generato......
  • centos7 Linux 安装及升级node、npm
    centos7初始版本node6npm3 更新升级node版本#安装nnpminstall-gn#查看版本n--version//v9.0.1#把当前系统的Node更新成最新的“稳定版本”nstabl......
  • CentOS7配置ssh登录失败10次,自动封锁IP
    您可以按照以下步骤配置CentOS7以在SSH登录失败10次后自动封锁IP:安装fail2ban软件包:在终端中输入以下命令以安装fail2ban软件包:sudoyuminstallepel-releasesudoy......
  • 在Centos7 中PHP与SQL Server链接出现的编码问题
    项目一直处于Windows平台,变更到linux上移植的时候发现了一个严重的字符编码问题。服务器情况如下数据服务器Windows2016+SQLServer2008R2原Web服务器Windows2016......
  • CentOS7.9快速配置服务器网卡聚合双bond方法
    说明:服务器双口,分别为em1-2个口em1、em21、 开启 NetworkManagersystemctlstart NetworkManageryuminstallbridge-utils 2、备份配置文件mkdir-p /data/b......
  • Centos7更换yum源
    备份系统自带yum源配置文件mv/etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.backup下载国内yum源配置文件(这里我们下载163的yum源)wget-......