Applications 32 bits sur une Debian Amd64

De MicElectroLinGenMet.

Sommaire

Installer des applications 32-bit dans un chroot sur Debian Amd64

Installation d'un Linux 32 bits sur une partition

# mount /dev/sda3 /mnt/sid32bits
# debootstrap --arch i386 sid /mnt/sid32bits http://ftp.fr.debian.org/debian/

Montage de proc dev et home

# mount -t proc none /mnt/sid32bits/proc
# mount -o bind /dev /mnt/sid32bits/dev
# mount -o bind /home /mnt/sid32bits/home
# mount -o bind /home/dan/documents /mnt/sid32bits/home/dan/documents

Mise à jour du Linux 'chrooté'

# chroot /mnt/sid32bits
# apt-get update
# apt-get install locales
# apt-get install gcc make pmake
# apt-get install flex bison
# apt-get install subversion
# apt-get install libncurses5-dev
# apt-get install bc
# apt-get install gcc-4.2

Initialisation de variable d'environnnement:

# export debian_chroot=sid32bits (pour affichage PROMPT)

Installation packages spécifiques

Package SDK carte Acme Fox:

# dpkg -i cris-dist_1.63-1_i386.deb

Administration wiki