😅 Arch Linux Wiki

pacman -Syu && pacman -Scc && journalctl --vacuum-time=1d && bleachbit && updatedb
pacman -S archlinux-keyring  # if some time since last use

if needed generate a up to date mirror list again

try soon? in-kernel smb3 share, small subset of samba features but fast

Icon  Name                         Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] _config/ 2023-08-30 22:47 - [   ] _conkyrc 2017-02-06 10:02 2.5K [   ] _gtkrc-2.0 2021-11-18 03:54 33 [   ] _tint2rc 2021-10-24 10:16 223 [   ] _Xdefaults 2023-08-29 12:29 2.1K [DIR] archiso_playbook/ 2023-09-16 18:38 - [TXT] asennus_macbook2009-2022.txt 2022-11-22 20:55 1.6K [DIR] aur/ 2019-04-29 08:24 - [   ] biggies 2024-02-13 18:17 106 [DIR] chrome-remote-desktop/ 2022-12-15 09:10 - [DIR] endeavour/ 2022-11-26 19:43 - [DIR] from_mac/ 2023-02-10 23:04 - [DIR] junest/ 2023-01-25 13:50 - [DIR] jwm/ 2024-01-28 15:28 - [TXT] jwmrc.txt 2024-01-28 15:25 7.3K [TXT] luks-usb-key.html 2019-10-19 12:11 383 [   ] mbp2009-wifi 2021-12-26 20:42 364 [   ] nvidia2old-ati 2021-07-31 01:14 232 [DIR] openstack/ 2022-11-26 19:43 - [   ] pacman_-Qe 2023-08-30 22:51 0 [DIR] podman/ 2023-07-08 12:31 - [DIR] vscode/ 2023-02-10 22:14 -
 NEW in 2021 - archinstall script is now (was?) in installer .iso image 
 no more excessive configuring of smallest repetitive details _b 
 https://github.com/archlinux/archinstall
......................................................................
 NEW in 2022-12 archinstall script may crash when attempting to partition
 if you do not remove USB stick after it is loaded to RAM
......................................................................
 https://wiki.archlinux.org/index.php/Installation_guide
......................................................................
 slow start ups of GTK apps and using wayland maybe?
    pacman -S --needed xorg-xwayland 
......................................................................

### old unneeded dependencies?

pacman -Rsn $(pacman -Qdtq)

### neofetch with goodies

pacman -S --needed neofetch xorg-xwd xdotool feh xorg-xdpyinfo  xorg-xrandr xorg-xwininfo


### pre 2023, without archinstall script, small qemu guest dev box with X

# https://wiki.archlinux.org/title/Installation_guide
# arch-chroot
pacman -S --needed dhcpcd dhcping gvim grub htop jq ksh man-db man-pages moreutils strace sudo rsnapshot texinfo
ln -sf /usr/share/zoneinfo/Europe/Helsinki  /etc/localtime
hwclock --systohc
vim /etc/locale.gen 
locale-gen 
cat > /etc/locale.conf
cat /etc/locale.conf
cat > /etc/vconsole.conf
cat  /etc/vconsole.conf
cat > /etc/hostname 
cat /etc/hostname 
passwd
mount
grub-install --target=i386-pc /dev/vda
grub-mkconfig -o /boot/grub/grub.cfg
ip a
dhcpcd enp1s0
pacman -Syu
systemctl status dhcpcd 
systemctl enable dhcpcd 
systemctl start dhcpcd 
systemctl status dhcpcd 
reboot
useradd -m -G wheel -s /bin/bash  ltuuri
visudo
#
# sshd
#
systemctl start sshd
systemctl enable  sshd
systemctl status  sshd
#
# quemu guest Xorg, aur and dotnet capabilities, small X apps
# 
lspci -v | grep -A1 -e VGA -e 3D
pacman -Ss qxl
pacman -S --needed xf86-video-qxl
#
pacman -S --needed arandr archlinux-xdg-menu aspnet-targeting-pack base-devel   \
bash-completion bc dotnet-sdk firefox geany git leafpad lttng-ust2.12 obconf    \
openbox pcmanfm plocate tig ttf-bitstream-vera ttf-dejavu ttf-liberation unzip  \
vte3 vte4 wget xdg-utils xorg xorg-fonts-misc xorg-xcalc xorg-xclock xorg-xinit \
xorg-xlsfonts xorg-xrandr xterm zip xclip
#
# font size of many gtk* gui apps
#
sudo vim /usr/share/gtk-2.0/gtkrc




