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

Request to add .deb package support for Debian/Ubuntu #154

Open
malash opened this issue Dec 5, 2022 · 3 comments
Open

Request to add .deb package support for Debian/Ubuntu #154

malash opened this issue Dec 5, 2022 · 3 comments

Comments

@malash
Copy link

malash commented Dec 5, 2022

First, thanks author's great work, nali is a awesome tool that I usually use on my MacBook Pro and VPS.

I can easily find the prebuild package from brew on macOS but hard to install it on my Ubuntu server.

So I hope there could be a pre-build .deb package in release files, or a better solution that add nali to Debian/Ubuntu PPA.

@zu1k
Copy link
Owner

zu1k commented Feb 20, 2023

Very sorry for the late reply.

I am not a skilled deb packager, and although I have checked some documentation and understand that deb packaging is not complicated, I still have some questions.

The most common linux distribution I use is ArchLinux, because it is updated on a rolling basis, so most users have the latest glibc version, for which users don't run into the problem of mismatched libc versions that golang depends on when updating nali.

For Debian/Ubuntu, users installing deb packages from the distribution repository will not encounter the problem of not finding the matching version of libc, but if I release a nali deb compiled under ubuntu 22.04, users running older versions of debian will most likely encounter the problem I mentioned.

It is not clear to me that there is an appropriate solution to this problem. And I don't see any benefit in packaging a deb package for a program like nali that only requires a single executable, I prefer to provide an automated install script or even integrate self-upgrading in nali.

@asukaminato0721
Copy link

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nali-go-bin https://github.com/makedeb/makedeb will do the job.

tl;dr: makedeb use PKGBUILD to build the deb. but only a bit of difference. https://docs.makedeb.org/makedeb/differences-from-makepkg/

@ks-xh
Copy link

ks-xh commented Nov 7, 2023

为什么我不能启动它?Debian/Ubuntu 两者都不行,
wget https://github.com/zu1k/nali/releases/download/v0.8.0/nali-linux-386-v0.8.0.gz

Pasted image
Pasted image 1
Uploading Pasted image 2.png…

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