{"id":100042,"date":"2021-08-15T21:03:26","date_gmt":"2021-08-15T18:03:26","guid":{"rendered":"https:\/\/computingforgeeks.com\/?p=100042"},"modified":"2023-08-25T02:06:23","modified_gmt":"2023-08-24T23:06:23","slug":"install-sublime-text-on-ubuntu-debian","status":"publish","type":"post","link":"https:\/\/computingforgeeks.com\/install-sublime-text-on-ubuntu-debian\/","title":{"rendered":"How To Install Sublime Text 4 on Ubuntu \/ Debian"},"content":{"rendered":"\n<p>Sublime Text is a popular, fast and powerful source code editor used by developers to write their code. It is a cross-platform editor written in C++ and python, and comes with a lot of features and plugins to ease application development. It supports various languages while it is free to download and install. Sublime Text also provides APT repository that ease installation in Debian-based Linux distributions. Some of the features that make Sublime text likeable include but not limited to autocompletion, synthax highlighting, quick shortcuts and selection of multiple lines or words.<\/p>\n\n\n\n<p>Sublime Text 4 is the latest most recent version after version 3. It comes with a number of improvements as listed below: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python API updated to 3.8 and upgraded to to support more features and plugins<\/li>\n\n\n\n<li>Smart auto-completion.<\/li>\n\n\n\n<li>Multi-tab selection.<\/li>\n\n\n\n<li>Support for ARM64 for Linux and Apple Silicon.<\/li>\n\n\n\n<li>GPU acceleration.<\/li>\n\n\n\n<li>Typescript and JSX support<\/li>\n\n\n\n<li>Synthax highlighting improved. <\/li>\n\n\n\n<li>New tab styles on the UI. <\/li>\n\n\n\n<li>Refreshed UI with new tab styles. Added Color schemes and themes supporting auto dark-mode switching<\/li>\n<\/ul>\n\n\n\n<p>In this guide today, we are looking at how to install Sublime Text 4 on Ubuntu \/ Debian.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Update System Packages<\/h2>\n\n\n\n<p>As we always do, it is good to have the latest packages installed on your system to avoid dependency issues which might arise.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n\n\n\n<p>Check if a reboot is required.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91; -f \/var\/run\/reboot-required ] &amp;&amp; sudo reboot -f<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Add Sublime Text GPG key<\/h2>\n\n\n\n<p>To begin Sublime Text installation, run the below command to add GPG key to your system<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/download.sublimetext.com\/sublimehq-pub.gpg|sudo gpg --dearmor -o \/etc\/apt\/trusted.gpg.d\/sublime.gpg<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Add Sublime Text Repository<\/h2>\n\n\n\n<p>Enable Sublime Text APT repositories with the below commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install apt-transport-https\necho \"deb https:\/\/download.sublimetext.com\/ apt\/stable\/\" | sudo tee \/etc\/apt\/sources.list.d\/sublime-text.list<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Installing Sublime Text on Ubuntu \/ Debian<\/h2>\n\n\n\n<p>Once you have Sublime Text GPG key and APT repository added, proceed to install it as below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt install sublime-text<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Launch Sublime Text 4<\/h2>\n\n\n\n<p>When it is installed, go to your desktop and search for Sublime text.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"239\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-01-1.png\" alt=\"\" class=\"wp-image-100573\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-01-1.png 660w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-01-1-300x109.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<p>Launch it to get a page as below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"453\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-02-1.png\" alt=\"\" class=\"wp-image-100574\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-02-1.png 745w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-02-1-300x182.png 300w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-02-1-696x423.png 696w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-02-1-691x420.png 691w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/figure>\n\n\n\n<p>To check Sublime Text installed version, click on &#8216;<strong>help&#8217;<\/strong> then under it, click on &#8216;<strong>About Sublime Text<\/strong>&#8216;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"506\" height=\"408\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-07.png\" alt=\"\" class=\"wp-image-100581\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-07.png 506w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-07-300x242.png 300w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Configuring Sublime Text<\/h2>\n\n\n\n<p>To start using Sublime text, you need to do a little configurations. Some of the things you might want to do are explained below:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Changing Theme on Sublime Text<\/h3>\n\n\n\n<p>To change your sublime text appearance, press <strong>ctrl+shift+P.<\/strong> Type <em>theme<\/em> as select one of your choice. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"358\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-03-1.png\" alt=\"\" class=\"wp-image-100576\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-03-1.png 699w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-03-1-300x154.png 300w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-03-1-696x356.png 696w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Adding Packages on Sublime Text<\/h3>\n\n\n\n<p>If you need to add extra packages other that what is already available, click <strong>ctrl+shift+P<\/strong> then type &#8216;<em>Install Package Control&#8217;<\/em> and click on it to install.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"232\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-04-1.png\" alt=\"\" class=\"wp-image-100577\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-04-1.png 726w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-04-1-300x96.png 300w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-04-1-696x222.png 696w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/figure>\n\n\n\n<p>Once you have package control installed, again hit &#8216;<strong>ctrl+shift+P<\/strong>&#8216; and type &#8216;<em>install&#8217;<\/em>. You should see &#8216;<em>Package Control: Install Package<\/em>&#8216;. Click on it and search for the package you wish to install.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"450\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-05-1.png\" alt=\"\" class=\"wp-image-100578\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-05-1.png 758w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-05-1-300x178.png 300w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-05-1-696x413.png 696w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2021\/08\/Install-sublime-text-on-ubuntu-20.04-debian-10-05-1-707x420.png 707w\" sizes=\"auto, (max-width: 758px) 100vw, 758px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Word Selection on Sublime Text<\/h3>\n\n\n\n<p>Sublime Text has a lot of important functionalities such as shortcuts and word selection. If you need to select every occurrence of the same word,place your cursor on the word and hit <strong>ctrl+D<\/strong>. This will select the word where your cursor is. The select the rest of the same words, hit the same key combinations again.<\/p>\n\n\n\n<p>There is more and more you can do with Sublime text which we cannot write all of them here. Once you are able to install Sublime Text 4 on Ubuntu\/Debian according to this guide, launch it and play around it to realize how a powerful text editor it is. We have seen above a number of improvements in Sublime Text 4 which should enable you to have even a much better experience than the versions before.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Updating Sublime Text<\/h3>\n\n\n\n<p>Whenever you need the latest packages or the latest version of Sublime text, you will be required to download the latest packages\/ version and install as if you are doing a fresh install as explained in the steps above. You will first need to remove the old installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Uninstalling Sublime Text<\/h3>\n\n\n\n<p>If you wish to completely remove Sublime Text from your system, simply run the below command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt remove --autoremove sublime-text<\/code><\/pre>\n\n\n\n<p>This has been a guide on how to install Sublime Text 4 on Ubuntu 20.04| Debian 10. If you are a developer, you will definitely enjoy the cool features that come with the latest version of Sublime Text. I hope the guide has been helpful. <\/p>\n\n\n\n<p>Check below more interesting guides.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/computingforgeeks.com\/install-sublime-text-on-centos-rhel-8\/\" target=\"_blank\" data-type=\"post\" data-id=\"18554\" rel=\"noreferrer noopener\">Install Sublime Text 4 on CentOS 8 \/ RHEL 8<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/install-atom-text-editor-on-kali-linux\/\" data-type=\"post\" data-id=\"51527\" target=\"_blank\" rel=\"noreferrer noopener\">Install Atom Text Editor on Kali Linux<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/install-atom-text-editor-on-rhel-centos-8\/\" target=\"_blank\" data-type=\"post\" data-id=\"18523\" rel=\"noreferrer noopener\">Install Atom Text Editor on RHEL 8 \/CentOS 8<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/how-to-install-vim-text-editor-on-freebsd\/\" target=\"_blank\" data-type=\"post\" data-id=\"5239\" rel=\"noreferrer noopener\">How to Install VIM Text Editor on FreeBSD 12<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Sublime Text is a popular, fast and powerful source code editor used by developers to write their code. It is a cross-platform editor written in C++ and python, and comes with a lot of features and plugins to ease application development. It supports various languages while it is free to download and install. Sublime Text &#8230; <a title=\"How To Install Sublime Text 4 on Ubuntu \/ Debian\" class=\"read-more\" href=\"https:\/\/computingforgeeks.com\/install-sublime-text-on-ubuntu-debian\/\" aria-label=\"Read more about How To Install Sublime Text 4 on Ubuntu \/ Debian\">Read more<\/a><\/p>\n","protected":false},"author":15,"featured_media":100392,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,690,299,50,81],"tags":[800,35976],"cfg_series":[],"class_list":["post-100042","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-dev","category-how-to","category-linux-tutorials","category-ubuntu","tag-ide","tag-sublime-text"],"_links":{"self":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/100042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/comments?post=100042"}],"version-history":[{"count":0,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/100042\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media\/100392"}],"wp:attachment":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media?parent=100042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/categories?post=100042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/tags?post=100042"},{"taxonomy":"cfg_series","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/cfg_series?post=100042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}