{"id":8732,"date":"2019-03-14T17:17:33","date_gmt":"2019-03-14T17:17:33","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8732"},"modified":"2019-03-14T17:17:33","modified_gmt":"2019-03-14T17:17:33","slug":"sublime-text-3-2-released-install-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/03\/sublime-text-3-2-released-install-ubuntu-18-04\/","title":{"rendered":"Sublime Text 3.2 Released! How to Install it in Ubuntu 18.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/12\/sublime-text-icon245.png\" alt=\"\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-7399\" \/><\/p>\n<p>Sublime Text 3.2 was released yesterday with first-class Git integration, GTK3 port, and many other new features.<\/p>\n<p><a href=\"https:\/\/www.sublimetext.com\/blog\/articles\/sublime-text-3-point-2\" rel=\"noopener\" target=\"_blank\">Sublime Text 3.2<\/a> release highlights:<\/p>\n<ul>\n<li>First-class Git integration<\/li>\n<li>Incremental diff functionality tracks changes to files being edited. <\/li>\n<li>Moved to GTK3, and various high DPI fixes for Linux.<\/li>\n<li>New theme functionality and block caret support.<\/li>\n<li>Support for Unicode 11.0<\/li>\n<li>Many syntax highlighting improvements to Clojure, D, Go, Lua.<\/li>\n<\/ul>\n<h4>How to Install Sublime Text 3.2 in Ubuntu:<\/h4>\n<p>The easiest way is to install the community maintained Snap package (run in sandbox).<\/p>\n<p>For Ubuntu 18.04 and higher, simply open <b>Ubuntu Software<\/b> search for and install <code>sublime-text<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-softwarecenter-600x283.jpg\" alt=\"\" width=\"600\" height=\"283\" class=\"aligncenter size-large wp-image-8733\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-softwarecenter-600x283.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-softwarecenter-450x213.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-softwarecenter-768x363.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-softwarecenter.jpg 796w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>For Ubuntu 16.04, open terminal (Ctrl+Alt+T) and run command to install the snap:<\/p>\n<pre style=\"border:none;\">sudo apt install snapd && sudo snap install sublime-text<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-snap-600x150.jpg\" alt=\"\" width=\"600\" height=\"150\" class=\"aligncenter size-large wp-image-8734\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-snap-600x150.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-snap-450x113.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-snap.jpg 755w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>Install Sublime Text 3.2 via its official apt repository:<\/b><\/p>\n<p>For those who don&#8217;t prefer Snap package, do following steps to install Sublime Text from its official apt repository:<\/p>\n<p><b>1.<\/b> Open terminal either via <b>Ctrl+Alt+T<\/b> keyboard shortcut or from app launcher. When it opens, run command to add the keyring:<\/p>\n<pre style=\"border:none;\">wget -qO - https:\/\/download.sublimetext.com\/sublimehq-pub.gpg | sudo apt-key add -<\/pre>\n<p><i>Type user password (no asterisk feedback) when it prompts and hit Enter.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-key-600x105.jpg\" alt=\"\" width=\"600\" height=\"105\" class=\"aligncenter size-large wp-image-8735\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-key-600x105.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-key-450x79.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-key.jpg 749w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> Then run command to add the apt repository:<\/p>\n<pre style=\"border:none;\">echo \"deb https:\/\/download.sublimetext.com\/ apt\/stable\/\" | sudo tee \/etc\/apt\/sources.list.d\/sublime-text.list<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-repo-600x167.jpg\" alt=\"\" width=\"600\" height=\"167\" class=\"aligncenter size-large wp-image-8736\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-repo-600x167.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-repo-450x125.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/sublime-text-repo.jpg 765w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>3.<\/b> Finally install <code>sublime-text<\/code> package either via <b>Synaptic<\/b> package manager or by running command:<\/p>\n<pre style=\"border:none;\">sudo apt update && sudo apt install sublime-text<\/pre>\n<h4>Uninstall:<\/h4>\n<p>To remove the editor, run command:<\/p>\n<pre style=\"border:none;\">sudo apt remove --autoremove sublime-text<\/pre>\n<p>To remove the apt repository, go to <b>Software &#038; Updates -> Other Software<\/b>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/remove-sublime-repo-450x301.jpg\" alt=\"\" width=\"450\" height=\"301\" class=\"aligncenter size-medium wp-image-8737\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/remove-sublime-repo-450x301.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/remove-sublime-repo-600x401.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/03\/remove-sublime-repo.jpg 733w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Sublime Text 3.2 was released yesterday with first-class Git integration, GTK3 port, and many other new features. Sublime Text 3.2 release highlights: First-class Git integration Incremental diff functionality tracks changes to files being edited. Moved to GTK3, and various high DPI fixes for Linux. New theme functionality and block caret support. Support for Unicode 11.0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6],"tags":[41,1670,1669],"class_list":["post-8732","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-sublime-text","tag-sublime-text-git","tag-sublime-text-gtk3"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=8732"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8732\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}