How to Install Sublime Text 3 on Ubuntu 22.04 | 20.04 – Guide

Sublime Text is a fast, reliable, and versatile source code editor that is used by many front-end and back-end web developers. The vanilla editor can be customized and customized with hundreds of plugins available on the web. It supports over 20 programming languages ​​including C++, Ruby, Python, and Java. For its speed, speed, and intuitive IDE, Sublime Text 3 has everything that every application developer should at least try. ..

The Sublime Text 3 editor can be enhanced and customized by installing new plugins and creating custom settings. This article explains how to install Sublime Text 3 on Ubuntu 20.04. Installing Sublime on Ubuntu is very easy. We activate the Sublime repository, import the GPG key from the repository and install the editor. The same instructions should work on any other Debian-based distribution.

Installing Sublime Text 3 on Ubuntu 22.04/20.04

  1. Open a terminal window and type the following command to install the Sublime Text 3 package: sudo apt-get install sublime-text
  2. Once the package is installed, open a terminal window and type the following command to create a new Sublime Text 3 project: mkdir myproject && cd myproject
  3. To start working on your project, you’ll need to install some dependencies. Type the following command to do so: sudo apt-get install build-essential cmake libxml2-dev libxslt1-dev libcurl4-openssl-dev
  4. Next, you’ll need to clone the Sublime Text 3 repository from GitHub. Type the following command to do so: git clone https://github.com/sublimetext/sublime-text.git
  5. Finally, you’ll need to add some paths to your environment variables so that Sublime Text can find its dependencies. Type the following commands one at a time, pressing Enter after each one: export PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/local/lib64:/usr/lib64:/usr/share/fonts:/usr/share/fonts/*:$HOME/.config export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/$LIBRARYNAME ..

git clone https://github.com/apache/incubator-maven.git cd incubator-maven mvn -DskipTests -DskipVerify -DskipApiCheck –verbose install

sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common

sudo add-apt-repository “deb http://download.sublime-text.com/stable/sublime_packages main” sudo add-apt-repository “deb http://download.sublime-text.com/stable/sublime_packages sublime” ..

curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

sudo apt-get update sudo apt-get install sublimetext ..

sudo apt-get install sublime-text3

This will install the sublime text editor. ..

You can start using Sublime Text 3 on your Ubuntu 20.04 desktop by installing it and then updating the Sublime package through the standard desktop software update tool.

Final note

If you’re looking to install Sublime Text 3 on Ubuntu, then this guide will show you how to do it. It’s based on Ubuntu 22.04 and 20.04, but should work with most other versions of Ubuntu as well. In case you have any questions about the installation process or the steps in this guide, don’t hesitate to ask us in the comments below or on our forums. And finally, if you’d like to share this guide with your friends, please do so by sharing it on social media using the buttons below. ..