Once you’ve installed software-properties-common, you should update the system using this command: sudo apt-get update Processing triggers for dbus (1.12.2-1ubuntu1). Processing triggers for man-db (2.8.3-2). 265950 files and directories currently installed.) Selecting previously unselected package software-properties-common. Get:1 bionic-updates/main amd64 software-properties-common all 0.96.24.32.5 The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 197 kB of additional disk space will be used. The command’s output will be something like this: Reading package lists. So open a terminal and use this command: sudo apt-get install software-properties-common It’s because the add-apt-repository command is part of package software-properties-common and you need to install this package in order to install add-apt-repository. The package add-apt-repository is not installed on your system.īut if you try to use sudo apt-get install add-apt-repository, it won’t work. Fix add-apt-repository: command not found error Let’s see how to fix this annoying error. Sudo: add-apt-repository: command not found In Debian, elementary OS and sometimes on Ubuntu, you’ll see the error that the add-apt-repository command is missing. If you want to add a new PPA repository, you’ll have to use the add-apt-repository command in the following fashion: sudo add-apt-repository ppa:some/ppa One of the many ways to install software on Ubuntu or Debian is to use a PPA ( Personal Package Archive). This quick tutorial shows you how to quickly fix the “add-apt-repository command not found” error on Debian, Ubuntu and other Debian-based Linux distributions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |