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
68
questions with no upvoted or accepted answers
9
votes
1
answer
2k
views
How to build and publish binaries for multiple Debian/Ubuntu distributions?
For a proprietary piece of software I'd like to build and publish multiple versions of software for multiple distributions. E.g. 1.0, 1.1 and both versions for squeeze, wheezy and precise.
The builds ...
5
votes
1
answer
3k
views
Creating .deb with systemd service but without SysV init scripts
I'm trying to add a systemd service file to an existing Debian package. I followed https://wiki.debian.org/Teams/pkg-systemd/Packaging, so I created debian/packagename.service. Because my debhelper is ...
4
votes
0
answers
612
views
Is it possible to create an RPM package from an install script?
I'd like to easily create RPM packages for some random projects that do not come bundled as RPM (or whose RPMs are severely outdated).
Take the Pop OS GTK theme as an example.
Installing the theme ...
3
votes
1
answer
1k
views
Is there a way to package npm dependencies into a .deb package for offline deployment?
I've created a very simple debian .deb package that deploys my node-red project to the correct directory structure on a target machine. I also have a number of python/debian dependencies, which I've ...
3
votes
0
answers
250
views
How to package README.md in a Debian git source repository?
I'm trying to create a brand new Debian-ish package (mostly for private use but I'm thinking about publishing it on GitHub) based on a third-party program that doesn't currently have a Debian package.
...
3
votes
1
answer
3k
views
How to install Python module dependencies from my RPM?
I have an application that I am packaging as an RPM and installing on CentOS 7. When I install the RPM I want it to install some compiled binaries as well as some Python modules with their ...
3
votes
1
answer
1k
views
How Do I Package a Django Website for Debian (Not a Python Package or Egg)?
I have been searching for the last two weeks and chased myself into multiple dead ends trying to figure out the path that takes me where I want to go. However I finally have to admit that my answer ...
3
votes
1
answer
87
views
How can I configure iptables for per application setup?
I am working on a project where we are building lots of micro-services. Each service is neatly packaged as an RPM.
Ideally I'd like for us to have iptables enabled on all of our machines and it would ...
3
votes
1
answer
243
views
Is there a way to "stabilize" past built unstable Gentoo binary packages without rebuilding?
Here's the scenario:
build some ~amd64 package versions on your binhost
later those same package versions go stable in portage, so no version bumps involved
even if packages are listed stable in ...
3
votes
0
answers
447
views
Debian package to install closed-source
I'm writing an application that relies on a closed-source (but free-as-in-beer available) library. I'm currently making a Debian repository to host it, and need a way to depend on that library, so I ...
2
votes
1
answer
307
views
dpkg command spontaneously killed on first run, works second time
I have a home made Debian package that installs two scripts files, two systemd services and a tar file. The handmade maintainer scripts are preinst, post inst, prerm and postrm.
The problem I'm ...
2
votes
2
answers
6k
views
Yum repository throwing - [Errno -1] Package does not match intended download
I am building a Yum repository to install RPM packages.
I am creating a folder mkdir -p ~/yum/el7/x86_64 and moving rpm file to it under same path given above.
Here is my my-app.repo file info.
[my-...
2
votes
1
answer
2k
views
Package depends on mpich, cannot be installed because nothing provides libmpi.so.12
I have some software that uses MPI. I have created an RPM package from that.
The requirements are such that mpich and mpich-devel are included:
BuildRequires: libstdc++-devel autoconf gcc-c++ ...
2
votes
1
answer
747
views
How can I separate directories to different partitions when installing OpenSUSE Leap (and other Linux distros)?
I have a Lenovo 80Q0001NUS laptop that uses a 128 GB SSD and a 1 TB HDD. Both drives now use GPT, and I need to use both Windows and Linux (OpenSUSE) via dual boot. I have my drives partitioned in ...
2
votes
0
answers
190
views
Recommended way of repackaging proprietary deb packages, which include old system libraries
Intro
Long story short, in couple projects I'm using some stereo-cams. Unfortunately, manufacturer provides packages (rpm and deb) for user-space drivers which are not exactly properly formatted (...