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

This tag is for questions regarding the creation of packages for later installation of software on Unix systems.

327 questions
189
votes
12 answers

What are the pros/cons of deb vs. rpm?

For whatever reasons, I've always used RPM based distributions (Fedora, Centos and currently openSUSE). I have often heard it stated that deb is better than rpm, but when asked why, have never been able to get a coherent answer (usually get some…
Evan
  • 2,041
  • 2
  • 13
  • 8
173
votes
3 answers

What is the Fedora equivalent of the Debian build-essential package?

What is the Fedora equivalent of the Debian build-essential package?
Steve Burdine
  • 6,131
  • 6
  • 26
  • 21
169
votes
2 answers

Zip everything in current directory

I'd like to compress and package everything, including files and folders in current directory, into a single ZIP file on Ubuntu. What would be the most convenient command for this (and name of the tool needed to be installed if any)? Edit: What if I…
Terry Li
  • 1,935
  • 2
  • 17
  • 14
82
votes
1 answer

Which Fedora package does a specific file belong to?

In the Debian family of OSes, dpkg --search /bin/ls gives: coreutils: /bin/ls That is, the file /bin/ls belongs to the Debian package named coreutils. (see this post if you are interested in a package containing a file that isn't installed) What is…
tshepang
  • 64,472
  • 86
  • 223
  • 290
56
votes
4 answers

Is there a tool/website to compare package status in different Linux distributions?

I am currently looking for a website or a tool that would allow me to compare the package state of a particular software in different Linux distributions. For instance, which version of gimp is provided by Mint, Ubuntu, Debian Sid and Fedora 18? An…
Thomas Moulard
  • 800
  • 6
  • 14
33
votes
4 answers

How do I tell which GPG key an RPM package was signed with?

The cryptographic signature of an RPM can be verified with the rpm -K command. This returns a string containing gpg (or pgp) and ending in OK if the signature is in RPM's database and is valid. If the package is not signed but the checksums are…
mattdm
  • 39,535
  • 18
  • 99
  • 133
26
votes
5 answers

Is there is a PPA-service equivalent in the Fedora world?

For Ubuntu there is this convenient PPA service available where you can get your own package repository. You can put there source packages which are under an open source license, e.g. development snapshots of your software. (The server takes care…
maxschlepzig
  • 56,316
  • 50
  • 205
  • 279
20
votes
1 answer

Debian package naming convention?

It's all very confusing. There are different examples out there, for e.g.: _:--.deb source: debian package file names Is section 5.6.12 Version or the Debian Policy Manual also…
Preexo
  • 4,613
  • 4
  • 19
  • 21
19
votes
1 answer

What is ac_nonexistent.h?

Examining a buildlog from a failed build, what does the following error mean, fatal error: ac_nonexistent.h: No such file or directory #include Here is some context. configure:6614: $? = 0 configure:6627: result: none…
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290
18
votes
9 answers

Why do Linux applications often put the language it was written with in the summary?

When showcasing applications, Windows and Mac mostly talk about features. Linux applications, on the other hand, have more details about what language was used to write it (and accompanying libraries) rather than features. Why is that? I could…
Jordan Parmer
  • 283
  • 1
  • 6
17
votes
3 answers

What is Binary package? How to build them?

I want to get detail about binary package and run them on linux. I am running Debian base (Ubuntu/Linux mint) Linux os. How to build binary package from source? And can I directly download binary package for applications (like firefox, etc.) and…
Pandya
  • 23,898
  • 29
  • 92
  • 144
16
votes
4 answers

In Debian based systems, how do we purge configuration files of packages that have already been uninstalled?

To be more specific, I would like to do the equivalent of adding the --purge flag to the following command sudo apt-get autoremove --purge [package name] to packages that are no longer on the system. Preferably, I would like to know how to do it to…
15
votes
5 answers

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 to "keep/offer" pre-compiled packages, when you could…
Ben
  • 299
  • 3
  • 6
15
votes
1 answer

How can I upgrade my deb package

I have qt project and deb package that is built using following command: dpkg-buildpackage -us -uc After this action, my package is ready to install. But if I have my package installed and I want install the same or newer, it removes all files which…
Vlad
  • 151
  • 1
  • 1
  • 3
14
votes
1 answer

How to generate the `Release` file on a local package repository?

CONTEXT With a local package repository, I'm able to provide my APT instances with a set of software packages and configurations from a server which I control, allowing any client to install this software using just the normal apt install command…
Adrian Maire
  • 1,896
  • 4
  • 19
  • 30
1
2 3
21 22