| Gentoo |
WebHome | UnixGeekTools | Geekfarm | About This Site
External Pointers
Internal Pointers
- Linux - open-source and free Unix-type operating system
- ZoneMinder - linux camera-based home security software
- UnixGeekTools - other great tools for unix geeks
emerge
- http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=3
- update the portage tree -
emerge --sync
- find package -
emerge --search pdf
, emerge --searchdesc pdf
- removing a package -
emerge --unmerge xyz
- create a prebuilt package -
emerge --quickpkg
- build package -
emerge --buildpkg
- build package only -
emerge --buildpkgonly
- install pre-built package -
emerge --usepkg --getbinpkg
- search for updates -
emerge -Dup world
- man emerge
Masked Packages
Updating ports
- updating your system - emerge --update --ask world
- updating entire system - emerge --update --deep world
- full update - emerge --update --deep --newuse world
- full rebuild removing orphaned dependencies
# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild
building kernel
- emerge pciutils -
lspci
- upgrade kernel source -
emerge -u gentoo-sources
- cd /usr/src/linux; make menuconfig
- make && make modules_install
- mount /boot; cp arch/i386/boot/bzImage /boot/<kernel-version>
- find available modules:
find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'
- vi /boot/grub.conf
- autoloaded modules:
/etc/modules.autoload.d/kernel-2.6
rc-update
- add and remove init scripts to a runlevel
- rc-update show
- rc-update add sshd default
- rc-update del xyz
- rc-status
- /etc/init.d/sshd start
Gentoolkit
- http://www.gentoo.org/doc/en/gentoolkit.xml
- install -
emerge gentoolkit
- determine source package for file -
equery belongs /usr/bin/xyz
- verify package integrity -
equery check xyz
- determine packages depending on xyz -
equery depends xyz
- dependency graph for specified package -
equery depgraph xyz
- files belonging to package -
equery files xyz
- packages with USE flag xyz -
equery hasuse xyz
- search for packages -
equery list xyz
- determine package size -
equery size xyz
- list of use flags for package -
equery uses xyz
- determine ebuild path -
equery which cdrtools
- rebuild dependencies -
revdep-rebuild -p
- gentoo linux security advisory check -
glsa-check
Configuring Mail
- man ssmtp
- /etc/ssmtp/ssmtp.conf - set mailhub
- /etc/ssmtp/revaliases - set up aliases
Updated Tue Jul 25, 2006 6:15 PM