Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Commands»(Resolved) add-apt-repository command not found – Ubuntu & Debian

    (Resolved) add-apt-repository command not found – Ubuntu & Debian

    RahulBy RahulMarch 29, 20152 Mins ReadUpdated:November 26, 2019

    The command add-apt-repository is used for adding PPA reference to our Ubuntu or Debian systems. For newer installations, this command may not available in your system. Use the following commands to add this command utility in your system as per your operating systems.

    Ubuntu & Debian Latest Version

    The latest version of Ubuntu 19.10, 18.04, 16.04 and Debian 10/9/8, add-apt-repository command utility is available under the software-properties-common package. So use the following command to install it.

    sudo apt-get install software-properties-common
    
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      gir1.2-goa-1.0 gir1.2-snapd-1
    Use 'apt autoremove' to remove them.
    The following NEW packages will be installed:
      software-properties-common
    0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
    Need to get 0 B/9,912 B of archives.
    After this operation, 197 kB of additional disk space will be used.
    Selecting previously unselected package software-properties-common.
    (Reading database ... 186717 files and directories currently installed.)
    Preparing to unpack .../software-properties-common_0.96.24.32.3_all.deb ...
    Unpacking software-properties-common (0.96.24.32.3) ...
    Processing triggers for man-db (2.8.3-2) ...
    Processing triggers for dbus (1.12.2-1ubuntu1) ...
    Setting up software-properties-common (0.96.24.32.3) ...
    

    Ubuntu 13.10/Debian 7 and Older Versions

    For the Ubuntu 13.10 Systems and Debian 7 (Wheezy) or its earlier versions, the add-apt-repository command is available under the python-software-properties package. Use the following command to install it.

    sudo apt-get install python-software-properties
    
    add-apt-repository apt
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Install Filezilla in Ubuntu 16.04, 14.04 and LinuxMint 18
    Next Article How to Setup Apache as Reverse Proxy for Tomcat

    Related Posts

    How to Search Recently Modified Files in Linux

    2 Mins Read

    Bash Printf Command

    Updated:December 23, 20212 Mins Read

    Tee Command in Linux with Examples

    4 Mins Read

    How to Scan Open Ports with Nmap

    5 Mins Read

    Handling filenames with spaces in Linux

    3 Mins Read

    How To Compare Two Files in Linux

    Updated:August 23, 20215 Mins Read

    8 Comments

    1. bmallette on November 25, 2019 9:16 pm

      On a Raspberian Buster
      When I ran : sudo apt-get install software-properties-common
      I got that it was already intalled.
      I ran : sudo apt-get remove software-properties-common
      then sudo apt-get install software-properties-common

      it solved the add-apt-repository, it seems that it was not part of the original raspberian buster release

      Reply
    2. Rocco on July 18, 2019 5:57 pm

      sudo apt-get install python-software-common

      Reading package lists… Done
      Building dependency tree
      Reading state information… Done
      E: Unable to locate package python-software-common

      Reply
    3. Peter on December 6, 2018 5:42 am

      Thank you!

      Reply
    4. Spotter on January 4, 2018 7:34 pm

      did not help me, damn (

      Reply
      • Spotter on January 4, 2018 7:43 pm

        ……….no, it’s worked!)) its my own trouble was. my Synaptic was opened, that’s it.

        Reply
    5. amenokal on May 17, 2017 6:59 am

      nice. thank you

      Reply
    6. Cain on April 10, 2017 9:18 am

      worked 🙂

      Reply
    7. Aiman Tajuddin on March 3, 2017 12:17 pm

      sorry..it say unable to locate…i dont know how to use this…help me

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.