Sunday, February 12, 2012

Installing 32-bit libraries in Ubuntu

You might face some trouble in installing 32-bit libraries in ubuntu when you need to install an age old game or a 32-bit code that comes only precompiled. The debs you download from some site will not be installed because ubuntu will give a Architecture doesnt match error. Now, you are in trouble unless you know about this gem of an advice i saw from ArtificialIntelligence of Ubuntuforums, here.

wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
sudo dpkg -i getlibs-all.deb

This will install getlibs on your computer. Now, you can install the 32bit libraries once you get the corresponding .deb.

getlibs -i blah_i386.deb

This is the same as the

sudo dpkg -i blah_x86_64.deb

that you do to install a 64bit package on your computer.

Happy gaming!!

PS: i used this to play Gridwars. One helluva game, inspires me to do something of that sorts in OpenGL.

No comments:

Post a Comment