User:Ax/Gentoo
< User:Ax
Jump to navigation
Jump to search
https://forums.gentoo.org/viewforum-f-10.html https://wiki.gentoo.org/wiki/FAQ
Paketmanagement
emerge
emerge --sync # entspricht "aptitude update" emerge -uDN @world # Systemweites update --ask # ask for confirmation [-f|-F] # src nur herunterladen aber nicht bauen -C # remove software
pakete/dateien (programme) finden
Am Beispiel "bc":
<petrvs> debdog: emerge -n eix; eix-update; eix -e bc <petrvs> debdog: emerge -Opv bc <petrvs> debdog: emerge -n pfl; e-file bc | less
emerge pfl; e-file [command|filename]
< i4dnf> jesdog - packages.gentoo.org < i4dnf> jesdog - and http://gpo.zugaina.org < i4dnf> (last one searches in all overlays) < i4dnf> emerge eix < i4dnf> eix xcdroast
eselect
eselect locale eselect news eselect profile
Notizen
i4dnf has this in /etc/portage/make.conf EMERGE_DEFAULT_OPTS="--ask --verbose --autounmask=n --ignore-built-slot-operator-deps=y"
<i4dnf> this might be useful too: FEATURES="parallel-fetch candy collision-protect fixlafiles splitdebug"
<debdog> i4dnf: about multilib. https://wiki.gentoo.org/wiki/Eudev "abi_x86_32". I need at least one 32bit programme and perhaps wine, too.should I add that to USE? <debdog> also, I have added "multilib", does that mean everything will be compiled with 32bit, too? or is there a way to tell emerge what libs and progs I actually need in 32bit? <i4dnf> debdog - emerge wine whill whine about the ones that want abi_x86_32 <i4dnf> then add those to /etportage/package.use/somefilename like so <i4dnf> app-cat/app-name abi_x86_32 <debdog> so I don't need to add this to eudev? <i4dnf> /etc/portage/package.use/$somefilename * <debdog> and I should probably remove "multilib " from USE? <i4dnf> if it needs 32 bit udev you have to (though i doubt it) <i4dnf> leave multilib on
<i4dnf> debdog - btw, to check current emerges, emerge genlop, then genlop -c
<i4dnf> emerge -1v app-portage/cpuinfo2cpuflags then cpuinfo2cpuflags-x86 <i4dnf> btw, you might want to run dispatch-conf asap <-- "config files in '/etc' need updating"
kernel/bootmgr
Next select the exact processor type. It is also recommended to enable MCE features (if available) so that users are able to be notified of any hardware problems. On some architectures (such as x86_64), these errors are not printed to dmesg, but to /dev/mcelog. This requires the app-admin/mcelog package.
cd /usr/src/linux make [x|menu]config make -j5 && make -j5 modues_install make install cp /boot/vmlinuz-<version> /boot/efi/boot/bootx64.efi genkernel --install initramfs
make clean # nur bei compile errors benötigt
elilo eliloalt
efibootmgr -c -d /dev/sda -p 1 -L "Gentau" -l "\efi\boot\bootx64.efi" \ -u 'initrd=\initramfs-genkernel-<version> root=/dev/sda3 raid=noautodetect'
livecd: lspci -k (module für I218-V)