Gentoo

From SkyWiki

(Difference between revisions)
Jump to: navigation, search
(New page: emerge --sync emerge portage emerge -u system emerge -u world emerge lynx emerge -C =sys-apps/mktemp-1.5)
Current revision (07:54, 19 September 2008) (view source)
m
 
(5 intermediate revisions not shown.)
Line 1: Line 1:
-
 
+
read current package descriptions
  emerge --sync
  emerge --sync
 +
update Portage base software
  emerge portage
  emerge portage
 +
update system packages
  emerge -u system
  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
  emerge -u world
 +
download, build and install package "lynx"
  emerge lynx
  emerge lynx
 +
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

kernel upgrade using Gentoo packages

Personal tools