2

I would like to install a 32-bit deb package on AMD64. It is not anything system critical, would it cause problems? Is there a better way to install?

2
  • Which package you are trying to install? Oct 17, 2010 at 5:41
  • I am probably going to have to use make-dpkg and compile it myself. :( Oct 18, 2010 at 4:55

3 Answers 3

6

You could do it with

sudo dpkg -i --force-all [package.deb]

After that you can install needed dependencies with

sudo apt-get -f install

Note that this would probably not work because of non-installable dependencies. If the package has no dependencies or all are in Ubuntu - then it will be ok. Alternatively if you decide that you REALLY know what you are doing then you can modify the dependencies of the DEB file manually using:

wget http://sites.google.com/site/lightrush/random-1/goldscripttomodifydebpackagedependencies/videbcontrol.sh

chmod +x videbcontrol.sh ./videbcontrol.sh [package.deb]

And then force install it with the first command given above.

3
  • 1
    +1 for detailed instructions - and for the warning! Oct 17, 2010 at 6:21
  • Thanks everyone, ill give it a go. I know how to do it just wondered if it would be a good idea. :) Oct 17, 2010 at 8:11
  • 3
    You could always experiment with this kind of stuff on a Virtual Machine, so you don't take any risk of breaking your system. Install VirtualBox or VmWare Player. Oct 17, 2010 at 9:22
1

I think you can. There are several packages that do not have a 64bit version. What you can't do is install a 64bit on a 32bit. Nevertheless, depending on the package and dependencies, you might experience some issues. For instance, Firefox 32 bit on a 64bit cannot recognize the 64bit plugins.

1
  • Yes, I see. I needed 32-bit glade libs in this case. Oct 17, 2010 at 8:20
1

I've used this a few times: http://ubuntuforums.org/showthread.php?t=474790

It's a program called getlibs. As one of the other responders mentioned, you'll install using dpkg's --force-all option. Then you run getlibs to get all the 32-bit dependencies.

Before I started using pymazon, i was using this method to get Amazon's MP3 downloader to work under amd64.

Anyway, the instructions are pretty well laid out in the ubuntu forum post. Let me know if you have questions or issues.

I think typically there are no issues. I wouldn't recommend it for system critical things .. but in that case there would probably be a 64-bit version available. But for the deb here and there, I think it's fine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .