Monday, December 21, 2009

Update Gentoo Profile

There are 2 ways to upgrading Gentoo’s profile, which is whether by using the program eselect, or by manual linking.

Firstly the portage tree need to be updated to get the latest profile list by running he following command;

# emerge --sync
The following example is to update using eselect;

# eselect profile list
# eselect profile set <number>
where number is the number of favored profile from the list.

To manually update the profile, simply delete the softlink and create a new link to the intended profile as the following (be sure not to add / at the end of /etc/make.profile)

# rm /etc/make.profile
# ln -s /usr/portage/profiles/<profile of choice> /etc/make.profile
Optionally, in the end you might want to upgrade the system using the new profile;

# emerge --sync
# emerge --update --newuse --deep world

No comments:

Post a Comment