This guide will show you three ways of installing Atom on Ubuntu 20.04 from easiest to not as easy. (They're all pretty straight forward though)
These instructions will apply for any Ubuntu-based distro, but choose the installation method that best fits your situation.
Method 1. Installing Atom from the Ubuntu Software Center
One of the fastest and easiest ways to install Atom is directly from the Ubuntu Software Center. Follow the steps below:
1. Open the Ubuntu Software Center from your Ubuntu Shell™.
2. Search for Atom using the search tool, then click 'INSTALL'.
3. You will receive a prompt to enter your password. If you have not created a password please follow these directions.
Changing your Operating System Password and Admin Password on your Shell™
4. Once the installation is complete, click 'Launch' to use Atom.
Method 2. Installing Atom using Snap Packages
The Atom snap package is distributed by Github.
Snaps are convenient because they contain all the dependencies needed to run the application. This can help when running into compatibility issues with your system. Since these packages contain extra data, they run slower than deb package.
The Atom package that we installed from Software application in the previous method is actually a Snap package, however, we go over how to install Atom from the command line as well. Follow the steps below:
1. Open the terminal on your Ubuntu Shell™. (Ctrl + Alt + T will not work in a web browser, so you must open it manually by searching in your applications)
2. Run the following command:
# sudo snap install atom --classic
You're all done! Snap packages will automatically update themselves in the background any time there is an update to Atom.
To run Atom just type
atom into the terminal and execute the command.
Method 3. Installing Atom with apt
Atom is available from the Packagecloud Apt repositories. Follow these steps to install:
1. Update Packages List and install dependencies.
# sudo apt update
2. Install dependencies
# sudo apt install software-properties-common apt-transport-https wget
3. Download the repository GPG key
# wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -o- | sudo apt-key add -
4. Enable the Apt repository
# sudo add-apt-repository "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"
# sudo apt install atom
To run, just type
atom in the terminal.
You can update Atom manually through the command-line or the Software Update tool when new versions are released.
Please sign in to leave a comment.