Resolve add-apt-repository: command not found Error on Ubuntu 18.04 | 16.04

office 4694143 640

This brief tutorial shows students and new users how to quickly and easily fix sudo: add-apt-repository: command not found error when using Ubuntu 18.04 | 16.04.

Most Ubuntu users tend to install Ubuntu minimal server version. With Ubuntu minimal version, you get a limited sets of tools and packages just enough to operate the server in most environments.

Because of the limited sets of tools available, you may run into situations where some needed tools are not installed out of the box.

For example, if you want to add a new PPA repository, you’ll have to use the add-apt-repository command to do so. But with Ubuntu server minimal version, the command is not installed by default. You’ll need to install it before using it.

Student or new user looking for a Linux system to start learning on, the easiest place to start is Ubuntu Linux OS…. It’s a great Linux operating system for beginners and folks looking for easier Linux distribution to use.

Ubuntu is an open source Linux operating systems that runs on desktops, laptops, server and other devices.

Both Ubuntu and Windows systems allow you to be productive, easy to use, reliable and enable you to install and run thousands of programs from gaming to productivity suite software for individuals and businesses.

Resolve add-apt-repository: command not found

Fixing the add-apt-repository: command not found error in Ubuntu is simple. The add-apt-repository command depends on software-properties-common and it doesn’t come installed.

Simply run the commands below to install software-properties-common.

sudo apt update
sudo apt install software-properties-common

Then update Ubuntu and try to add a PPA repository using the add-apt-repository.

sudo apt update

Now you can add your PPA as shown below:


sudo add-apt-repository ppa:nginx/development

That’s it!


This post shows you how to quickly and easily resolve add-apt-repository: command not found error on Ubuntu 18.04 | 16.04 systems. If you find any error above, please use the form below to report it.


You may also like the post below:

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.