The packaging tag has no wiki summary.
76
votes
12answers
21k views
What are the pros/cons of deb vs. rpm?
For whatever reasons, I've always used RPM based distros (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 ...
21
votes
3answers
433 views
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 ...
17
votes
9answers
692 views
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) ...
8
votes
1answer
444 views
python == python2 OR python == python3 ? How to package, distribute python py2k scripts?
Depending on system, python==python2 or python==python3.
Executable Python scripts, starts with:
#!/usr/bin/env python
#!/usr/bin/env python2
#!/usr/bin/env python3...
For python py3k it is ...
7
votes
4answers
342 views
What installer types should commercial software use to support Linux?
The source code in not open or free, so compilation at installation is not an option. So far I have seen developers that:
provide a tar.gz file and it is up to user to uncompress in suitable ...
7
votes
4answers
4k views
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 ...
7
votes
2answers
125 views
Are RPMs valid across platforms?
I'm a little confused about RPM's in Red Hat and/or Fedora (and/or other distros?). I can certainly accept that 64-bit RPM's are needed for 64-bit OS'es and 32-bit for 32-bit OS'es but... If I have ...
7
votes
1answer
378 views
How do I emulate the “Replaces:” function of a Debian package in an RPM?
I need to use NSCD, the Name Service Caching Daemon, to decrease load on our LDAP server, on my SLES10 systems. In my experience, the default nscd, supplied as part of GNU LibC, is garbage, and will ...
6
votes
2answers
4k views
How to find out which package a file belongs 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 ...
6
votes
3answers
733 views
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 ...
6
votes
2answers
228 views
How to include data files (pictures, text files, …) in a debian package
I'm a beginner in Debian packaging so sorry for the obvious question.
I followed a tutorial to make a package application, but it only deals with the source, there's absolutely no other file types ...
5
votes
1answer
331 views
Appending checksum information to file
I'd like to embed checksum information into file, that I transfer.
It's tar.gz or tar.xz file and I can only transfer one file to remote side.
How do you recommend I embed checksum information?
I ...
4
votes
5answers
342 views
How do idiomatic Unix programs detect what prefix they are installed under?
If I install a binary with non-standard prefix, e.g. /opt/bin/foo, which needs some static files from /opt/share/foo, how does it find them? Using back references relative to the executable ...
4
votes
3answers
270 views
How can produce an “installer” in Linux?
How can I produce an installer for a set of source codes for a specific application in Linux? Also, what are the actions happening when one installs software in Linux?
4
votes
1answer
278 views
How to register application in KDE?
Normally, when you install regular package of KDE application, its icon shows up in KDE menu.
Now, I am making package for app which came in *.zip file, I can install it, run it, but it does not show ...
4
votes
3answers
255 views
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 ...
3
votes
3answers
286 views
Is there a Linux utilities repository online accessible from a web browser?
Is there some place which has the collection of all the latest Linux utilities (something like filehippo.com for Windows utilities)?
I know I can use various download utilities similar to yum, each ...
3
votes
1answer
511 views
Repackaging a Debian package
I need instructions on how to do repackage a .deb package.
Situation:
I have a .deb package for an application with no source. I need to modify a Description field, save the file change and ...
3
votes
1answer
218 views
What are the different software packaging formats and which distributions support them as part of base install?
Which distros support RPMs? Which distros support DEB packages? What other distros and package formats exists? Here is what I think I know, but am interested in getting a more precise answer:
RPM ...
3
votes
3answers
70 views
Cross-distribution/OS packaging
Fedora, FreeBSD, OS X (Homebrew, MacPorts), Ubuntu, Debian, and others all use different packaging systems for binary and source distribution.
When I develop a new application I want to make it ...
3
votes
1answer
3k views
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 ...
3
votes
2answers
753 views
make a linux “from scratch” using package manager?
Is there an easy way yet to make a linux system "from scratch" using a package manager like pacman, dpkg, etc.?
For example, something with which you can just say you want a working computer system ...
3
votes
1answer
233 views
Help with PKGBUILD
As I would expect, there are a lot of Arch Linux users in here, and I think one of you can help me before upload my first PKGBUILD.
The package I want to build is from a git repo. I've read the wiki ...
3
votes
2answers
409 views
How do major package managers differ?
It appears that the major package managers are (in no particular order) apt, yum, and pacman. But when it comes down to it, what is the difference? My understanding is that you can use any of them on ...
3
votes
1answer
48 views
Creating deb file: hidden files specification by `install` file
I'm creating a deb-file and enumerating the files and paths I need to have in the package using the install file. It looks like
dir1/* path1
dir2/* path2
...
But in a result deb-file there are no ...
3
votes
3answers
803 views
How to add packages onto a Fedora live USB
I want to create Fedora 14 live CD with additional packages I want. How to do it?
3
votes
1answer
403 views
Creating a .sh wrapper in my debian package
I'm trying to build a debian package for a program that uses mono. My make install target currently puts all of my binaries /usr/local/lib/mypackage, then creates a tiny executable script in ...
2
votes
5answers
246 views
How well does alien work for converting packages?
Is it feasible to build an RPM package and then utilize alien to create the DEB package rather than investing time in building a DEB package? Or do certain pieces not translate well?
2
votes
2answers
2k views
libX11.so.6 Not found
I tried to make && make install package, but I get an error:
libX11.so.6 not found
Where can i get this lib?
2
votes
5answers
198 views
Where are some good guides for making packages (deb, rpm, etc)?
I am looking for a succinct howto on the basics.
2
votes
2answers
75 views
What to do about an outdated, but easily fixed, PKGBUILD in AUR?
I've found an outdated PKGBUILD on AUR. The source URL that it references doesn't exist anymore. It can easily be fixed by incrementing a version number.
What is the proper way of solving this? I've ...
2
votes
1answer
939 views
How do I add a postinst file to my debian package?
I'm trying to add a 'postinst' script to my debian package to clean up something a previous version may have left behind.
I've simply created a 'postinst' file in the debian/ directory, but the file ...
2
votes
1answer
131 views
Debian package issue: files are installing into '/'
I have been recently trying to package a small Python utility to put on my PPA and I've almost got it to work, but I'm having problems in making the package install the binary (a chmod +x Python ...
2
votes
1answer
52 views
Creating a Debian package that does not remove directories after it's purged
I'm trying to create a Debian package that doesn't delete an empty directory after it's purged. Specifically, I'm creating my own package containing some CA certificates I trust.
I'm following ...
2
votes
2answers
88 views
Two differently-versioned binary Debian packages from one source
I'm thinking about properly Debianizing a package, which contains two parts in one upstream tarball/git branch:
Userspace binaries and libraries, version 1.5.0 (foobard binary package)
Kernel ...
2
votes
1answer
204 views
Generic RPM that can install on any os - error: RPM is for a different operating system
How can I make a rpm from a spec file that can be installed on any host? Currently I have a spec file but when installing the rpm on other hosts I get this:
package my_software-1.0-1dist is for a ...
2
votes
0answers
31 views
What does apt need to be healed of a bad setup?
I made a couple of earlier posts regarding a libssl-dev that, it seemed, was not removable. Some of the replies touched on that there was a problem with apt, and now that someone posted the command to ...
2
votes
1answer
121 views
Obtaining/Packaging RPM dependencies for Fedora/RHEL linux application — no network access
I currently have an RPM file with 2-3 dependencies specified in the 'Requires' section. When this application is installed using yum, it works fine and the dependencies are installed if they are ...
2
votes
0answers
66 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
1answer
174 views
What user installs a .deb package?
I am experiencing a behavior in the installation of a .deb package that I don't really understand.
I have a set of "things" in my computer that I deploy to remote computers using a .deb package. I ...
1
vote
2answers
258 views
dpkg and google-chrome don't get along with gnome
Install fine. Works fine. Next day the logo and apps menu entry is gone. Doesn't seem to matter what I do. On installation, GDebi refused to install the package, and crashed instead, so I used dpkg ...
1
vote
2answers
150 views
How to display duplicates between 2 repositories
I got 2 repos locally. One is a copy of Squeeze and another is a custom one, and is managed by reprepro. Are there ready-made tools that would generate a list of duplicate packages between the two?
1
vote
1answer
25 views
Specifying a dependency of a version greater than N and less than M
Is it possible to specify the dependency of another library that is within a specific range of versions?
Like:
Depends: Lib (<= 4) -- dependency of a library that has version less or equal to 4 ...
1
vote
1answer
33 views
conffiles syntax
I'm trying to find what is the syntax of conffiles.
I'm creating several packages using a single rules file and if I put the configuration files into conffiles I get an error when building the ...
1
vote
1answer
77 views
How soon do new releases get packaged into Debian Testing?
Mono 3.0 has been released yesterday. I am really excited by this release and am curious to know when this will be available in Debian testing (Wheezy).
Is there a standard timeline set by Debian ...
1
vote
3answers
250 views
How to implement conditional update of deb package
I am creating a deb package of a product which is part open source and part proprietary. In order to reuse the built in functionality of some distributions like Ubuntu to monitor a list of ...
1
vote
1answer
135 views
Compiling against a newer version of glib?
I'm working on a piece of software that needs to compile against a very modern version of glib, but also needs to run on Ubuntu 11.10 (which doesn't come with that version). My first thought was to ...
1
vote
1answer
149 views
Changes for py2cairo ebuild to activate xpyb in build
I would like to build qtile for Funtoo/Gentoo and there is also a nice py2cairo ebuild, but it misses an option for xpyb, so it builds without those options, now my interesst is to fork that ebuild ...
1
vote
1answer
159 views
Repackaging RPMs
We're using HP DataProtector for our backup environment. The installation method leaves something to be desired, and we're attempting to automate it in such a way that it makes our Unix admins cringe ...
0
votes
1answer
66 views
package management [duplicate]
Possible Duplicate:
automatically installing packages
I have two virtual machines, and I want to install packages atomically from repository . Is there any specific package management ...