{"id":17701,"date":"2022-06-09T10:48:19","date_gmt":"2022-06-09T10:48:19","guid":{"rendered":"https:\/\/linuxways.net\/?p=17701"},"modified":"2022-06-09T10:48:19","modified_gmt":"2022-06-09T10:48:19","slug":"how-to-install-sublime-text-on-manjaro-linux","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/manjaro\/how-to-install-sublime-text-on-manjaro-linux\/","title":{"rendered":"How to Install Sublime Text on Manjaro Linux"},"content":{"rendered":"<p>Sublime Text is an efficient source code editor. It supports different programming and markup languages.<\/p>\n<p>To learn more about the sublime text, see this webpage:<\/p>\n<p><a href=\"https:\/\/www.sublimetext.com\/\">https:\/\/www.sublimetext.com\/<\/a><\/p>\n<p>Today, we will see how to install sublime text on Manjaro Linux using basic commands that we will run on Manjaro\u2019s terminal.<\/p>\n<p>Without any further ado, let\u2019s begin!<\/p>\n<h2>Installation Guide:<\/h2>\n<p>Following are the steps involved in installing sublime-text on Manjaro Linux:<\/p>\n<h3>Step 1: Clone the git repository of Snapd<\/h3>\n<p>In the first step, we will clone snapd\u2019s git repository into our system. If you already have Snap installed and enabled on your system, you can jump to the installation of sublime text (Step 6).<\/p>\n<p>To clone Snapd\u2019s git repository, execute the following command:<\/p>\n<pre>git clone <a href=\"https:\/\/aur.archlinux.org\/snapd.git\">https:\/\/aur.archlinux.org\/snapd.git<\/a><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"415\" height=\"31\" class=\"wp-image-17702\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-1.png 415w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-1-300x22.png 300w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/p>\n<h3>Step 2: Go to the Snapd directory<\/h3>\n<p>Now that Snapd\u2019s git repository is cloned, go inside the snapd directory by using the following command:<\/p>\n<pre>cd snapd<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"99\" height=\"26\" class=\"wp-image-17703\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-2.png\" \/><\/p>\n<h3>Step 3: Build the snapd package<\/h3>\n<p>Now that we are inside the Snapd directory, we will now build the snapd package. To do that, issue the following command:<\/p>\n<pre>makepkg -si<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"105\" height=\"26\" class=\"wp-image-17704\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-3.png\" \/><\/p>\n<h3>Step 4: Enable Snapd socket<\/h3>\n<p>In the previous step, we successfully installed the snapd packet manager. To be able to use it, we first need to enable the snapd socket. This is the systemd unit whose job is to manage the main snap communication socket. This can be done by executing the following command:<\/p>\n<pre>sudo systemctl enable --now snapd.socket<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"28\" class=\"wp-image-17705\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-4.png 368w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-4-300x23.png 300w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/p>\n<h3>Step 5: Enable Classic support<\/h3>\n<p>We have enabled the systemd unit, let\u2019s now create a symbolic link between \/var\/lib\/snapd\/snap and \/snap. This is how we will enable classic support. To do that, run the following command:<\/p>\n<pre>sudo ln -s \/var\/lib\/snapd\/snap \/snap<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"336\" height=\"28\" class=\"wp-image-17706\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-5.png 336w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-5-300x25.png 300w\" sizes=\"auto, (max-width: 336px) 100vw, 336px\" \/><\/p>\n<h3>Step 6: Install sublime-text<\/h3>\n<p>We are done with all the configurations of snap. Now we can go on with the installation of sublime text. The command that will install it is mentioned below.<\/p>\n<pre>sudo snap install sublime-text --classic<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"382\" height=\"22\" class=\"wp-image-17707\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-6.png 382w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-6-300x17.png 300w\" sizes=\"auto, (max-width: 382px) 100vw, 382px\" \/><\/p>\n<p>You will be asked to provide your user\u2019s password as you are running the command with sudo. When the password is accepted, sublime text will begin to install. This is the output you will see when sublime text will start to install:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"939\" height=\"38\" class=\"wp-image-17708\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-7.png 939w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-7-300x12.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-7-768x31.png 768w\" sizes=\"auto, (max-width: 939px) 100vw, 939px\" \/><\/p>\n<p>Once sublime text is installed, you will see a confirmation message as your output like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"421\" height=\"22\" class=\"wp-image-17709\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-8.png 421w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-8-300x16.png 300w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/p>\n<h3>Step 7: Verify Installation<\/h3>\n<p>Although we know from the confirmation message on our command line that the application has been successfully installed, let\u2019s also verify it manually. To do that, you first need to spot the application on your system. Go to the Start menu and locate sublime text among other applications. It will appear if the installation was successful.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" class=\"wp-image-17710\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-9.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-9-300x169.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-9-1024x576.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-9-768x432.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-9-1536x864.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Also, run it to see if it is working fine or not. This is how the interface will appear:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"852\" height=\"695\" class=\"wp-image-17711\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-10.png 852w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-10-300x245.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-10-768x626.png 768w\" sizes=\"auto, (max-width: 852px) 100vw, 852px\" \/><\/p>\n<h2>How to uninstall sublime text from Manjaro Linux?<\/h2>\n<p>We have learned how to install sublime text on our Manjaro machine. Let\u2019s now look at how to uninstall it in case we no longer need it. Sublime Text can be removed from our system by executing the following command:<\/p>\n<pre>sudo snap remove sublime-text<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"277\" height=\"21\" class=\"wp-image-17712\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-11.png\" \/><\/p>\n<p>This command will instantly remove sublime text from your system. You will receive the following confirmation message on Manjaro\u2019s terminal once the application is successfully removed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"186\" height=\"17\" class=\"wp-image-17713\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/06\/word-image-17701-12.png\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>In today\u2019s guide, we explored how to install sublime text on a Manjaro Linux machine with the help of a few easy-to-follow commands. We later looked at how to uninstall the application from our device using a one-line command.<\/p>\n<p>We hope you liked our tutorial.<\/p>\n<p>To see how you can install sublime text on CentOS 8, visit:<\/p>\n<p><a href=\"https:\/\/linuxways.net\/de\/centos\/how-to-install-sublime-text-editor-on-centos-8\/\">https:\/\/linuxways.net\/centos\/how-to-install-sublime-text-editor-on-centos-8\/<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Sublime Text is an efficient source code editor. It supports different programming and markup languages. To learn more about the sublime text, see this webpage: https:\/\/www.sublimetext.com\/ Today, we&hellip;<\/p>","protected":false},"author":1,"featured_media":17715,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[891],"tags":[829,1033],"class_list":["post-17701","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-manjaro","tag-manjaro-linux","tag-sublime-text"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/17701","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=17701"}],"version-history":[{"count":1,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/17701\/revisions"}],"predecessor-version":[{"id":17714,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/17701\/revisions\/17714"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/17715"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=17701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=17701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=17701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}