Find the 32bit deb package from your 64bit system

13Jan11

I’m sure I’m not the only one that has had to install a 32bit version of some package to get a game or other program not designed for 64bit to work in 64bit Linux/Ubuntu/Debian and I’m sure others will nod in agreement at how difficult it can be to find the 32bit version, especially if you need a bunch and don’t really have the time to wade through packages.ubuntu.com (or packages.debian.org for that matter), so I’ve cooked up a little Python script to find the URL for the 32bit version of a package for you.

It’s here.

You just run it with the name of the package you want to find as the first argument, like so:

$ ./apt-get-i386-package.py libpulse0
http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu/pool/main/p/pulseaudio/libpulse0_0.9.22-0ubuntu1_i386.deb

See? Easy.

Also note that it found it in a PPA – it uses your package database, so everything you can theoretically install can be found in a 32bit version.

Advertisements


No Responses Yet to “Find the 32bit deb package from your 64bit system”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: