145

I want to install:

add-apt-repository ppa:ricotz/testin

It is showing:

The program add-apt-repository is currently not installed.
You can install it by typing:
sudo apt-get install python-software-properties

What should I do now?

5
  • sudo add-apt-repository ppa:ricotz/testin
    – prusswan
    Jul 9, 2014 at 5:54
  • 19
    The program 'add-apt-repository' is currently not installed. You can install it by typing: apt-get install python-software-properties Jul 9, 2014 at 6:29
  • 1
    Which version of Ubuntu you are using?
    – Pandya
    Jul 9, 2014 at 13:40
  • 4
    just copyy and paste the command its telling you to do bruh...
    – skybldev
    Apr 13, 2016 at 13:23
  • 4
    add-apt-repository is provided by software-properties-common see filelist Nov 3, 2016 at 15:46

1 Answer 1

239

Try these:

sudo apt-get install software-properties-common

and/or

sudo apt-get install python3-software-properties

and/or

sudo apt-get install python-software-properties
11
  • 43
    apt-get install software-properties-common seems to be enough in Ubuntu 14.04.
    – qris
    May 27, 2015 at 20:51
  • 16
    tested this on a docker image. software-properties-common and python-software-properties were required Nov 24, 2015 at 1:30
  • 1
    Tested on new Debian, also software-properties-common and python-software-properties were required
    – Ice09
    Feb 28, 2017 at 8:36
  • 3
    ubuntu:latest docker image gives E: Unable to locate package software-properties-common May 3, 2018 at 11:07
  • 6
    If it's Unable to locate package, make sure to apt-get update first. Jul 30, 2018 at 20:15

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