Home / Linux  / Solved : add-apt-repository: COMMAND NOT FOUND on UBUNTU SERVER

Solved : add-apt-repository: COMMAND NOT FOUND on UBUNTU SERVER

Spread the love

Here i have got an issue on installation of java thourgh PPA Repository on Ubuntu 14.04.3 LTS server that command not found or install and I have followed below steps to install this command.

Run the below command for python-software-properties.

# sudo apt-get install python-software-properties

Now after that update apt-file.

# sudo apt-get install apt-file

Check the packages add-apt-repository in apt-file

# sudo apt-file search add-apt-repository

OUTPUT :

In the output of the file there is packages which we need to install.

software-properties-common: /usr/bin/add-apt-repository  software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz

Now we will install software-properties-common

 # sudo apt-get install software-properties-common

Spread the love

Sachin is Red Hat Linux Certified and Freelance Contributor and Love to work and write on Open Source and Cloud Technologies .

})(jQuery)