Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 6 down vote accepted

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.

share|improve this answer
    
It has a different codification, right? –  Lucio Nov 3 '13 at 20:16
1  
@Lucio the difference is more profound. Is how they are maintained. GIT uses a special server while APT's repositories can use any web server + a package manager. –  Braiam Nov 3 '13 at 20:37
2  
Git is for source code, apt is for binaries. –  jrg Nov 4 '13 at 2:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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