Updating Sublime / Installing Ubuntu 18.10

Running Sublime from the command line with:
$ subl

In Ubuntu 18.10 out of the box, it was necessary to install the following package because sublime would NOT start.

Refer: https://forum.sublimetext.com/t/solved-ubuntu-18-10-failure-to-launch/39926/3

$ sudo apt-get install libgtk2.0-0

It was throwing the following errors when trying to run the program:

$ /opt/sublime_text/sublime_text
Unable to load libgdk-x11-2.0.so
Unable to load gdk_cairo_create from libgdk-x11-2.0.so

Older Notes of Installation

Sublime was updated via the repository and then downloaded from the site itself.

Just download the file, become root and delete the existing files and copy over them here:

/opt/sublime_text

Leave a Reply