{"id":1223,"date":"2020-11-02T15:15:46","date_gmt":"2020-11-02T15:15:46","guid":{"rendered":"https:\/\/linuxways.net\/?p=1223"},"modified":"2020-11-19T09:56:14","modified_gmt":"2020-11-19T09:56:14","slug":"how-to-install-the-latest-sublime-text-editor-on-ubuntu-20-04-lts","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-the-latest-sublime-text-editor-on-ubuntu-20-04-lts\/","title":{"rendered":"How to install the latest Sublime Text editor on Ubuntu 20.04 LTS"},"content":{"rendered":"<p>A cross-platform, lightweight code editor, Sublime Text is known for being fast, easy to use, and strong community support. Not only does it supports many languages, but you can also even extend the functionality using plugins. You can download and evaluate the code editor for free. We will be using Ubuntu 20.04 LTS to download and install the Sublime Text editor.<\/p>\n<h2>Installing Sublime Text<\/h2>\n<h3>Method 1: Using the command line<\/h3>\n<p>The first step is updating the apt package repository using:<\/p>\n<pre>sudo apt update<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"193\" class=\"wp-image-1224\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-96.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-96.png 697w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-96-300x83.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/p>\n<p>Next, run the command below to install any dependencies needed to fetch https sources.<\/p>\n<pre>sudo apt install apt-transport-https ca-certificates curl software-properties-common<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"277\" class=\"wp-image-1225\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-97.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-97.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-97-300x113.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>Get the key using:<\/p>\n<pre>curl -fsSL https:\/\/download.sublimetext.com\/sublimehq-pub.gpg | sudo apt-key add -<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"71\" class=\"wp-image-1226\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-98.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-98.png 744w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-98-300x29.png 300w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/p>\n<p>Use the command below to add Sublime Text to your system\u2019s repository list:<\/p>\n<pre>echo \"deb https:\/\/download.sublimetext.com\/ apt\/stable\/\" | sudo tee \/etc\/apt\/sources.list.d\/sublime-text.list \n<img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"38\" class=\"wp-image-1227\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-99.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-99.png 734w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-99-300x16.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/pre>\n<p>Update the system repository with the help of the following command.<\/p>\n<pre>sudo apt update<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"693\" height=\"226\" class=\"wp-image-1228\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-100.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-100.png 693w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-100-300x98.png 300w\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><\/p>\n<p>Install Sublime Text using:<\/p>\n<pre>sudo apt-get install sublime-text<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"364\" class=\"wp-image-1229\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-101.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-101.png 727w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-101-300x150.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"287\" class=\"wp-image-1230\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-102.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-102.png 730w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-102-300x118.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<h3>Method 2: Using the Ubuntu Software Center<\/h3>\n<p>You can also download Sublime Text through the Ubuntu Software Center.<\/p>\n<p>Look for Ubuntu Software in the Applications Menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1231\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-103.png\" alt=\"Sublime text editor\" width=\"421\" height=\"254\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-103.png 421w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-103-300x181.png 300w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/p>\n<p>Click Ubuntu Software\u2019s icon to launch it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"550\" class=\"wp-image-1232\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-104.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-104.png 740w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-104-300x223.png 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/p>\n<p>Click the search icon on the top left of your screen and search for Sublime Text.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"178\" class=\"wp-image-1233\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-105.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-105.png 735w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-105-300x73.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/p>\n<p>Click Sublime Text.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1234\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-106.png\" alt=\"Sublime text editor\" width=\"731\" height=\"542\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-106.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-106-300x222.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/p>\n<p>Click the <strong>Install<\/strong> button and next enter your password to begin the installation of Sublime Text.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"542\" class=\"wp-image-1235\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-107.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-107.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-107-300x222.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/p>\n<p>Once you enter your password, the installation begins.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"718\" height=\"140\" class=\"wp-image-1236\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-108.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-108.png 718w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-108-300x58.png 300w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/p>\n<h2>Launching Sublime Text<\/h2>\n<p>Once installed, you can view the editor by searching for it in the Applications Menu, or through the command line.<\/p>\n<h3>Method 1: Using the command line<\/h3>\n<p>Run the following command on the terminal to launch a Sublime Text editor.<\/p>\n<pre>subl<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"328\" height=\"30\" class=\"wp-image-1237\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-109.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-109.png 328w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-109-300x27.png 300w\" sizes=\"auto, (max-width: 328px) 100vw, 328px\" \/><\/p>\n<h3>Method 2: Using the Applications Menu<\/h3>\n<p>To launch Sublime Text using the Applications Menu search for it, as shown below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1238\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-110.png\" alt=\"Sublime text editor\" width=\"390\" height=\"278\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-110.png 390w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-110-300x214.png 300w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><\/p>\n<p>Click the icon to launch Sublime Text!<\/p>\n<h2>Uninstalling Sublime Text<\/h2>\n<h3>Method 1: Using the command line<\/h3>\n<p>To uninstall Sublime Text use the command:<\/p>\n<pre>sudo apt remove sublime-text<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"27\" class=\"wp-image-1239\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-111.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-111.png 532w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-111-300x15.png 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"685\" height=\"295\" class=\"wp-image-1240\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-112.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-112.png 685w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-112-300x129.png 300w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><\/p>\n<h3>Method 2: Using the Ubuntu Software Center<\/h3>\n<p>You can also uninstall Sublime Text from the Ubuntu Software Center. Go to the Installed tab and click <strong>Remove<\/strong> next to Sublime Text.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1241\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-113.png\" alt=\"Sublime text editor\" width=\"730\" height=\"147\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-113.png 730w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-113-300x60.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<p>Click <strong>Remove<\/strong> to confirm.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1242\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-114.png\" alt=\"Sublime text editor\" width=\"563\" height=\"188\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-114.png 563w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-114-300x100.png 300w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/p>\n<p>Next, you will be asked for authentication, enter your password, and click Authenticate. Sublime Text will be removed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"542\" class=\"wp-image-1243\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-115.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-115.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-115-300x222.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/p>\n<p>We covered the installation of the Sublime Text code editor on Ubuntu 20.04 using both the command line and the Ubuntu Software Center.<\/p>","protected":false},"excerpt":{"rendered":"<p>A cross-platform, lightweight code editor, Sublime Text is known for being fast, easy to use, and strong community support. Not only does it supports many languages, but you&hellip;<\/p>","protected":false},"author":5,"featured_media":1244,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[62],"class_list":["post-1223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-sublime-text-editor"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/1223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=1223"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/1223\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/1244"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=1223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=1223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=1223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}