Friday, May 3, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 3439  / 3 Years ago, mon, july 12, 2021, 7:56:32

Can add-apt be used for Github repos?



I know that this adds a ppa from launchpad:



sudo add-apt-repository ppa:chris-lea/node.js


I would like to use a Github repository instead of launchpad. Is this possible?



How?


More From » application-development

 Answers
7

Debian package repositories (which are what PPAs are, but with specific packages in them for Ubuntu releases, and not Debian itself) are not the same as git repos. You can't use a git repo for an apt repository.



The main reason for this is because git uses a special server designed to work with source code, and not binary packages. An apt repository server can be set up with a package manager backend and almost any web server, and is specifically designed to work with binary packages.


[#28582] Tuesday, July 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oreera

Total Points: 472
Total Questions: 121
Total Answers: 116

Location: Mayotte
Member since Thu, Dec 17, 2020
3 Years ago
;