How to host a repository in my own site like a PPA?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
As launchpad does not support binary uploads, I want to make .deb packages and host them in My own Github website.
- How to do it?
- When done, how to install packages from it?
repository
add a comment |
As launchpad does not support binary uploads, I want to make .deb packages and host them in My own Github website.
- How to do it?
- When done, how to install packages from it?
repository
add a comment |
As launchpad does not support binary uploads, I want to make .deb packages and host them in My own Github website.
- How to do it?
- When done, how to install packages from it?
repository
As launchpad does not support binary uploads, I want to make .deb packages and host them in My own Github website.
- How to do it?
- When done, how to install packages from it?
repository
repository
edited Mar 22 at 10:49
Archisman Panigrahi
asked Oct 28 '13 at 8:48
Archisman PanigrahiArchisman Panigrahi
2,33032456
2,33032456
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
A Ubuntu/Debian repository at the minimum consists of a web server directory containing some .deb packages and an index file which apt-get reads to know which packages and versions are available.
You can read Debian's documentation on how a repository is structured here. You can also try just navigating a simple PPA repository with your web browser to see how it looks in practice. (Example link: pypy ppa).
If you're planning on updating it only rarely, it is possible to set up the necessary directories and index files by hand, but probably not recommended. A tool like debarchiver should help you (although I have not used it personally).
You then just add a new file in /etc/apt/sources.list.d corresponding to your new repository. Eg, a new file /etc/apt/sources.list.d/myrepo.list containing:
deb http://mysite.com/myrepo precise main
But pypy ppa only has dists and pool folders in root, not the .debs.
– Archisman Panigrahi
Oct 28 '13 at 10:59
The location of each deb file is given in thePackagesindex. I think you can probably organise the deb files however you want providing the paths are correct. Thedistsdir however needs to have the correct structure to work.
– chronitis
Oct 28 '13 at 11:10
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f367147%2fhow-to-host-a-repository-in-my-own-site-like-a-ppa%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
A Ubuntu/Debian repository at the minimum consists of a web server directory containing some .deb packages and an index file which apt-get reads to know which packages and versions are available.
You can read Debian's documentation on how a repository is structured here. You can also try just navigating a simple PPA repository with your web browser to see how it looks in practice. (Example link: pypy ppa).
If you're planning on updating it only rarely, it is possible to set up the necessary directories and index files by hand, but probably not recommended. A tool like debarchiver should help you (although I have not used it personally).
You then just add a new file in /etc/apt/sources.list.d corresponding to your new repository. Eg, a new file /etc/apt/sources.list.d/myrepo.list containing:
deb http://mysite.com/myrepo precise main
But pypy ppa only has dists and pool folders in root, not the .debs.
– Archisman Panigrahi
Oct 28 '13 at 10:59
The location of each deb file is given in thePackagesindex. I think you can probably organise the deb files however you want providing the paths are correct. Thedistsdir however needs to have the correct structure to work.
– chronitis
Oct 28 '13 at 11:10
add a comment |
A Ubuntu/Debian repository at the minimum consists of a web server directory containing some .deb packages and an index file which apt-get reads to know which packages and versions are available.
You can read Debian's documentation on how a repository is structured here. You can also try just navigating a simple PPA repository with your web browser to see how it looks in practice. (Example link: pypy ppa).
If you're planning on updating it only rarely, it is possible to set up the necessary directories and index files by hand, but probably not recommended. A tool like debarchiver should help you (although I have not used it personally).
You then just add a new file in /etc/apt/sources.list.d corresponding to your new repository. Eg, a new file /etc/apt/sources.list.d/myrepo.list containing:
deb http://mysite.com/myrepo precise main
But pypy ppa only has dists and pool folders in root, not the .debs.
– Archisman Panigrahi
Oct 28 '13 at 10:59
The location of each deb file is given in thePackagesindex. I think you can probably organise the deb files however you want providing the paths are correct. Thedistsdir however needs to have the correct structure to work.
– chronitis
Oct 28 '13 at 11:10
add a comment |
A Ubuntu/Debian repository at the minimum consists of a web server directory containing some .deb packages and an index file which apt-get reads to know which packages and versions are available.
You can read Debian's documentation on how a repository is structured here. You can also try just navigating a simple PPA repository with your web browser to see how it looks in practice. (Example link: pypy ppa).
If you're planning on updating it only rarely, it is possible to set up the necessary directories and index files by hand, but probably not recommended. A tool like debarchiver should help you (although I have not used it personally).
You then just add a new file in /etc/apt/sources.list.d corresponding to your new repository. Eg, a new file /etc/apt/sources.list.d/myrepo.list containing:
deb http://mysite.com/myrepo precise main
A Ubuntu/Debian repository at the minimum consists of a web server directory containing some .deb packages and an index file which apt-get reads to know which packages and versions are available.
You can read Debian's documentation on how a repository is structured here. You can also try just navigating a simple PPA repository with your web browser to see how it looks in practice. (Example link: pypy ppa).
If you're planning on updating it only rarely, it is possible to set up the necessary directories and index files by hand, but probably not recommended. A tool like debarchiver should help you (although I have not used it personally).
You then just add a new file in /etc/apt/sources.list.d corresponding to your new repository. Eg, a new file /etc/apt/sources.list.d/myrepo.list containing:
deb http://mysite.com/myrepo precise main
edited Oct 28 '13 at 9:37
answered Oct 28 '13 at 9:30
chronitischronitis
9,5263230
9,5263230
But pypy ppa only has dists and pool folders in root, not the .debs.
– Archisman Panigrahi
Oct 28 '13 at 10:59
The location of each deb file is given in thePackagesindex. I think you can probably organise the deb files however you want providing the paths are correct. Thedistsdir however needs to have the correct structure to work.
– chronitis
Oct 28 '13 at 11:10
add a comment |
But pypy ppa only has dists and pool folders in root, not the .debs.
– Archisman Panigrahi
Oct 28 '13 at 10:59
The location of each deb file is given in thePackagesindex. I think you can probably organise the deb files however you want providing the paths are correct. Thedistsdir however needs to have the correct structure to work.
– chronitis
Oct 28 '13 at 11:10
But pypy ppa only has dists and pool folders in root, not the .debs.
– Archisman Panigrahi
Oct 28 '13 at 10:59
But pypy ppa only has dists and pool folders in root, not the .debs.
– Archisman Panigrahi
Oct 28 '13 at 10:59
The location of each deb file is given in the
Packages index. I think you can probably organise the deb files however you want providing the paths are correct. The dists dir however needs to have the correct structure to work.– chronitis
Oct 28 '13 at 11:10
The location of each deb file is given in the
Packages index. I think you can probably organise the deb files however you want providing the paths are correct. The dists dir however needs to have the correct structure to work.– chronitis
Oct 28 '13 at 11:10
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f367147%2fhow-to-host-a-repository-in-my-own-site-like-a-ppa%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown