How to update Sublime Text 3 in ubuntu 16.04

Update Sublime Text 3 in Ubuntu 16.04 or 18.04 (Installing is also OK).

  1. Check the path of your executable (e.g.

    subl

    ) if you have one (if you know where your installation is e.g. in

    /opt/sublime_text

    you may skip this step):

cat $(which subl)

This will look inside the executable for the installation path.

Alternatively you can use a command likelocate sublime_text/to help you find the installation directory.

From theofficial website, the latest version as of editing is build3200(13 March 2019).

The64-bit tarballcan be downloaded there as well as the32-bitone.

  1. Download and untar the file (one command):

curl https://download.sublimetext.com/sublime_text_3_build_3200_x64.tar.bz2 | tar vxj
  1. Overwrite your old installation e.g.

sudo cp -rf sublime_text_3/. /opt/sublime_text/
  1. Remove the extracted .bz2

rm -rf sublime_text_3

And you're done!

Last updated