Sublime Text 3.2 was released yesterday with first-class Git integration, GTK3 port, and many other new features.
Sublime Text 3.2 release highlights:
- First-class Git integration
- Incremental diff functionality tracks changes to files being edited.
- Moved to GTK3, and various high DPI fixes for Linux.
- New theme functionality and block caret support.
- Support for Unicode 11.0
- Many syntax highlighting improvements to Clojure, D, Go, Lua.
How to Install Sublime Text 3.2 in Ubuntu:
The easiest way is to install the community maintained Snap package (run in sandbox).
For Ubuntu 18.04 and higher, simply open Ubuntu Software search for and install
For Ubuntu 16.04, open terminal (Ctrl+Alt+T) and run command to install the snap:
sudo apt install snapd && sudo snap install sublime-text
Install Sublime Text 3.2 via its official apt repository:
For those who don’t prefer Snap package, do following steps to install Sublime Text from its official apt repository:
1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from app launcher. When it opens, run command to add the keyring:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Type user password (no asterisk feedback) when it prompts and hit Enter.
2. Then run command to add the apt repository:
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
3. Finally install
sublime-text package either via Synaptic package manager or by running command:
sudo apt update && sudo apt install sublime-text
To remove the editor, run command:
sudo apt remove --autoremove sublime-text
To remove the apt repository, go to Software & Updates -> Other Software.