### baremetal, old style audio 

pacman -S --needed alsa-tools alsa-utils archlinux-xdg-menu base-devel bind-tools bc ca-certificates evince exfat-utils freerdp git gmrun grub gtk2-perl gvim htop intel-ucode leafpad lftp libxss linux-headers man-db man-pages mlocate obconf openbox openssh pacman pavucontrol pcmanfm perl perl-file-mimeinfo pulseaudio pulseaudio-alsa sudo ttf-bitstream-vera ttf-liberation wget xdg-utils xf86-video-nouveau xlockmore xorg xorg-fonts-misc xorg-xcalc xorg-xclock xorg-xinit xorg-xrandr xorg-xlsfonts xscreensaver xterm

# ^huom jos amd-cpu ei intel-ucode:a, jos ei vanhaa nvidia-gpu:ta ei nouveau:ta jne

### smaller guest or baremetal ( choose LXQT task in installer script? )

pacman -S adwaita-icon-theme arandr archlinux-xdg-menu base-devel borg fcgi feh firefox geany git gmrun jq leafpad libxdg-basedir lighttpd man-db man-pages mlocate obconf openbox perl-fcgi rsnapshot rxvt-unicode sqlite tig ttf-bitstream-vera ttf-dejavu ttf-liberation xdg-desktop-portal xorg-xcalc xorg-xclock xorg-xkill xorg-xsetroot xorg-xrandr xorg-xsetroot

# ntp https://wiki.archlinux.org/index.php/Systemd-timesyncd
# Telia/Sonera ntp{1,2,3}.inet.fi esim 
#
# /etc/systemd/timesyncd.conf
[Time]
NTP=192.89.123.26 192.89.123.230 192.89.123.231
FallbackNTP=time.mikes.fi time1.mikes.fi time2.mikes.fi 
RootDistanceMaxSec=5
PollIntervalMinSec=32
PollIntervalMaxSec=2048




# Sound
# https://wiki.archlinux.org/index.php/PulseAudio/Configuration

# Power usage
powertop -c
powertop --auto-tune




# Wi-Fi
dmesg | grep firmware
ip link
ifstat
systemctl stop dhcpcd@enp0s25.service
wifi-menu
cd /etc/netctl/
cp examples/wireless-wpa .
vim wireless-wpa
netctl start wireless-wpa
netctl enable wireless-wpa # always autostart



# Google Chrome with AUR
pacman -S --needed base-devel
git clone https://aur.archlinux.org/google-chrome.git
cd google-chrome
makepkg -sri
# will prompt for installation
# on other host, if needed, 
# pacman -U ( path || URL )

......................................................................

# virtuaalikoneita kyytiin
pacman -S --needed dnsmasq iptables-nft libvirt openbsd-netcat qemu virt-manager dmidecode
usermod -aG libvirt 
systemctl enable libvirtd.service
reboot
# https://wiki.archlinux.org/index.php/Libvirt

virsh net-list --all
virsh net-start default
virsh net-autostart default

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_and_managing_logical_volumes/

LVM guest:eille? esim.
lsblk
pvcreate /dev/nvme0n1p1
pvs
vgcreate guests /dev/nvme0n1p1
vgs
vgdisplay guests | grep 'VG Size'

# lvcreate -n libvirt -L 232.87G guests
# lvs
# lvscan
#
# # wait, not here but with virsh!
#
# lvremove guests # to remove all logical volumes on volume group guests
#
# # back to track, 11.3.6. Creating LVM-based storage pools using the CLI

virsh pool-define-as libvirt logical --source-name guests --target /dev/guests

 (Pool libvirt defined)

virsh pool-list --all # it's there, but inactive
virsh pool-start libvirt
virsh pool-autostart libvirt
virsh pool-list --all # now o.k.
virsh pool-info libvirt # so much free space for guests

......................................................................

# photo editing?
pacman --needed -S darktable dcraw geeqie gimp imagemagick

# hyper-v ?
https://wiki.archlinux.org/index.php/Hyper-V