Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Switch to multilib profile (no chroot/binpkg)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
NTU
Apprentice
Apprentice


Joined: 17 Jul 2015
Posts: 187

PostPosted: Mon Aug 17, 2015 10:32 pm    Post subject: HOWTO: Switch to multilib profile (no chroot/binpkg) Reply with quote

Hello! This is a really short, basic tutorial on switching to a multilib profile with ease. This requires no use of chroot, binpkg, and is most likely the easiest and fastest way to switch over compared to any other documentation. No chroot, no installing gentoolkit, or other utilities, just dry and simple.

1.) Switch to multilib profile

Code:

eselect profile list


Select the one that says: default/linux/amd64/13.0

In this case, it is 1

Code:

eselect profile set 1


2.) Fetch and replace headers

Download the latest stage3 multilib tarball, decompress to a temporary directory and replace headers:

Example:
Code:

cd ~/
wget http://mirrors.rit.edu/gentoo/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20150813.tar.bz2
mkdir -p tmp
tar xjpf stage3-amd64-20150813.tar.bz2 -C tmp/
mv -v tmp/usr/include/gnu/* /usr/include/gnu/


3.) Emerge glibc against new profile

Code:

emerge -v glibc


4.) Emerge gcc against new profile

Code:

emerge -v gcc


5.) Emerge binutils agaisnt new profile

Code:

emerge -v binutils


6.) Update world to new profile

Code:

emerge --with-bdeps=y -uvDN @world


If this isn't straight forward enough, I don't know what is. Cheers!
Back to top
View user's profile Send private message
greister
n00b
n00b


Joined: 29 May 2005
Posts: 6

PostPosted: Sat Sep 24, 2016 11:50 am    Post subject: Reply with quote

Today I want to switch my system to systemd and have this problem.
Hope to solve is.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum