wget https://download.sublimetext.com/sublime_text_3_build_3176_x64.tar.bz2
## get the archive file, extract and take the sublime_text_3 folder and paste it
into /opt/.
## Add Sublime Text 3 to terminal to run with subl command..
sudo ln -s /opt/sublime_text_3/sublime_text /usr/bin/subl
## Add Sublime Text 3 to launcher. Edit /usr/share/applications/sublime3.desktop and paste the codes from sublime3.desktop
## Copy the contents of /usr/share/applications/sublime_text.desktop to ~/.local/share/applications/sublime_text.desktop
## Or simply use:
cp -it ~/.local/share/applications /usr/share/applications/sublime_text.desktop
## Then in the terminal type:
sudo update-desktop-database
## LINTER SETTINGS ##
# Make sure php path is available to php linter, go to package setting > sublime linter and paste the following code
{
“paths”: {
“linux”: [],
“osx”: [
“~/.rbenv/shims”
],
“windows”: [“D:/xampp/php/”]
}
}
for linux–
“paths”: {
“linux”: [
“/usr/bin/php -l”
],
“osx”: [],
“windows”: []
}