Since I moved to Ubuntu 22.04 I have some issues with various apps and Atom text editor is one of them. Even if I somehow manage to install apps they don't work properly or don't work at all.
I used this to install Atom but it doesn't seem to work:
sudo apt update && sudo apt upgrade -y
sudo apt install software-properties-common apt-transport-https wget -ysudo apt install software-properties-common apt-transport-https wget -y
wget -O- https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/atom.gpg] \
https://packagecloud.io/AtomEditor/atom/any/ any main" \
| sudo tee /etc/apt/sources.list.d/atom.list
sudo apt update
sudo apt install atom -y
atom --version
After trying to start Atom using terminal I got this message:
geany
editor.atom
is slow and cumbersome.-y
flag will hide output from you. And the&&
chains those two commands together. Instead run the commandssudo apt update
andsudo apt upgrade
separately. If these commands come back as anything but clean, post both of them to your question as there may be problems with your package management, especially if you're having problems installing other software. These commands need to run clean before you try to install anything else.