I like to have all software up to date using APT repositories. Sadly, there is no repository for my favorite Sublime Text editor for Debian.
So first we gonna install add-apt-repository command:
sudo apt-get install software-properties-common
Let’s do some nasty hack, and install Ubuntu repository into Debian:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
Do not update repositories yet, we need to change name of distribution:
sudo sed -i 's/jessie/trusty/g' /etc/apt/sources.list.d/webupd8team-sublime-text-3-jessie.list
Now it time to finish installation of newest Sublime Text 3 version:
sudo apt-get update
sudo apt-get install sublime-text-installer