When you open it for the first time, it should show like below. Once the application shows up, click on it to open. Then you need to type sublime text in the search bar as shown below. To launch the text editor, you need to go to Desktop and click on Activities. You can check the installed version by using subl -version command as shown below. opt/sublime_text/Icon/48x48/sublime-text.png opt/sublime_text/Icon/256x256/sublime-text.png opt/sublime_text/Icon/16x16/sublime-text.png opt/sublime_text/Icon/128x128/sublime-text.png Īfter successful installation, you can check the installed files path by using dpkg -L sublime-text command as shown below. Processing triggers for gnome-menus (3.36.0-1ubuntu1). Processing triggers for hicolor-icon-theme (0.17-2). Processing triggers for mime-support (3.64ubuntu1). Processing triggers for desktop-file-utils (0.24-1ubuntu3). 184521 files and directories currently installed.) Selecting previously unselected package sublime-text. The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 52.3 MB of additional disk space will be used. This will download and install the package along with all its dependencies. In the next step, you can install Sublime Text 4 from the added repo by using sudo apt-get install sublime-text command as shown below. Get:19 focal-backports/universe amd64 DEP-11 Metadata Get:18 focal-backports/main amd64 DEP-11 Metadata Get:17 focal-updates/multiverse amd64 DEP-11 Metadata Get:16 focal-updates/universe amd64 DEP-11 Metadata Get:15 focal-updates/main amd64 DEP-11 Metadata Get:14 focal-security/multiverse amd64 DEP-11 Metadata Get:13 focal-updates/main amd64 Packages Get:12 focal-security/universe amd64 DEP-11 Metadata Get:10 focal-security/main amd64 DEP-11 Metadata echo "deb apt/stable/" | sudo tee /etc/apt//sublime-text.list deb apt/stable/Īfter adding the repo, you need to update the package cache to reflect the changes done by using sudo apt update command as shown below. wget -qO - | gpg -dearmor | sudo tee /etc/apt//sublimehq-archive.gpg > /dev/nullĪfter adding the GPG key, you need to add the Sublime Text repo to download and install the stable package by using below command. Next, you need to visit the official download page and get the latest step to download the GPG Key using wget command as shown below. Use 'sudo apt autoremove' to remove them.Ġ upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Gir1.2-goa-1.0 libfwupdplugin1 libllvm11 libxmlb1 The following packages were automatically installed and are no longer required: It is always recommended to first install all the available updates from Ubuntu repo by using sudo apt update command and upgrade the packages to the latest version by using sudo apt upgrade command as shown below.Īdvertisements sudo apt update & sudo apt upgrade How to Install Sublime Text 4 on Ubuntu 20.04 LTS (Focal Fossa)Īlso Read: How to Remove PPA Repository from Ubuntu/Debian Linux Step 1: PrerequisitesĪ) You should have a running Ubuntu 20.04 LTS Server.ī) You should have sudo or root access to run privileged commands.Ĭ) You should have wget or apt or apt-get utility available in your Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |