How to install multilib

From Salix OS
Revision as of 03:21, 30 March 2010 by NeRok (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Original Source: http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib

In this guide we will discuss how to install multilib support for 32bit apps on 64bit O/S. It is based on a 'full' version of Salix. The source guide is more in-depth, this guide is only the minimal steps required for Salix.

Obtain/Install multilib Packages

The multilib-enabled packages and scripts are available for download from http://connie.slackware.com/~alien/multilib/

All the required packages can be downloaded into your home>download with the following command:

cd ~/Download/
wget -r -l1 --no-parent http://connie.slackware.com/~alien/multilib/13.0/

To install the packages, we will run the terminal within the '13.0' directory downloaded above, then install:

cd ~/Download/connie.slackware.com/~alien/multilib/13.0/
su
upgradepkg --reinstall --install-new *.t?z

Obtain/Install 32-Bit Slackware Package Tree

The instructions on the source page require you to setup a package tree and then convert the packages to suit.

Alternatively, the essential and already converted packages can be downloaded and installed with the following commands:

cd ~/Download/
wget -r --no-parent http://connie.slackware.com/~alien/multilib/13.0/slackware64-compat32/
cd ~/Download/connie.slackware.com/~alien/multilib/13.0/slackware64-compat32/
su
installpkg *-compat32/*.t?z

Using 32-Bit Software

Pre-compiled software can be installed and run as-is. If the software you are running requires a library that is not available, follow the instructions to install it here: http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib#running_32-bit_programs

If you are installing software from souce, first you must run the following command to configure the terminal to use the 32-bit packages:

. /etc/profile.d/32dev.sh

The effect will last until you logout from your shell.

If you are installing software from a SlackBuild or similar, please consider the additional instructions here: http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib#compiling_32-bit_programs