How to install sublime text IDE in Raspberry pi 4?

How to install sublime text IDE in Raspberry pi 4?

Published By
2 min read
Rajdeep Singh
Raspberry pi 4

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.

  • Install GDP key
wget -qO - | sudo apt-key add -
  • Setup HTTP sources
sudo apt-get install apt-transport-https
  • Select the channel or Branch to use The Branch command helps to download a sublime text editor in a stable or dev branch on your laptop. I recommended downloading a stable branch on the laptop. If the download developer branch follows, click to follow official docs.
echo "deb apt/stable/" | 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
  • 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

How to delete sublime text editor?

sudo apt-get purge sublime-text



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.