How to solve sudo: add-apt-repository: command not found (UBUNTU SERVER 14.04)


sudo apt-get install apt-file

Update apt-file:
apt-file update

Finally use apt-file to search for the add-apt-repository package:
apt-file search add-apt-repository

As you can see add-apt-repository is in software-properties-common:
software-properties-common: /usr/bin/add-apt-repository
software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz

After installing software-properties-common you will be able to use add-apt-repository without any further issue:
sudo apt-get install software-properties-common

Comments

Popular posts from this blog

Best High PR Dofollow Web 2.0 Sites to create your backlinks for 2017

Best free SEO tools for 2017

How can you improve your seo in 2017