Halo bloggers, kali ini saya memberikan tutorial cara menginstall Sublime Text 4 di Linux. Saat ini saya mnggunakan distro Linux Ubuntu versi 20.04 LTS dan bagi kalian yang mungkin menggunakan distro Linux lain tidak menjadi masalah, kalian ikuti saja tutorial ini dan sesuaikan dengan distro linux kalian.
Baiklah kita akan memulai cara Installasinya.
- apt - Ubuntu, Debian
- pacman - Arch
- yum - CentOs
- dnf - Fedora
- zypper - OpenSUSE
apt
Install the GPK key :
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Pastikan apt berkerja untuk tersambung denga https :
sudo apt-get install apt-transport-https
Silahkan pilih versi untuk digunakan :
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 sources dan Install Sublime Text
sudo apt-get update
sudo apt-get install sublime-text
Pacman
Install the GPK key :
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
Pilih versi :
- Stable x86_64
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
- Dev x86_64
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo tee -a /etc/pacman.conf
- Stable aarch64
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/aarch64" | sudo tee -a /etc/pacman.conf
- Dev aarch64
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/aarch64" | sudo tee -a /etc/pacman.conf
Update Pacman dan Install Sublime Text
sudo pacman -Syu sublime-text
yum
Install the GPG key:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Select the channel to use:
- Stable
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
- Dev
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
dnf
Install the GPG key:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Select the channel to use:
- Stable
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
- Dev
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
Install the GPG key:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Select the channel to use:
- Stable
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
- Dev
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
Post a Comment