arch
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| arch [2014/03/09 10:09] – created michael | arch [2021/07/03 10:01] (current) – mduersch | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Arch Linux ====== | ====== Arch Linux ====== | ||
| - | Packet | + | Paket installation: |
| - | + | pacman -S $name | |
| - | pacman -S $name ($name) | + | Pakte suchen |
| - | + | pacman -Ss $name | |
| Update Sources | Update Sources | ||
| - | + | | |
| - | | + | |
| - | | + | |
| Remove a Packet | Remove a Packet | ||
| - | |||
| pacman -R $name | pacman -R $name | ||
| - | | ||
| Install multiple from a package Group | Install multiple from a package Group | ||
| - | |||
| pacman -S gnome | pacman -S gnome | ||
| Enter a selection (default=all): | Enter a selection (default=all): | ||
| + | Upgrade | ||
| + | pacman -Syu | ||
| + | Installation | ||
| + | create boot and root partition, you may olso use lvm, but makes no sense for / on laptop. | ||
| + | mount /mnt /dev/sa1 | ||
| + | mkdir /boot , | ||
| + | mount /mnt/boot /dev/sda2 | ||
| + | # alternativ mit efi | ||
| + | mount / | ||
| + | ... | ||
| + | | ||
| + | pacstrap /mnt base base-devel wpa_supplicant | ||
| + | genfstab -U /mnt >> / | ||
| + | arch-chroot /mnt | ||
| + | echo archtux > / | ||
| + | echo LANG=de_DE.UTF8 > / | ||
| + | echo LC_COLLATE=C >> / | ||
| + | echo LANGUAGE=de_DE >> / | ||
| + | echo KEYMAP=de-latin1 > / | ||
| + | echo FONT=lat9w-16 >> / | ||
| + | ln -s / | ||
| + | vi / | ||
| + | locale-gen | ||
| + | pacman -Sy | ||
| + | mkinitcpio -p linux | ||
| + | passwd | ||
| + | useradd $user -m -d /home/$user | ||
| + | passwd $user | ||
| + | mkdir $user | ||
| + | chown $user:users $user/ | ||
| + | pacman -S grub | ||
| + | grub-mkconfig -o / | ||
| + | | ||
| + | | ||
| + | # alernativ mit efi: | ||
| + | grub-install --target=x86_64-efi --efi-directory=/ | ||
| + | grub-mkconfig -o / | ||
| - | Upgrade | + | |
| - | + | | |
| - | pacman -Syu | + | cp / |
| + | If you have an Intel CPU: | ||
| + | | ||
| + | Install xorg, plasma and KDE: | ||
| | | ||
| + | pacman -S xorg xorg-xinit xorg-server-utils | ||
| + | pacman -S plasma kdebase | ||
| + | pacmna -S ttf-freefont | ||
| + | pacman -S net-tools gtkmm | ||
| + | systemctl enable sddm | ||
| + | pacman -S net-tools gtkmm | ||
| + | pacman -S networkmanager | ||
| + | systemctl enable NetworkManager | ||
| + | If running in Virtualbox, add: | ||
| + | pacman -Sy virtualbox-guest-utils | ||
| + | pacman -Sy linux-headers | ||
| + | Problems with Sound: | ||
| + | [root@tuxvm user]# pacman -Ss alsa | ||
| + | extra/ | ||
| + | ALSA firmware package | ||
| + | extra/ | ||
| + | An alternative implementation of Linux sound support | ||
| + | extra/ | ||
| + | OSS compatibility library | ||
| + | extra/ | ||
| + | Extra alsa plugins | ||
| + | | ||
| + | Advanced tools for certain sound cards | ||
| + | |||
| | | ||
arch.1394359796.txt.gz · Last modified: 2021/04/24 07:38 (external edit)
