Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Debian package #86

Open
zax71 opened this issue May 1, 2023 · 5 comments
Open

Feature: Debian package #86

zax71 opened this issue May 1, 2023 · 5 comments

Comments

@zax71
Copy link

zax71 commented May 1, 2023

This would be made much easier to install if a Debian package was available to install with apt.

@mgunyho
Copy link
Owner

mgunyho commented May 2, 2023

Hi! I agree that it would be nice to have a Debian package. However, I have no experience with creating those, and right now my main distro is not Debian-based, so I'm probably not the one who should do it.

If a package becomes available, I'm happy to accept a PR that adds it to the list of installation methods in the README.

@orhun
Copy link
Contributor

orhun commented May 2, 2023

@mgunyho if you're interested, I can update build-release.sh script to integrate cargo-deb so that you can also upload a .deb file along with the other assets. I think that makes things a bit easier for Debian users.

@mgunyho
Copy link
Owner

mgunyho commented May 3, 2023

That would be a decent step towards packaging for Debian, but I'm not sure about putting package manager-specific files in the releases page (like we don't have the homebrew / nix / scoop etc packages there either).

How much extra work would it be to put such a .deb to the Debian package repository?

@orhun
Copy link
Contributor

orhun commented May 17, 2023

Hey, sorry for the late reply.

That would be a decent step towards packaging for Debian, but I'm not sure about putting package manager-specific files in the releases page (like we don't have the homebrew / nix / scoop etc packages there either).

I see your point. However, I still think it would be easier for Debian users to just download and install .deb. Let me know if you decide to implement this in the future!

How much extra work would it be to put such a .deb to the Debian package repository?

I'm not very familiar with Debian packaging guidelines but I know that it has some procedures. Maybe someone with more experience can elaborate.

@bauerei
Copy link

bauerei commented Dec 20, 2023

I have no experience with Debian packaging, but I got curious when I read about cargo-deb mentioned by @orhun and I found a blog post https://assafmo.github.io/2019/05/02/ppa-repo-hosted-on-github.html that uses GitHub pages for hosting a Debian repository.

I created a fork https://github.com/bauerei/tere to handle all things related to Debian packaging. A .deb file is added for a release https://github.com/bauerei/tere/releases so that it is possible to download and install it manually. Or, if someone likes, it is possible to add the repository as a third party repository to apt.

Unfortunately I don't know anything about how to get it into the official Debian repos, but maybe this will help a bit.

Let me know what you think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants