You are not logged in.

#1 2010-06-03 19:32:09

SirEdgar2nd
Member
Registered: 2009-03-21
Posts: 17

32 bit apps, 64 bit environment 32bit chroot pacman32

Well, I'm getting a little tired downloading excessive amounts of 32 bit libraries, and always missing some when ever I Want to install an aplication so I tried installing a 32 bit chroot environment again lightweight install

http://wiki.archlinux.org/index.php/Arc … bit_system

This section here is to better highlight the segment

Create an alias for pacman32, the command to be used to install 32-bit packages. Just add the following line to your ~/.bashrc or similar:
alias pacman32="pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf"
Sync pacman32:
pacman32 -Sy
Install basic packages for 32-bit subsystem. These are the minimal packages that allow you to chroot to the subsystem and run locale-gen script for i18n.
pacman32 -S filesystem licenses bash sed coreutils gzip
Now you are ready for the following steps. Remember that you should replace all pacman commands required to run the chroot environment with pacman32 under the 64-bit system.

when I run pacman32 it says

[edgar@myhost ~]$ pacman32 -Sy
pacman: option '--config' requires an argument
bash: /opt/arch32/pacman.conf: Permission denied

I didn't quite get it since it seems 'right' to me o_O but I'm somewhat a noob when it comes to these sort of things really... well, at least this time around I can sort of read the commands properly XD... (Sort of)

I just wanna be able of compiling, and installing 32 bit applications really :\

Last edited by SirEdgar2nd (2010-06-03 19:34:10)

Offline

#2 2010-06-03 20:57:59

raj7095
Member
Registered: 2010-02-14
Posts: 91

Re: 32 bit apps, 64 bit environment 32bit chroot pacman32

try this as root

chmod 755 /opt/arch32/pacman.conf

if that doesnt work then (as root)

chmod +x /opt/arch32/pacman.conf

Last edited by raj7095 (2010-06-03 20:59:09)

Offline

#3 2010-06-04 00:16:56

SirEdgar2nd
Member
Registered: 2009-03-21
Posts: 17

Re: 32 bit apps, 64 bit environment 32bit chroot pacman32

Well...I no longer get the argument error o_O

but now I have another issue, I can only use pacman32 as root...which is obviously like normal pacman but the thing is wouldn't I Need to add the alias thingy to whatever root uses as bashrc for that to work properly o-O?


I wonder if thats what it meant by

"Now you are ready for the following steps. Remember that you should replace all pacman commands required to run the chroot environment with pacman32 under the 64-bit system." :\  Blargh

Offline

Board footer

Powered by FluxBB