I would like to know how I can add a "ppa" entry manually on the Raspberry Pi for the "apt" program.

Where should I add my "ppa" entry (in which file) ?

For example, I want to add the following ppa entry for guvcview.

ppa:pj-assis/ppa 
up vote 7 down vote accepted

There are two ways:

  • Go to the PPA's web page, click on "Technical details about this PPA" and copy paste those lines into your /etc/apt/sources.list or create a new file at e.g. /etc/apt/sources.list.d/pj-assis-ppa.list with these lines as contents. Figuring out which Ubuntu version (for replacing YOUR_UBUNTU_VERSION_HERE) fits best to your Raspbian can be done by trial and error. It bascially depends on the Raspbian version you're using and the available Ubuntu versions in the PPA. For Raspbian Jessie, vivid (if still available) is usually best fitting.

  • Install the package software-properties-common, e.g. with sudo apt-get install software-properties-common and then call sudo apt-add-repository ppa:pj-assis/ppa.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.