How to correctly enable multiarch support on a 64bit crunchbang install.


This tutorial was blatantly stolen from Jon Almeida’s website, so thanks to him for putting this together.

  1. Add the new architecture via dpkg:

    sudo dpkg --add-architecture i386
    
  2. Add [arch=amd64,i386] to each source in /etc/apt/sources.list. The resulting lines should look something like this:

    deb [arch=amd64,i386] http://packages.crunchbang.org/waldorf waldorf main
    
  3. Upgrade things, and install ia32-libs, then upgrade again for good measure:

    su -c "aptitude update && aptitude upgrade -fy"
    sudo aptitude install ia32-libs
    su -c "aptitude update && aptitude upgrade -fy"
    

Now you should be able to install and run 32 bit libraries and programs along side the 64 bit ones.

" "