Kali Linux 2.0 installation Sublime text 2

Source: Internet
Author: User
Tags bz2 sublime text kali linux

Reference text:

Http://www.codeproject.com/Articles/582849/InstallingplusSublimeplusTextplus-plusonplusLinuxp

The first method :

Download the Sublime Text 2 & Extract it:

32-bit:

$ wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1.tar.bz2

Tar vxjf "Sublime Text 2.0.1.tar.bz2"

64-bit:

$ 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

Although this method can be used, but later update version is not easy to upgrade, so recommend another method.

The second method:

This method needs to add the PPA source, if not added please refer to the appendix of the scenario

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 is installing the Sublime Text 3 Beta as discussed in the "Update above, use the" command instead of Apt-get in Stall 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

Now you can use the sublime text.

Appendix: Adding PPA under Debian

Reference text :

Https://blog.anantshri.info/howto-add-ppa-in-debian

1.Download file

$ wget Http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt

2.Save This file in/usr/sbin/

$ CP Add-apt-repository.sh.txt/usr/sbin/add-apt-repository

3. Change permissions to execute

$ chmod o+x/usr/sbin/add-apt-repository

4. Change ownership to Root

$chown root:root/usr/sbin/add-apt-repository

5. Now when ever-need to execute command type

$ sudo add-apt-repository ppa:ppa-name

Kali Linux 2.0 installation Sublime text 2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.