User:Valeriy/Cheatsheet

From Gentoo Wiki
Jump to:navigation Jump to:search

My personal Gentoo cheat sheet.

Upgrade all:

emaint --auto sync
emerge --ask --verbose --update --deep --newuse @world
emerge --depclean

Upgrade kernel:

mount /dev/sda1 /boot
eselect kernel list
eselect kernel set NUMBER_OF_KERNEL
cd /usr/src/linux
make install # Maybe not need
grub-mkconfig -o /boot/grub/grub.cfg
reboot

Install package:

emerge --ask --verbose app-backup/borgbackup

Remove package:

emerge --deselect app-backup/borgbackup
emerge --ask --depclean