Friday, January 7, 2022

[SOLVED] Sudo apt-get-repository: command not found

Issue

I am trying to add a repository in Ubuntu Mate using this command-

sudo apt-get-repository "****************(repository name)"

But i am having this output-

sudo: apt-get-repository: command not found

I have tried this-

sudo apt-get install software-properties-common python-software-properties

and also this-

sudo apt-get install software-properties-common

But still getting same command not found output.

What is the reason behind this? And also how can i solve this?


Solution

Perhaps you should try

sudo add-apt-repository "(repository name)"



Answered By - Benjamin Guttmann