Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu - Install Sublime Merge

A few days ago, the guys from the popular text editor, Sublime, announced a new tool called Sublime Merge. This is capable of doing side-by-side diffs, and 3-way diffs. At the moment, I have configured git to use meld, but based on how well this works, I am likely to switch.

Steps

Run either of the following scripts based on how dangerously you like to live. As always, I would recommend going for stability...

Stable

sudo apt update && sudo apt install apt-transport-https -y
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

echo "deb https://download.sublimetext.com/ apt/stable/" | \
sudo tee /etc/apt/sources.list.d/sublime-text.list

sudo apt update && sudo apt install sublime-merge -y

Dev

sudo apt update && sudo apt install apt-transport-https -y
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

echo "deb https://download.sublimetext.com/ apt/dev/" | \
sudo tee /etc/apt/sources.list.d/sublime-text.list

sudo apt update && sudo apt install sublime-merge -y

Buying License

Unfortunately, functionality like changing the theme is only available if you buy a license and using your Sublime text license wont work. However the personal license never expires and is allowed for personal use across multiple computers and operating systems, which means I will probably buy one after trying it out.

  • 35 USD if you want to buy a license for the current Sublime Merge 2 and Sublime Merge 3 when it comes out of beta.
  • 25 USD if you wish to just buy a license for Sublime Merge 2.

References