This is an old revision of the document!
Arch Linux
Arch Linux si installa dal terminale dei comandi (richiede conoscenze approfondite)
Le istruzioni essenziali sono indicate qui: https://wiki.archlinux.org/index.php/Installation_guide
Questo è solo un riassunto personale:
- Scaricare il file iso (rigenerato mensilmente il primo di ogni mese)
- Creare una chiavetta USB avviabile con dd
dd if=/path/file.iso of=/dev/sdx bs=4M status=progress oflag=sync
- Avviare il computer con questa chiavetta e attendere il messaggio prompt (root)#
- Comandi:
loadkeys it
ls /sys/firmware/efi/efivars
ip link
rfkill
rfkill unblock wlan
rfkill
iwctl
device list
station wlan0 scan
station wlan0 get-networks
station wlan0 connect SSID...
passphrase...
ping archlinux.org
mkfs.ext4 /dev/nvme0n1p...
mount /dev/nvme0n1p...
pacstrap /mnt base linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
passwd
pacman -S nano xterm iwd grub efibootmgr man lightdm lightdm-gtk-greeter xfce4 xorg-server network-manager network-manager-applet nm-connection-editor
libreoffice-still-it firefox
nano /etc/locale.conf
LANG=en_US.UTF-8 LANGUAGE = en_US
nano /etc/vconsole.conf
KEYMAP=it
useradd -m mario...
passwd mario...
nano /etc/hosts
127.0.0.1 localhost ::1 localhost 127.0.1.1 mioshot...
systemctl enable lightdm.service
systemctl enable Network-Manager.service
attenzione alle maiuscole
- se necessario aggiungere il nome del greeter in /etc/lightdm/lightdm.conf
greeter-session=lightdm-slick-greeter
mkinitcpio -P
grub-install /dev/nvme0n1p...
produce errore perche' non trova una cartella…
- si puo' eseguire il comando update-grub da eventuale altra distribuzione già presente sullo stesso PC
exit
umount -R /mnt
reboot
Al riavvio…
pacman -Syu
paccache -r
- il programma “man”, segna qualche errore nelle variabili di ambiene non correttamente configurate
- la tastiera è ancora in inglese, si deve configurare nel menu di xfce
- il font di sistema si chiama semplicemente “monospace” ma in realtà è un font “NimbusMonoPS-Regular.otf: “Nimbus Mono PS” “Regular”. È fastidioso perche' i caratteri “fi” si stringono e uniscono tra loro. La soluzione è installare prima il font Liberation.
- modificare il font nei seguenti 4 posti
- menu application > Appareance > Font
- Terminale xterm > menu preferences
- Gedit > Edit > preferences > interface > interface
- Firefox > General > Font > advanced > Mono
Altri programmi da installare
ttf-liberation tar lzip base-devel thunar gvfs pulseaudio xdg-user-dirs mousepad xfce4-screenshooter xfce4-screensaver thunar-archive-plugin xfce4-cpufreq-plugin xfce4-pulseaudio-plugin pavucontrol pavucontrol-qt usb_modeswitch modemmanager modem-manager-gui modemmanager-qt
gimp dia xorg-xcalc ristetto freemind
Comando da eseguire
LC_ALL=C xdg-user-dirs-update –force
Attenzione, se il disco è SSD può essere necesario modificare /etc/fstab
UUID=f31aee94-060c-4a4e-aaaa-ab32a7a3ec9e / ext4 rw,relatime 0 1 #swap on p9 UUID=9489eee9-29cf-4f06-aaa9-f69cdf60bef3 none swap sw 0 0 tmpfs /tmp tmpfs size=1G,noatime 0 0 tmpfs /var/tmp tmpfs size=1G,noatime 0 0 tmpfs /var/cache/pacman/pkg tmpfs size=500M,noatime 0 0 # tmpfs /home/mario/.cache tmpfs noatime,size=1G,user 0 0