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

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

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

A Linux Geek with Freelance Contributor, Server/ Cloud Administrator having 6+ Years experience in Open Source and Cloud Technologies.

Review overview
NO COMMENTS

POST A COMMENT