RapidYT

How to install sublime text IDE in Raspberry pi 4?

A sublime text editor is a lite weight IDE for raspberry pi 4. you can also install sublime text editor for all ecosystems like Windows, Mac, and Linux distro.

By raspberry-pi-4 2 min read

You install sublime text IDE is Raspberry pi 4 with very easy command. You paste the following command setup by setup.

How to install Sublime text editor in raspberry pi 4?

There are two ways to install a sublime text editor.

  1. Snap command
  2. Official command

Snap command

Raspberry Pi 4 does not officially support snap package manager. With the snap package manager, you install some packages locally in your distro. In the snap, install the package with one command.

You do not install packages directly. Firstly you install snap store package manage in raspberry pi 4 and use the snap store command cli command and then run the following command to install a sublime text editor.

sudo snap install sublime-text --classic

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

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.

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text

How to delete sublime text editor?

sudo apt-get purge sublime-text

References

https://www.sublimetext.com/download

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

https://snapcraft.io/sublime-text

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


Conclusion

I hope you download sublime text editor in raspberry pi 4. I recommended using the official 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.