Gentoo
From SkyWiki
(Difference between revisions)
Current revision (07:54, 19 September 2008) (view source) m |
|||
(4 intermediate revisions not shown.) | |||
Line 8: | Line 8: | ||
emerge -u system | emerge -u system | ||
- | update configuration files | + | update configuration files |
etc-update | etc-update | ||
- | update current environment variables | + | update current environment variables |
env-update | env-update | ||
Line 25: | Line 25: | ||
remove version 1.5 of package mktemp | remove version 1.5 of package mktemp | ||
emerge -C =sys-apps/mktemp-1.5 | emerge -C =sys-apps/mktemp-1.5 | ||
+ | |||
+ | manuell kernel upgrade | ||
+ | |||
+ | <pre> | ||
+ | cd /usr/usr | ||
+ | rm linux | ||
+ | ln -s linux-... linux | ||
+ | cd linux | ||
+ | cp ../linux-old.../.config . | ||
+ | make oldconfig | ||
+ | make | ||
+ | #make modules_install | ||
+ | #mount /boot | ||
+ | #cp arch/i386/boot/bzImage /boot/bzImage-2.6.9-gentoo-r2 | ||
+ | make install | ||
+ | cp /boot/vmlinuz /boot/kernel | ||
+ | reboot | ||
+ | |||
+ | uname -a | ||
+ | </pre> | ||
+ | |||
+ | [http://www.gentoo.org/doc/en/kernel-upgrade.xml kernel upgrade using Gentoo packages] | ||
+ | |||
+ | |||
+ | [[category:remember]] | ||
+ | [[category:Linux]] |
Current revision
read current package descriptions
emerge --sync
update Portage base software
emerge portage
update system packages
emerge -u system
update configuration files
etc-update
update current environment variables
env-update
pretend what to du while updating all registered packages
emerge -p -u world
update all registered packages
emerge -u world
download, build and install package "lynx"
emerge lynx
remove version 1.5 of package mktemp
emerge -C =sys-apps/mktemp-1.5
manuell kernel upgrade
cd /usr/usr rm linux ln -s linux-... linux cd linux cp ../linux-old.../.config . make oldconfig make #make modules_install #mount /boot #cp arch/i386/boot/bzImage /boot/bzImage-2.6.9-gentoo-r2 make install cp /boot/vmlinuz /boot/kernel reboot uname -a