How to install sublime text on Ubuntu

how-to-install-sublime-text-3-on-ubuntu-18-04

To install Sublime Text 3 on your Ubuntu system, follow these steps:

 1.  Update the apt package list and install the dependencies necessary to fetch packages from https sources:

      sudo apt update

      sudo apt install apt-transport-https ca-certificates curl software-properties-common


2.   Import the repository’s GPG key using the following curl command:

      curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - 
 
     Add the Sublime Text APT repository to your system’s software repository list by typing:

      sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/" 

3.   Once the repository is enabled, update apt sources and install Sublime Text 3 with the following commands:

     sudo apt update

     sudo apt install sublime-text
 

See also
https://linuxize.com/post/how-to-install-sublime-text-3-on-ubuntu-18-04/#installing-sublime-text-on-ubuntu





Comments

Popular posts from this blog

psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

CARRIERWAVE - UPLOAD ANY MEDIA (AUDIO , VIDEO AND IMAGE ) FILE IN RAILS

SELECT COUNTRY WITH STATE AND IT'S CITIES RAILS

RAILS: UPLOADING PHOTOS VIA AMAZON S3 AND PAPERCLIP (UPLOADING FILES TO S3 IN RUBY WITH PAPERCLIP)

SEARCHING USING AJAX IN RAILS

UPLOAD ANY MEDIA FILE IN RAILS USING PAPERCLIP

UNINITIALIZED CONSTANT PAPERCLIP::STORAGE::S3::AWS

CURL COMMAND ON RUBY ON RAILS

Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension.