Installation
https://wiki.archlinux.org/title/Installation_guide
Boot from USB drive.
Load keyboard layout
# loadkeys trq
Connect to Wi-Fi. (Tab Tab will help for auto complete)
# iwctl
[iwd]# device list
[iwd]# station wlan0 connect m1
[iwd]# exit
# timedatectl set-ntp true
#cfdisk // or // #fdisk -l
# mkfs.ext4 /dev/sda5
# mkswap /dev/sda7
# mount /dev/sda5 /mnt
# swapon /dev/sda7
If home should be in another partititon:
# mkdir /mnt/home
# mount /dev/sda6 /mnt/home
For UEFI systems, mount the EFI system partition:
# mkdir /mnt/efi
Then mount the EFI partition on the EFI mount point.
# mount /dev/sda2 /mnt/efi
Start installation:
# pacstrap /mnt base linux linux-firmware
Configuration:
For path (like /dev/sda1) use -L,
for UUID: use -U
# genfstab -U /mnt >> /mnt/etc/fstab
# genfstab -L /mnt >> /mnt/etc/fstab
# arch-chroot /mnt
# ln -sf /usr/share/zoneinfo/Turkey /etc/localtime
# hwclock --systohc
Edit /etc/locale.gen and uncomment en_GB.UTF-8 UTF-8 and other needed locales. Generate the locales by running:
# pacman -S nano
# nano /etc/locale.gen
# sed -i 's/#en_GB.UTF-8/en_GB.UTF-8/g' /etc/locale.gen
# locale-gen
# echo "LANG=en_GB.UTF-8" > /etc/locale.conf
# echo "KEYMAP=trq" > /etc/vconsole.conf
# echo "archpc" > /etc/hostname
# echo "127.0.1.1 archpc" >> /etc/hosts
# mkinitcpio -P
# passwd
# pacman -S grub efibootmgr os-prober
To allow other OS'es to be detected...
nano /etc/default/grub
add or uncomment the following line:
GRUB_DISABLE_OS_PROBER=false
# grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
# grub-mkconfig -o /boot/grub/grub.cfg
An error fired saying there is no space in efi partition... To be fix it. Unnecessary items deleted from boot menu:
#efibootmgr
#efibootmgr -v
#efibootmgr --delete-bootnum --bootnum 0007
Delete old records, if necessary
#rm -r /boot/EFI/RemixOS
#rm -r /boot/EFI/ubuntu
Instal Desktop Environment
- pacman -S xorg xorg-server
- pacman -S xfce4 sudo
- pacman -S lightdm lightdm-gtk-greeter
Connect to Wi-Fi
After long time the following finally works. (Can be run inside arch-chroot)
https://www.youtube.com/watch?v=MAi9DurTRQc
# pacman -S networkmanager network-manager-applet
# systemctl enable NetworkManager.service
# ip link
After starting xfce4 session (strartxfce4), if network manager is not running, can be started by:
# systemctl disable netctl-auto@wlan0.service
# systemctl disable dhcpcd@enp1s0.service
# systemctl start NetworkManager.service
Fixing Ethernet Network Problem after installation:
- pacman -S dhcpcd
- systemctl enable dhcpcd
- ip link
Get interface name from the output of "ip link" and enable it.
- systemctl enable dhcpcd@enp0s3.service
PRIMARY:
- sudo pacman -S zenity code yad wmctrl sxiv recode jq sqlite3 geany openssh xfce4-clipman-plugin xfce4-notifyd xfce4-pulseaudio-plugin xfce4-smartbookmark-plugin xfce4-taskmanager xfce4-whiskermenu-plugin parcellite xautomation lightdm lightdm-gtk-greeter alsa-utils sshfs ufw parallel socat bash-completion python-pip tk mono wget pcmanfm mpv pulseaudio pavucontrol onboard xfce4-cpugraph-plugin xfce4-notes-plugin xfce4-xkb-plugin ecryptfs-utils oath-toolkit sqlitebrowser xclip proxychains-ng sox libid3tag libmad twolame expect xdotool boost-libs gvfs qpwgraph xfce4-screensaver
- tap-plugins
sudo systemctl enable lightdm
SECONDARY:
sudo pacman -S opera noto-fonts gnome-subtitles file-roller unrar opera-developer opera-ffmpeg-codecs ardour calf tigervnc
pulseaudio-alsa tmux audacious audacious-plugins
Manually Installed:
- sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
- sudo chmod a+rx /usr/local/bin/youtube-dl
easystroke (for archlinux)
sudo ln -s /usr/lib/libboost_serialization.so.1.83.0 /usr/lib/libboost_serialization.so.1.81.0
easystroke (for Ubuntu)
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.81.0
install yay
sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
install some tools
yay -S easystroke
yay -S espeak
yay -S google-chrome
yay -S xvkbd xsp
python packages
sudo pacman -S python-pymediainfo
PIP:
sudo pip3 install --break-system-packages from_root google_speech pydub bs4 repackage yt_dlp lxml
pymediainfo
Running Monodevelop on Arch Linux