How to install sublime text IDE in Ubuntu?

Post image

Sublime is a great text editor for programmers. Sublime text IDE is a similar IDE like vscode editor.

The programmer writes code quickly in the sublime text editor because the sublime text provides a simple UI interface for beginners.

Sublime IDE is coming with a lot of functionality and language support. The most important feature is provided by sublime IDE.

The new version of the subline comes with utilizing GPU’s support Linux, Mac, and Windows. Sublime also supports Apple Silicon processors, Linux ARM64 architecture, and Raspberry pi 4. Multiple tab support Sublime text editor support Typescript, jsx, and tsx file extension. Auto-complete and suggestion support in a sublime text editor. How to install Sublime text editor in Ubuntu? There are two ways to install a sublime text editor.

  1. Snap command
  2. Official command

Snap command

Now Ubuntu is an official support snap store Linux packages manager. With the snap package manager, you install tons of packages locally in your distro. Snap install the package with one command.

Mostly snap store command utility all ready install in Ubuntu. If it does not install, install the snap store command cli and then run the following command.

sudo snap install sublime-text --classic

Output Look like:-

Install sublime-text editor in Ubuntu

Now your command successfully runs in your terminal.

https://snapcraft.io/sublime-text

How to open a sublime text editor in Ubuntu?

You click on the ubuntu menu icon, scroll download, find sublime text editor, and click on it. Your sublime text editor is opening a new window in Ubuntu.

Open a sublime text editor in Ubuntu.

How to uninstall sublime text editor in Ubuntu?

You just run the following command and delete all configurations of sublime-text in one command.

sudo snap remove --purge  sublime-text

Note Only remove the sublime-text command when your install sublime-text editor with snap command.

Remove sublime-text editor in Ubuntu.

Official command

Official command setup provides by the sublime text editor team. for download the sublime text editor, your run serval one by one command.

  • Install GDP key
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Install GDP Key in Ubuntu

Setup HTTP sources

sudo apt-get install apt-transport-https
Install HTTP source Linux package

Select the channel or Branch to use

The Branch helps to download a sublime text editor on your laptop. I recommended downloading a stable branch on the laptop.

Stable Branch

echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
I choose a stable branch for installation.

Dev branch

echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Update apt sources

Run Select channel command and after run an update to check everything is proper and update all old packages. after running sublime text install command.

sudo apt-get update
Update your Ubuntu machine with the latest version

Install Sublime Text

Update command runs successfully in the terminal, and now you install the sublime-text editor with the following command. Now your download is complete in Ubuntu and opens sublime-text like regular software.

sudo apt-get install sublime-text
Finally, Run sublime text installation command

How to open a sublime text editor in Ubuntu?

You click on the ubuntu menu icon, scroll download, find sublime text editor, and click on it. Your sublime text editor is opening a new window in Ubuntu.

Open Sublime-text editor in Ubuntu

How to delete sublime text editor?

sudo apt-get purge sublime-text
Delete sublime text editor in Ubuntu.

References

https://www.sublimetext.com/download

https://www.sublimetext.com/docs/linux_repositories.html

https://snapcraft.io/docs/installing-snapd


Conclusion

I hope you download sublime text editor in Ubuntu. I recommended using the snap command to install sublime-text IDE. If you have any problem, tell in the comment section.

For more updates, click to join our subscriber list and get free benefit to lifetime access.

You May Also Like

comments powered by Disqus