Post thumbnail of Convert Debian deb packages to RPM
27 August 2010
Continue reading Convert Debian deb packages to RPM

Convert Debian deb packages to RPM

If you’re running Fedora or RedHat and you download the plugin required from Google to make voice calls from inside gmail, you’ll need to convert it to an RPM before you can use it. Alien will convert RPMs to Debian .deb packages and vice versa. Download and unpack. You don’t even need to compile or install to use it.

Post thumbnail of Automate rpmbuilds from spec files including name-version-build info automatically
28 June 2010
Continue reading Automate rpmbuilds from spec files including name-version-build info automatically

Automate rpmbuilds from spec files including name-version-build info automatically

Start the spec file with %define statements at the top. Continue the spec file as you would normally, using the variables you just defined in place of the real name, version, build. Create an rpmbuild script that replaces the template variables with current information. Make an rpm target in your Makefile that calls the rpmbuild script.

Post thumbnail of List files in an RPM without installing first
4 June 2010
Continue reading List files in an RPM without installing first

List files in an RPM without installing first

You can list the contents of an rpm without installing it first. If you’re not going to build your own from source, you should at least check an rpm before installing it to see what it’s going to install.

Post thumbnail of Build noarch RPM packages when architecture matters not
1 June 2010
Continue reading Build noarch RPM packages when architecture matters not

Build noarch RPM packages when architecture matters not

With rpmbuild, you can make custom packages for any architecture, but what if there’s no difference between the architectures in what you’re building. If you’re copying around something like scripts, docs or other text files that have nothing to do with 32 vs 64 bit or endianness, it’s easier and more efficient to create a single noarch package and just keep one copy of it in a repository.

Post thumbnail of Rpmbuild check-rpaths can break spec files
20 January 2010
Continue reading Rpmbuild check-rpaths can break spec files

Rpmbuild check-rpaths can break spec files

Rpmbuild’s RPATH feature is used to search libraries outside of standard paths. They are given to the linker at buildtime. If the developers of the code you’re trying to turn into an RPM did not take any of these considerations into account when they write their programs then you may be forced to skip check-rpath.

Post thumbnail of Install swfdec-mozilla flash plugin for browsers from binary or source
18 December 2009
Continue reading Install swfdec-mozilla flash plugin for browsers from binary or source

Install swfdec-mozilla flash plugin for browsers from binary or source

Install the prerequisites noted in the README file if you’re building swfdec and swfdec-mozilla from scratch. I found I only needed to install liboil-devel and gstreamer-plugins-base-devel in order for it to build without complaint. When installing from binary on my 64-bit os, I found I was missing a lot of 32-bit packages needed by the plugin, so my dependencies needed by swfdec-mozilla.i386 rpm was long.

Post thumbnail of LftpFS network filesystem with caching for easy repository mirroring
2 December 2009
Continue reading LftpFS network filesystem with caching for easy repository mirroring

LftpFS network filesystem with caching for easy repository mirroring

LftpFS is a read-only network filesystem with caching for smart mirror of sites. Useful for mirroring of Linux repositories. It’s based on FUSE and LFTP client, which supports FTP, HTTP, FISH, SFTP, HTTPS, FTPS protocols and works over proxies.

Post thumbnail of YUM: Thread died in Berkeley DB library, Fatal error, run database recovery
2 November 2009
Continue reading YUM: Thread died in Berkeley DB library, Fatal error, run database recovery

YUM: Thread died in Berkeley DB library, Fatal error, run database recovery

Before I get to the problem, here’s the interesting part. If you list the files in /var/lib/rpm/ you will see the flat berkeley database files, but not all of them. And I didn’t notice there was one missing until I went to fix it. I’m not sure what caused/causes this, but I found a pretty simple solution.

Post thumbnail of How to avoid stripping when building RPMs
21 April 2009
Continue reading How to avoid stripping when building RPMs

How to avoid stripping when building RPMs

I’ve found 3 ways to disable the strip binary option when building RPMs.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of How to figure out RPM dependencies
20 April 2009
Continue reading How to figure out RPM dependencies

How to figure out RPM dependencies

You might need to look at an RPM file and figure out what it needs, retrieve it by hand, and install the packages yourself.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
 Page 1 of 2  1  2 »
Powered by Wordpress   |   Lunated designed by ZenVerse