kali linux 2.0安装sublime text 2
2015-11-18 19:04
661 查看
参考原文:
http://www.codeproject.com/Articles/582849/InstallingplusSublimeplusTextplus-plusonplusLinuxp
sublime不能从软件源里直接安装,但可以通过第三方源来安装,下面介绍两种方法:
第一种方法:
Download the Sublime Text 2 & Extract it:
32位:
$ wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1.tar.bz2
tar vxjf "Sublime Text 2.0.1.tar.bz2"
64位:
$ wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1%20x64.tar.bz2
tar vxjf "Sublime Text 2.0.1x64.tar.bz2"
Add a Sym link:
$ sudo ln -s "~apps/Sublime Text 2/sublime_text" /usr/bin/sub1
这种方法虽然可以用,但以后的更新版本不方便升级,所以推荐另一种方法。
第二种方法:
这种方法需要添加ppa源,如果不能添加请参考附录里的方案
Add the Sublime Text 2 Repository to your Synaptic Package Manager:
$ sudo add-apt-repository ppa:webupd8team/sublime-text-2
Update:
$ sudo apt-get update
Install Sublime Text 2:
$ sudo apt-get install sublime-text
If you are installing the Sublime Text 3 Beta as discussed in the update above, use this command instead of apt-get install sublime-text:
$sudo apt-get install sublime-text-installer
Create alias files (if not present):
$ sudo cp /usr/bin/sublime-text /usr/bin/sublime-text
$ sudo cp /usr/bin/sublime-text /usr/bin/sub1
现在就可以使用sublime text了。
附录:在debian下添加ppa
参考原文:
https://blog.anantshri.info/howto-add-ppa-in-debian
1.Download file
2.Save this file in /usr/sbin/
$ cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
3. Change permissions to execute
4. Change ownership to root
$chown root:root /usr/sbin/add-apt-repository
5. Now when ever you need to execute command type
$ sudo add-apt-repository ppa:ppa-name
http://www.codeproject.com/Articles/582849/InstallingplusSublimeplusTextplus-plusonplusLinuxp
sublime不能从软件源里直接安装,但可以通过第三方源来安装,下面介绍两种方法:
第一种方法:
Download the Sublime Text 2 & Extract it:
32位:
$ wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1.tar.bz2
tar vxjf "Sublime Text 2.0.1.tar.bz2"
64位:
$ wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1%20x64.tar.bz2
tar vxjf "Sublime Text 2.0.1x64.tar.bz2"
Add a Sym link:
$ sudo ln -s "~apps/Sublime Text 2/sublime_text" /usr/bin/sub1
这种方法虽然可以用,但以后的更新版本不方便升级,所以推荐另一种方法。
第二种方法:
这种方法需要添加ppa源,如果不能添加请参考附录里的方案
Add the Sublime Text 2 Repository to your Synaptic Package Manager:
$ sudo add-apt-repository ppa:webupd8team/sublime-text-2
Update:
$ sudo apt-get update
Install Sublime Text 2:
$ sudo apt-get install sublime-text
If you are installing the Sublime Text 3 Beta as discussed in the update above, use this command instead of apt-get install sublime-text:
$sudo apt-get install sublime-text-installer
Create alias files (if not present):
$ sudo cp /usr/bin/sublime-text /usr/bin/sublime-text
$ sudo cp /usr/bin/sublime-text /usr/bin/sub1
现在就可以使用sublime text了。
附录:在debian下添加ppa
参考原文:
https://blog.anantshri.info/howto-add-ppa-in-debian
1.Download file
2.Save this file in /usr/sbin/
$ cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
3. Change permissions to execute
4. Change ownership to root
$chown root:root /usr/sbin/add-apt-repository
5. Now when ever you need to execute command type
$ sudo add-apt-repository ppa:ppa-name
相关文章推荐
- df命令---Linux学习笔记
- linux
- ifconfig: command not found(CentOS专版,其他的可以参考)
- linux下IPTABLES配置详解
- Linux下安装easy_install
- Linux中的线程局部存储
- cobbler全自动批量安装部署linux
- Linux获取系统当前时间(精确到毫秒)
- linux设备树中pinctrl的配置(下)
- Linux图片处理工具-GraphicsMagick
- linux date命令
- linux安装问题
- linux命令
- CentOS 6.5下利用Rsyslog+LogAnalyzer+MySQL部署日志服务器
- Linux常用命令和Vi编辑器操作
- Linux上安装php的pear
- linux设备树中pinctrl的配置(上)
- linux进程管理、任务管理
- Linux系统 Centos7 yum命令在线安装 MySQL5.6
- Linux ps命令详解与示例说明