Questions tagged [packaging]
creating packages for software installation, such as .deb (Debian & derivatives), .rpm (RHEL/CentOS), .bff (AIX), Solaris pkg / pkgadd, etc. Do NOT use this tag for /software-installation or /package-management
349
questions
0
votes
1
answer
81
views
How to build GNU Hello .deb?
I can't seem to work out how to build GNU Hello on Ubuntu 22.04. To reproduce, start a Docker container using docker run --interactive --rm --tty ubuntu:22.04, then run the following:
apt-get update
...
0
votes
0
answers
166
views
unable to modify source directory in debuild
In my project, I use CMake and the source directory is not under the debian directory. I understand that I have to use the --sourcedirectory option in the rules to set the directory containing the ...
1
vote
0
answers
311
views
build Debian package "chromium 108" on Debian Buster
I am trying to build chromium 108 for Debian Buster. The package only exists for Debian Bullseye, so on my Debian Buster build machine, I need to change the /etc/apt/sources.list to bullesyse and ...
1
vote
1
answer
866
views
How to start a 3rdparty systemd service from a debian package
I have a debian package which contains configuration for systemd-networkd e.g. I configure my interface IP.
That only makes sense if systemd-networkd is running.
Because of that I want to ensure that ...
3
votes
2
answers
186
views
How are binary packages isolated from host system?
How are binary packages (rpm, deb, etc) created for binutils, gcc and other packages that link to different libs depending on what exists on the host system?
In the LFS project, to isolate the new ...
1
vote
0
answers
36
views
Is it possible to harden systemd below 7.0 if my package needs permissions to install other packages?
I am not sure if my question has a proper answer but I still wanted to try.
I want to harden my app systemd, the problem is that my package needs permissions to install other packages (that is one of ...
21
votes
1
answer
16k
views
How to package my software in nix or write my own package derivation for nixpkgs
How can I write a simple derivation to package a program for nix and how can I create a PR to include it in nixpkgs?
(I am writing this as I can't find simple explanations)
1
vote
0
answers
119
views
apt-get is asking for an older .deb file from a local repo even after putting a newer version
I have a local repository setup on the server (server1) hosted by Nginx. It has few .deb packages and a bash script on another local server (server 2) uses the repo to install packages. I had to ...
1
vote
1
answer
32
views
From program to complete project, what does a "real" Unix app require?
I'm finishing off a small command-line BASIC interpreter for Unix. It currently consists of a dozen sources and headers, a makefile, test files and an Xcode project for working on the Mac. This is my ...
1
vote
0
answers
129
views
Creating rpm/deb packages for different configurations of my app which will replace each other
TL;DR I want to ship my application in two configurations: basic package and full package with additional modules. How do i do that?
I have two packages for my application for CentOS: app.rpm which is ...
0
votes
1
answer
1k
views
apt can't install anything after manually upgrading kernel to 5.18
I got a new laptop for work and now destroyed it lol
I installed Debian 11 with LVM and everything I needed.
How I ended up in this situation
Everything was perfect, except for my docking station ...
1
vote
1
answer
208
views
dpkg-genbuildinfo: error: badly formed line in files list file, line 1
I am trying to debianize a collection of shell scripts. The build itself is quite simple, as there are no binaries to build – every file that will be installed on the target system is already present ...
15
votes
5
answers
5k
views
Why are there pre-compiled packages in repositories?
I love (the way) how Linux & Co. lets users install many packages from different repositories.
AFAIK, they come also with source-packages, so you can compile them by yourself.
But why even bother ...
0
votes
1
answer
373
views
I need a package for my version of RHEL/EPEL/CentOS/Fedora, but it's only packaged for other versions of Redhatoids
I'm often in the situation where I backport some fedora-packaged software to CentOS, or forward-port something from an older version of EPEL to Fedora, or vice versa.
How can I do that with the least ...
1
vote
1
answer
844
views
How to create from sources deb packages for different architectures
I have to install a software on some devices with debian package, it isn't available for their architectures on apt for debian (but it is available for other distibutions as e.g. ubuntu), and they ...