Skip to content

Instantly share code, notes, and snippets.

@ilude
Last active January 16, 2020 05:45
Show Gist options
  • Save ilude/6352ef10f0d288a0a65b176804729228 to your computer and use it in GitHub Desktop.
Save ilude/6352ef10f0d288a0a65b176804729228 to your computer and use it in GitHub Desktop.
Arch Notes
# Fix “invalid or corrupted package (PGP signature)”
sudo pacman -S archlinux-keyring
# update system --noconfirm
sudo pacman -Su
# remove package
sudo pacman -R <package_name>
# add package
sudo pacman -S <package_name>
# install yay
sudo pacman -S --needed base-devel gitsudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
# search for AUR package
yay -Ss <package_name>
# install AUR package
yay -S <package_name>
# upgrade all AUR packages
yay -Suy
# remove AUR package
yay -Rns <package_name>
38 sudo yay -Ss nomad
39 sudo yay -S nomad
40 yay -S nomad
41 LC_ALL=C lscpu | grep Virtualization
42 zgrep CONFIG_KVM /proc/config.gz
43 lsmod | grep kvm
44 zgrep VIRTIO /proc/config.gz
45 lsmod | grep virtio
46 modprobe virtio
47 modprobe virtio
48 modprobe virtio_ring # Comment this out if you do not need block driver
49 modprobe virtio_blk # Comment this out if you do not need block driver
50 modprobe virtio_net # Comment this out if you do not need net driver
51 modprobe virtio_pci
52 pacman -Ss qemu-headless
53 pacman -S qemu-headless
54 sudo pacman -S qemu-headless
55 modprobe -r kvm_intel
56 modprobe kvm_intel nested=1
57 Module kvm_intel not found in directory /systool -m kvm_intel -v | grep nested
58 systool -m kvm_intel -v | grep nested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment