USE flags

http://www.gentoo.org/dyn/use-index.xml http://gentoo-portage.com/USE

I prefer to fetch all packages that I will emerge later

emerge --fetchonly --quiet gentoo-sources genkernel slocate vixie-cron dhcpcd syslog-ng coldplug hotplug reiserfsprogs pcmcia-cs grub gentoolkit

profile http://www.gentoo.org/doc/en/gentoo-upgrading.xml

If you decide to migrate to the new profile, then you will have to manually perform the update. The way you update may vary significantly from release to release; it depends on how deep the modifications introduced in the new profile are. In the simplest case you only have to change the /etc/make.profile symlink, in the worst case you may have to recompile your system from scratch while doing a neat voodoo dance. Migration is usually covered in the release notes. You can also find instructions at the end of this guide. Supported profiles You can view the list of profiles on your architecture officially supported by Gentoo developers when you emerge eselect and then run the following command: Code Listing 2.1: Viewing supported profiles # eselect profile list

urychleni

ccache http://gentoo-wiki.com/Ccache

# emerge -av dev-util/ccache # emerge --info | grep CHOST # ccache-config --install-links YOUR-CHOST-HERE When emerging ccache as root the following ccache files and folders are installed: /usr/lib/ccache - houses files that portage will run instead of the original compilers /usr/bin/ccache - the ccache executable that the files mentioned directly above link to /root/.ccache - stores the cache When emerging ccache as a user, another folder is additionally created: /var/tmp/ccache - stores the cache Note: I could not get ccache to work properly until I created a symlink, it seems to be getting confused by the existence of two separate directory locations. mv /root/.ccache /root/snafu.ccache ln -s /var/tmp/ccache /root/.ccache /etc/make.conf - FEATURES="ccache" CCACHE_DIR="/var/tmp/ccache" CCACHE_SIZE="2G"

TIP Shutdown after emerge - http://gentoo-wiki.com/TIP_Shutdown_after_emerge

emerge PACKAGE && poweroff

cisteni disku

http://forums.gentoo.org/viewtopic-t-337074.html

update

emerge --newuse (-N) Tells emerge to include installed packages where USE flags have changed since compi lation. emerge --deep (-D) This flag forces emerge to consider the entire dependency tree of packages, instead of checking only the immediate dependencies of the packages. As an example, this catches updates in libraries that are not directly listed in the dependencies of a package. emerge --emptytree (-e) Reinstalls all world packages and their dependencies to the current USE specifications while differing from the installed set of packages as little as possible.

# emerge --deep --newuse --update world # emerge -e world http://www.root.cz/zpravicky/problemy-vyvojaru-gentoo/ Nekteri pani jak vidno nezvladnou napsat ani tri prikazy...to ten kram pak musi vypadat... emerge -uDN world revdep-rebuild (manualni oprava?) etc-update ... a vse je jak ma byt (skoro vzdy;o) ... Btw doporucuju ten posledni prikaz nahradit dispatch-conf. prechazi na sourcemage gnu linux

benchmark

SysBench

Poslední změna: 27.11.2007 09:52:58