0

I'm unable to get Atom text editor from the Software Center. When I try I get this error:

Package does not exist.
Check the spelling of the package name, and that the appropriate repository is enabled.
6
  • What PPA did you add to your system?
    – Kaz Wolfe
    Jul 8, 2017 at 5:56
  • what do you mean
    – Galien1
    Jul 8, 2017 at 5:59
  • Its not available in official ubuntu repos you have to add a third party ppa(which may or may not be continued to be maintained) or you do have direct debian package in their site..atom.io
    – Suraj Rao
    Jul 8, 2017 at 6:01
  • so can you walk me through on how to get atom
    – Galien1
    Jul 8, 2017 at 6:02
  • 1
    Atom package does exist in the Ubuntu Software app in my Ubuntu 16.04. Click the Install button to install it (see the screenshot in my answer). If that doesn't work try installing Atom from the terminal. Don't forget to include the --classic option when installing Atom from the terminal.
    – karel
    Jul 14, 2017 at 6:19

2 Answers 2

4

Run these commands to quickly and easily install and upgrade the Atom text editor snap package from the terminal in all currently supported versions of Ubuntu (64-bit only).

  • Install Atom text editor:

    sudo apt install snapd  
    sudo snap install --classic atom  
    

    Note that a snap in classic confinement behaves as a traditionally packaged application with full access to the system, and Atom extension packages are installed into the user's home directory.

  • Upgrade Atom text editor:

    sudo snap refresh --classic atom  
    

Atom text editor can also be installed from the Ubuntu Software application in Ubuntu 16.04 as shown in the below screenshot. Either way there is no need to add a PPA to your software sources.

enter image description here

Atom is more than just another text editor. Atom is extensible through the installation of Atom packages that can give Atom the capabilities of running code, showing inline graphical output and more.

enter image description here Inline plot in Atom

1

Atom is not available from the standard Ubuntu repositories:

┌─[22:57:03]─[kazwolfe@firewolf]
└──> ~ % apt-cache madison atom
      atom | 1.18.0-1~webupd8~0 | http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial/main amd64 Packages

In order to install Atom, you need to either download the debfile and install that, or add the Webupd8 Atom PPA.

For the former (direct debfile), run these commands:

wget -O /tmp/atom.deb https://atom.io/download/deb
sudo dpkg -i /tmp/atom.deb
sudo apt -f install

Alternatively, if you'd rather use the PPA and allow Apt to manage your installation (which I personally recommend), run these commands:

sudo add-apt-repository ppa:webupd8team/atom
sudo apt update
sudo apt install atom
12
  • after i run the ppa i get this Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package atom
    – Galien1
    Jul 8, 2017 at 6:04
  • @Galien1 You also ran sudo apt update after adding the PPA? You need to run this to have Ubuntu update its package caches and recognize the new PPA.
    – Kaz Wolfe
    Jul 8, 2017 at 6:10
  • should i run sudo add-apt-repository ppa:webupd8team/atom sudo apt update sudo apt install atom sudo apt update
    – Galien1
    Jul 8, 2017 at 6:15
  • 1
    @Galien1 they are three separate commands
    – Suraj Rao
    Jul 8, 2017 at 6:16
  • 1
    @Galien1: That error message should be irrelevant in this case. It just means that the FFMPEG-NEXT PPA is not being found. You can disable it from the Software & Updates settings menu. That error should not impede your installation of atom, though. Try running sudo apt install atom.
    – Kaz Wolfe
    Jul 8, 2017 at 6:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .