deb package, remove it by running command: sudo apt remove -autoremove sublime-text Then, install Sublime Text 3 via Flatpak by running command: flatpak install įor the Snap package, remove it either using Ubuntu Software or by running command in terminal: sudo snap remove -purge sublime-textįor the Flatpak package, use the command to uninstall the package: flatpak uninstall -delete-data Īnd cleanup useless run-times via flatpak uninstall -unused.įor the official. NOTE: Like Snap, the Sublime Text as flatpak is also un-official package maintained by contributors, runs in sandbox and updates automatically.įirstly, press Ctrl+Alt+T to open terminal and run command to install Flatpak daemon: sudo apt install flatpak But for the old version 3, you may install it by running the commands below one by one in terminal. Sublime Text 4 is NOT available as Flatpak so far. Finally, update system package cache and install the code editor by running the following 2 commands one by one: sudo apt update sudo apt install sublime-text This step can be done alternatively by running the single command below: echo "deb apt/stable/" | sudo tee /etc/apt//sublime-text.listĤ. When the file opens, add the following line ( it’s a single line) and save it.ĭeb apt/stable/ Next, run the command below to create a source file and edit it via Gedit text editor: sudo gedit /etc/apt//sublime-text.list It will download the key from its website, convert it to un-readable encrypted key, and put into “/usr/share/keyring” directory. And, it’s recommend to use the command below instead to install the key: wget -qO - | gpg -dearmor | sudo tee /usr/share/keyrings/sublimehq-pub.gpg The sublime text website still use the ‘ apt-key‘ command in its document, which is deprecated.įor security reason, Debian has updated the policy. When it opens, run the command below to make sure ‘https’ source is supported: sudo apt-get install apt-transport-https Firstly, press Ctrl+Alt+T on keyboard to open terminal. deb package works in Ubuntu, Linux Mint, Debian, and even Raspberry Pi OS (arm64).ġ. The only downside could be that some do NOT like sandboxing apps.įor those prefer Linux commands, the package also can be installed by running the command below in terminal: sudo snap install sublime-text -classic Option 2: Official Apt repository The snap package runs in sandbox and always up-to-date since it receives updates automatically. Sudo apt-get remove sublime-text & sudo apt-get autoremoveĪnd the official Sublime Text apt repository can be removed by going to System Settings -> Software & Updates -> Other Software tab.Install Sublime Text from Ubuntu Software To uninstall the editor, either use your system package manager or simply run command: Once installed, launch it from your desktop app launcher and enjoy! Uninstall: Or by running commands: sudo apt-get update When it opens, run command to install the key:Ģ. Then add the apt repository via command:Įcho "deb apt/stable/" | sudo tee /etc/apt//sublime-text.listģ. Finally check updates and install sublime-text via your system package manager: Install Sublime Text 3 via the official apt repository:ġ. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from desktop app launcher. It’s available to download and use for free, but you’re supposed to buy a license if you plan on using it full-time. It supports many programming languages and markup languages, and its functionality can be extended by users with plugins. Sublime Text is a proprietary source code editor with a Python API. The popular cross-platform Sublime Text editor finally offers official Linux apt repository to make it easy to install and receive update in Ubuntu.
0 Comments
Leave a Reply. |