How to install Sublime on Kali Linux
How to install Sublime on Kali Linux
Sublime is free and open source Multi-Platform text editor tool, used mostly by programmers. It supports many programming and markup languages and its functionality can be extended with the addition of surportive plugins, which are community-built and maintained under free-software licenses. This tutorial explains the installation procedure of Sublime text editor on Kali Linux.
Installation procedure
To start with the installation procedure, Update the repository by executing the apt-get update command.
root@kali:~# apt-get update
Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]
Get:2 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 Packages [15.5 MB]
Get:3 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/contrib amd64 Packages [108 kB]
Get:4 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/non-free amd64 Packages [166 kB]
Fetched 15.8 MB in 40s (389 kB/s)
Reading package lists... Done
The target system is updated with the required repositories. Now download the Debian package for sublime by running the following command.
root@kali:~# wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3047_amd64.deb
--2017-06-25 01:01:04-- http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3047_amd64.deb
Resolving c758482.r82.cf2.rackcdn.com (c758482.r82.cf2.rackcdn.com)... 23.76.156.65, 23.76.156.33, 2600:1417:56::174c:9d60, ...
Connecting to c758482.r82.cf2.rackcdn.com (c758482.r82.cf2.rackcdn.com)|23.76.156.65|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6122646 (5.8M) [application/octet-stream]
Saving to: ‘ sublime-text_build-3047_amd64.deb’
sublime-text_build-3047_amd64.deb 100%[====================================================================================================> ] 5.84M 772KB/s in 7.2s
2017-06-25 01:01:12 (829 KB/s) - ‘ sublime-text_build-3047_amd64.deb’ saved [6122646/6122646]
Before installing the sublime package, install the gdebi package in the target system. Or the user can also use dpkg command to install the sublime package. Execute the following gdebi command to install the gdebi package in the target system and press y to continue with the installation process.
root@kali:~# apt-get install gdebi -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
jsql libjs-mochikit python-advancedhttpserver python-alembic python-boltons python-cheetah python-dap python-editor python-formencode python-geoip2 python-geojson python-icalendar
python-maxminddb python-mpltoolkits.basemap python-openid python-pampy python-paste python-pastedeploy python-pastedeploy-tpl python-pastescript python-pluginbase python-pyotp
python-scgi python-smoke-zephyr python-tempita python-termcolor python-tzlocal
.
.
.
Setting up libyaml-libyaml-perl (0.63-2) ...
Setting up gdebi (0.9.5.7+nmu1) ...
Setting up diffstat (1.61-1+b1) ...
Setting up libclass-accessor-perl (0.34-1) ...
Setting up liblist-moreutils-perl (0.416-1+b1) ...
Setting up libparse-debianchangelog-perl (1.2.0-12) ...
Setting up lintian (2.5.51) ...
Install the sublime package using gdebi and execute the following command.
root@kali:~# gdebi sublime-text_build-3047_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Don
Reading state information... Done
Sublime Text is a sophisticated text editor for code, markup and prose
Do you want to install the software package? [y/N]:y
Selecting previously unselected package sublime-text.
(Reading database ... 316039 files and directories currently installed.)
Preparing to unpack sublime-text_build-3047_amd64.deb ...
Unpacking sublime-text (3047) ...
Setting up sublime-text (3047) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
The sublime text editor is running successfully.
Wasn' t that an easy installation procedure? Sublime text editor supports extensive customizability via JSON settings files, including project-specific and platform-specific settings.
SublimeText.exe --data "E:\Sublime Text Data"
Remove all spaces between the beginning of the line and "email"/"product_key"
You are done!