I am trying to install Atom text editor on my Raspberry Pi 3 B+ with Raspbian as OS.

I would like to install it via a package manager using the following commands (instructions found here):

sudo add-apt-repository ppa:webupd8team/atom
apt-get update
apt-get install atom

The problem is that the add-apt-repository does not seem to exist on this version of Linux. I searched for it in /bin and /usr/bin and it was not there.

My questions:
* Is this normal?
* Is it possible to install the add-apt-repository command?
* If yes: how can I install it (or where can I find this information)?
* If no: are there any alternatives (i.e. installing a PPA repository in some other way)?

  • 1
    A few suggestions can be found here after a quick search... raspberrypi.stackexchange.com/questions/44622/…
    – rohtua
    Mar 9, 2019 at 17:46
  • 1
    Possible duplicate of How to add ppa entries manually on Raspberry Pi
    – Dougie
    Mar 10, 2019 at 0:10
  • 1
    Thank you for your suggestion. In the end, the answers in the other post do help me solve my problem (i.e. install add-apt-repository). However, I feel that my question addresses the issue from a different angle, as my question was explicitly on why add-apt-repository doesn't work (the other post seems to already assume this). My understanding now is that this command simply doesn't come pre-packaged with Raspbian, but there is a way to install it. So I think it would be helpful to leave it in case someone is faced with the same issue. Mar 10, 2019 at 20:41
  • I would to point to this discussion unix.stackexchange.com/a/486841/544081 and I would to mention that this accepted way doesn't work as it should. Just now, I'm getting the error "gpg: no valid OpenPGP data found", so it is not just simple installation. Better to avoid it. Oct 24, 2022 at 9:41

1 Answer 1


install software-properties-common [add-apt-repository]

sudo apt-get install software-properties-common

Then you can start to run the standard procedure

sudo add-apt-repository ppa:webupd8team/atom

HOWERVER: it looks like there is no binary for ATOM on RASPBIAN. So at the end of the day installing ATOM this way might fail due to missing binary for RASPBIAN. I suggest to continue reading here https://stackoverflow.com/questions/49219192/atom-on-raspbian

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.