- Sublime text linux debian
- apt🔗
- pacman🔗
- yum🔗
- dnf🔗
- zypper🔗
- Installation
- # 32 or 64 bits?
- # macOS
- # Windows
- # Linux
- # Portable or Not Portable?
- # How to Install
- # macOS and Windows
- # Linux
- # Manual Installation
- # How to Install the Portable Version
- # Windows
- # Linux
- # macOS
- # Release Channels
- # Older Versions
- How to Install Sublime Text 3 on Debian 10
- Features of Sublime Text
- How to Install Sublime Text 3 on Debian 10
- Conclusion
- About the author
- Simran Kaur
Sublime text linux debian
Sublime Text includes an auto-upgrade mechanism on Windows and Mac to make upgrades a snap. Instead of going against the grain of the Linux ecosystem, packages and package repositories are provided for most of the major distributions.
Builds listed in the dev channel are only available to licensed users. Users who are evaluating Sublime Text before purchase will need to use the stable channel.
apt🔗
The apt repository contains packages for both x86-64 and arm64.
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null
Select the channel to use:
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
Update apt sources and install Sublime Text:
sudo apt-get update sudo apt-get install sublime-text
If this fails ensure apt is set up to work with https sources:
sudo apt-get install apt-transport-https
pacman🔗
curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg
Select the channel to use:
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo tee -a /etc/pacman.conf
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/aarch64" | sudo tee -a /etc/pacman.conf
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/aarch64" | sudo tee -a /etc/pacman.conf
Update pacman and install Sublime Text:
sudo pacman -Syu sublime-text
yum🔗
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Select the channel to use:
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
Update yum and install Sublime Text:
sudo yum install sublime-text
Note there are no RPM packages for ARM currently.
dnf🔗
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Select the channel to use:
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
Update dnf and install Sublime Text:
sudo dnf install sublime-text
Note there are no RPM packages for ARM currently.
zypper🔗
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Select the channel to use:
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
Update zypper and install Sublime Text:
sudo zypper install sublime-text
Note there are no RPM packages for ARM currently.
Installation
(opens new window) on the official site. Sublime Text is not free. However, you may evaluate it without a license.
Download links for all supported platforms can be found on the Download
The process of installing Sublime Text is different for each platform.
# 32 or 64 bits?
64 bit versions should be preferred. As of Sublime Text 4 there are no (officially supported) 32-bit versions any more. Only use a 32-bit version if you are having problems with the 64-bit version or you are running a 32-bit operating system. Note that some features, such as Git Integration
(opens new window) are only available in the 64-bit version.
# macOS
There is only one version of Sublime Text for macOS.
# Windows
You should be able to run the 64-bit version if you are using a modern and supported version Windows (read: anything older than Windows XP).
# Linux
Run the following command in your terminal to check your operating system’s type. x86_64 means you are on a 64-bit system.
# Portable or Not Portable?
Sublime Text comes in two flavors (for Windows specifically):
Most users should be better served by a normal installation. Use the portable version only if you know you need it.
Normal installations separate data between two folders: the installation folder proper, and the data directory (user-specific directory for data; explained later in this guide). Normal installations also integrate Sublime Text with the File Explorer.
Portable installations keep all files needed by Sublime Text in a single folder. This folder can be moved around and the editor will still work.
# How to Install
# macOS and Windows
# Linux
The recommended way is to use the official Linux repositories
(opens new window) for commonly used Linux distributions and follow the corresponding steps to install Sublime Text using your system’s package manager.
If there is no repository for your system, you can look for a Sublime Text entry on your distro’s repository.
# Manual Installation
The following sequence of Bash commands can be used to install Sublime Text manually. Replace 3211 with the latest build available (or any older build number).
cd ~ wget https://download.sublimetext.com/sublime_text_3_build_3211_x64.tar.bz2 tar vxjf sublime_text_3_build_*_x64.tar.bz2 # Move the uncompressed files to an appropriate location. sudo mv sublime_text_3 /opt/sublime_text # Create a symbolic link to use at the command line. sudo ln -s /opt/sublime_text_3/sublime_text /usr/local/bin/subl # Create a symbolic link for the desktop entry. sudo ln -s /opt/sublime_text_3/sublime_text.desktop /usr/share/applications/sublime_text.desktop
# How to Install the Portable Version
The portable version is activated whenever a Data/ folder exists in the installation folder, i.e. the folder you extracted the portable archive to.
# Windows
- Download the compressed archive with the portable version.
- Unzip it to a folder of your choice.
You will find the sublime_text.exe executable inside that folder.
# Linux
The steps are similar to the manual installation steps above.
- Download the tarball.
- Unzip it to a folder of your choice.
- Create a Data/ folder inside that folder.
You will find the sublime_text executable inside that folder.
# macOS
- Download .dmg file.
- Open .dmg file.
- Drag the Sublime Text 3 bundle into the Applications folder
To create a symbolic link to use at the command line, issue the following command at the terminal:
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
# Release Channels
Sublime Text currently has two release channels:
Stable releases are better tested and more reliable for everyday use. The majority of users should only use stable releases.
The dev channel is more unstable. Dev builds may contain bugs and not work reliably. They are updated more often than beta releases. Dev builds are only available to registered users.
# Older Versions
In the event you want to downgrade your Sublime Text, you can access binaries for any previously released version by replacing the build number in the download URL. For example, to retrieve the Windows release for Sublime Text 3.0, grab the latest download URL provided and replace it with the one from the Sublime Text 3.0 release.
Although discouraged, Sublime Text 2 can be found on its old download page
(opens new window) . Because it is unsupported, you will need to figure out on your own how to install it.
How to Install Sublime Text 3 on Debian 10
Sublime Text is an amazing source code editor designed for software and website development. It is a powerful tool preferred by programmers because it has cross-platform support, so Windows, Linux, and Mac users can easily use it. It is fast, lightweight, and offers good plugin support to create their custom settings.
Apart from it, Sublime offers good support for various programming languages, multiple commands, and shortcuts for ensuring fast workflows. It is a proprietary application, and you can use it for free, but you need to purchase a license for using it continuously on the system.
The installation process of Sublime Text 3 on Debian 10 is easy but requires a specific usage of commands to eliminate errors while installing it. We will cover complete information on How to install Sublime 3 on Debian 10 so that installing Sublime on the Linux system is hassle-free and can be installed independently.
Features of Sublime Text
Sublime Text offers some fantastic and useful features, so these features are:
- It provides split editing features, which means you can view different panes, and every pane contains other tabs.
- With various selection features, you can create amazing changes to a text efficiently.
- You can use CTRL+R as a shortcut to create an efficient list of vast amounts of files.
- Sublime has cross-platform support for Windows, Mac, and Linux. However, you need a license for using Sublime Text, and it doesn’t depend on the operating system.
- Users can customize and configure sublime according to their requirements.
- Sublime Text has a vast range of essential shortcuts for different functionalities.
How to Install Sublime Text 3 on Debian 10
Before starting the installation process, log in to the Debian system by sudo roost user by using the following command:
We are using the official Apt repository for the installation on Debian, Linuxmint, and Ubuntu, so execute the below command in the terminal:
Add the Sublime Text repository in the package manager; there are two types of Sublime Text repositories: a development version and a stable version.
We recommend a stable version because it consists of lesser bugs. Install it by using the below command in the terminal:
$ echo «deb https://download.sublimetext.com/ apt/stable/» |
sudo tee / etc / apt / sources.list.d / sublime-text.list
In case you want to use the development version, then execute the following command:
$ echo “deb https: // download.sublimetext.com / apt / dev / ” |
sudo tee / etc / apt / sources.list.d / sublime-text.list
Next, update the package manager by a new Sublime Text repository, so execute the following command:
root @ debian: / # sudo apt update
Hit: 1 http: // deb.debian.org / debian buster InRelease
Hit: 2 http: // security.debian.org / debian-security buster / updates InRelease Get: 3 http: // deb.debian.org / debian buster-updates InRelease [ 49.3 kB ] Get: 4 https: // download.sublimetext.com apt / stable / InRelease [ 2 , 562 B ] Get: 5 https: // download.sublimetext.com apt / stable / Packages [ 1 ,014 B ] Fetched 52.9 kB in 2s ( 23.5 kB / s )
Reading package lists. Done
Building dependency tree
Reading state information. Done
42 packages can be upgraded. Run ‘apt list —upgradable’ to see them.
After updating the package manager, execute the below command for installing Sublime Text 3.
root @ debian: / # apt install sublime-text
Reading package lists. Done Building dependency tree Reading state information. Done
The following package was automatically installed and is no longer required: grub-pc-bin Use ‘apt autoremove’ to remove it.
The following NEW packages will be installed: sublime-text 0 upgraded, 1 newly installed, 0 to remove, and 42 not upgraded.
Need to get 9 , 846 kB of archives. After this operation, 34.8 MB of additional disk space will be used.
Get: 1 https: // download.sublimetext.com apt / stable / sublime-text 3207 [ 9 , 846 kB ]
Fetched 9 , 846 kB in 25s ( 394 kB / s )
Selecting previously unselected package sublime-text. ( Reading database . 141303 files and directories currently installed. )
Preparing to unpack . / sublime-text_3207_amd64.deb Unpacking sublime-text ( 3207 ) . Setting up sublime-text ( 3207 ) .
Processing triggers for desktop-file-utils ( 0.23 — 4 ) .
Processing triggers for mime-support ( 3.62 ) .
Processing triggers for hicolor-icon-theme ( 0.17 — 2 ) .
Processing triggers for gnome-menus ( 3.31.4- 3 ) .
Once Sublime Text 3 is installed in the system, open the application using the search bar from the activities tab.
In case you want to uninstall Sublime Text 3 from the system, then execute the below command:
Conclusion
This article covers all of the required information on how to install Sublime Text 3 on Debian 10. As explained previously, Sublime is an amazing tool designed for software and web developers and programmers and offers various unique features. We have included all of the necessary steps for installing Sublime Text 3, hope it works for you.
About the author
Simran Kaur
Simran works as a technical writer. The graduate in MS Computer Science from the well known CS hub, aka Silicon Valley, is also an editor of the website. She enjoys writing about any tech topic, including programming, algorithms, cloud, data science, and AI. Travelling, sketching, and gardening are the hobbies that interest her.