Installer VoidLinux
Configurer le Clavier
Configurer le Réseau
Configurer la Source
Configurer le Repo
Configurer le Hostname
Configurer la Langue
Configurer la Timezone
Configurer le mot de passe Root
Configurer l'Utilisateur
Configurer Grub
Configurer les Partitions
Configurer les FS
Définir Bash
chsh -s /usr/bin/bash
su - void -c 'chsh -s /usr/bin/bash'
Installer KDE
xbps-install -Syv kde5 kde5-baseapps kdegraphics-thumbnailers ark kdialog kwalletmanager gwenview
ln -s /etc/sv/sddm /var/service/
Installer GNOME
xbps-install -Syv gnome gnome-apps file-roller
ln -s /etc/sv/gdm /var/service/
Installer Cinnamon
xbps-install -Syv cinnamon cinnamon-control-center cinnamon-desktop cinnamon-menus cinnamon-screensaver cinnamon-session cinnamon-settings-daemon cinnamon-translations nemo lighdm
ln -s /etc/sv/lighdm /var/service/
Installer Base OS
xbps-install -Syv pipewire alsa-pipewire \
rtkit libspa-bluetooth \
xorg-minimal wayland \
octoxbps \
libarchive tar xz p7zip unzip zip gzip lz4 lzo zstd \
linux-firmware linux-firmware-network sof-firmware \
cpupower spectre-meltdown-checker \
chrony cronie nano firefox firefox-i18n-fr
Configuration Pipewire
mkdir -p /etc/pipewire/pipewire.conf.d
ln -s /usr/share/examples/wireplumber/10-wireplumber.conf /etc/pipewire/pipewire.conf.d/
ln -s /usr/share/examples/pipewire/20-pipewire-pulse.conf /etc/pipewire/pipewire.conf.d/
GPU AMD (Selon votre matériel)
xbps-install -Syv void-repo-multilib
xbps-install -Syv linux-firmware-amd \
mesa-dri mesa-dri-32bit \
mesa-vdpau mesa-vdpau-32bit \
mesa-vaapi mesa-vaapi-32bit \
mesa-vulkan-radeon mesa-vulkan-radeon-32bit \
libva libva-32bit \
libva-vdpau-driver libva-vdpau-driver-32bit \
mesa-demos glxinfo \
xf86-video-amdgpu
GPU Intel (Selon votre matériel)
xbps-install -Syv void-repo-multilib
xbps-install -Syv linux-firmware-intel \
mesa-dri mesa-dri-32bit \
mesa-vdpau mesa-vdpau-32bit \
mesa-vaapi mesa-vaapi-32bit \
mesa-vulkan-intel mesa-vulkan-intel-32bit \
libva libva-32bit libva-intel-driver libva-intel-driver-32bit \
libva-vdpau-driver libva-vdpau-driver-32bit \
mesa-demos glxinfo \
xf86-video-intel
GPU Nvidia OSS (Selon votre matériel)
xbps-install -Syv void-repo-multilib
xbps-install -Syv linux-firmware-nvidia \
mesa-nouveau-dri mesa-nouveau-dri-32bit \
mesa-vdpau mesa-vdpau-32bit \
mesa-vaapi mesa-vaapi-32bit \
libva libva-32bit \
libva-vdpau-driver libva-vdpau-driver-32bit \
mesa-demos glxinfo \
xf86-video-nouveau
GPU Nvidia (Selon votre matériel)
xbps-install -Syv void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree
xbps-install -Syv linux-firmware-nvidia \
nvidia-firmware \
nvidia nvidia-dkms \
nvidia-libs nvidia-libs-32bit \
nvidia-opencl nvidia-opencl-32bit \
nv-codec-headers nv-codec-headers-32bit \
nvidia-vaapi-driver \
mesa-demos glxinfo \
xf86-video-nouveau
Installer Steam (Optionnel)
Workaround
echo repository=https://repo-default.voidlinux.org/current/multilib > /usr/share/xbps.d/10-repository-multilib.conf
xbps-install -Syv void-repo-nonfree void-repo-multilib
xbps-install -Su
xbps-install -Syv steam libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit mesa-dri-32bit
Installation des Services
ln -s /etc/sv/sshd /var/service/
ln -s /etc/sv/dbus /var/service/
ln -s /etc/sv/NetworkManager /var/service/
ln -s /etc/sv/chronyd /var/service/
ln -s /etc/sv/cronie /var/service/
ln -s /etc/sv/bluetoothd /var/service/
ln -s /etc/sv/rtkit /var/service/
ln -s /var/lib/dbus/machine-id /etc/machine-id
ln -s /usr/share/applications/pipewire.desktop /etc/xdg/autostart/pipewire.desktop
Définition du temps (Optionnel)
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
Définir la Langue FR (Optionnel)
sed -i "s@#fr_FR.utf8@fr_FR.utf8@g" /etc/default/libc-locales
nano /etc/locale.conf
LANG=fr_FR.UTF-8
LC_COLLATE=C
LC_ALL=fr_FR.UTF-8
xbps-reconfigure -f glibc-locales
xbps-install -Syv poppler-data \
qt5-translations qt6-translations \
firefox-i18n-fr thunderbird-i18n-fr \
aspell-fr hunspell-fr_FR \
libreoffice-i18n-fr \
manpages-fr
Création des dossiers Home
xbps-install -Syv xdg-user-dirs
su - void -c "xdg-user-dirs-update --force"
Installer le Kernel 6.4 (Selon votre choix)
xbps-query --regex -Rs '^linux[0-9.]+-[0-9._]+'
xbps-install -Syv linux6.6
Installer AppArmor (Optionnel)
xbps-install -Syv apparmor
nano /etc/default/grub
Changer GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4"
vers GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4 apparmor=1 security=apparmor"
Installer les dépendances Wine (Optionnel)
xbps-install -Syv wine
xbps-install -Syv alsa-plugins alsa-plugins-32bit alsa-lib alsa-lib-32bit \
FAudio FAudio-32bit \
freetype freetype-32bit \
libXft libXft-32bit \
flex \
fluidsynth libfluidsynth libfluidsynth-32bit \
libXrandr libXrandr-32bit xrandr \
libldap libldap-32bit \
mpg123 libmpg123 libmpg123-32bit \
libXcomposite libXcomposite-32bit \
libXi libXi-32bit \
libXinerama libXinerama-32bit \
libXScrnSaver libXScrnSaver-32bit \
libopenal libopenal-32bit \
alsa-pipewire alsa-pipewire-32bit pipewire pipewire-32bit libjack-pipewire libjack-pipewire-32bit \
mit-krb5 mit-krb5-32bit \
gnutls gnutls-32bit \
giflib giflib-32bit \
gst-libav gst-plugins-ugly1 \
gst-plugins-bad1 gst-plugins-bad1-32bit \
gst-plugins-base1 gst-plugins-base1-32bit \
gst-plugins-good1 gst-plugins-good1-32bit \
gstreamer1 gstreamer1-32bit \
libpng libpng-32bit \
v4l-utils v4l-utils-32bit \
vulkan-loader vulkan-loader-32bit \
libgpg-error libgpg-error-32bit \
libjpeg-turbo libjpeg-turbo-32bit \
libgcrypt libgcrypt-32bit \
ncurses ncurses-libs ncurses-libs-32bit \
ocl-icd ocl-icd-32bit \
libxslt libxslt-32bit \
libva libva-32bit \
glu glu-32bit \
sqlite sqlite-32bit \
gtk+3 gtk+3-32bit \
libpulseaudio libpulseaudio-32bit \
libnm libnm-32bit \
gamemode libgamemode libgamemode-32bit \
vkBasalt vkBasalt-32bit \
cabextract
Installer Flatpak (Optionnel)
xbps-install -Syv flatpak xdg-desktop-portal xdg-user-dirs xdg-utils
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.discordapp.Discord
Installer Discord (Optionnel)
xbps-install -Syv git xtools
git clone https://github.com/void-linux/void-packages
cd void-packages
./xbps-src binary-bootstrap
echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf
./xbps-src pkg discord
xi discord
Installer Emudeck (Optionnel)
xbps-install -Syv bash flatpak fuse git jq rsync steam unzip zenity xmlstarlet wget
cd /home/void/Bureau && wget https://www.emudeck.com/EmuDeck.desktop
Installer sur mkinitcpio (Optionnel)
xbps-install -Syv mkinitcpio
xbps-alternatives -s mkinitcpio
sed -i 's@#COMPRESSION="zstd"@COMPRESSION="zstd"@g' /etc/mkinitcpio.conf
# Forcer amdgpu
#sed -i "s@MODULES=()@MODULES=(amdgpu)@g" /etc/mkinitcpio.conf
# Blacklister radeon
#echo "blacklist radeon" > /etc/modprobe.d/radeon.conf
xbps-reconfigure -f linux6.6
KDE Fix Permission (Optionnel)
mkdir -p "/var/lib/sddm/"{.config,.cache,.dbus,.local}
chown -R sddm:sddm /var/lib/sddm
KDE Fix SDDM Keyboard (Optionnel)
echo "setxkbmap fr" >> /usr/share/sddm/scripts/Xsetup