Script that configure my Linux post-install.
Open the terminal and paste these lines:
This was made to install after you've runned the archinstall
command and set up at least a minimal install before
sudo pacman -Sy --needed --noconfirm curl rsync reflector git
Reflector allows Arch to get the fastest mirrors for package downloading.
Note: If you are not in Brazil, then change "BR" to your own country/code.
sudo reflector --country BR,AR,CL,EC,PY,US,CA,MX --sort rate --save /etc/pacman.d/mirrorlist
ArchWSL ~ Project Link
These steps are for ArchWSL only.
# Fix 'git: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by git)'
sudo pacman -Sy --noconfirm archlinux-keyring git glibc
❔ Notes for ArchWSL (Based on THEIR wiki)
- Open the
linux-script.sh
, - Select
[MENU] Arch for WSL
option, - Then
[WSL] ArchWSL setup Root and User
for setting root/user accounts- Close the Terminal window;
- Open powershell and type
Arch.exe config --default-user <<YOUR_USERNAME>>
;
- Then reopen the terminal and run steps 1-2 to select
[WSL] ArchWSL Post Configurations (Workflow)
for environment config.
Get git
for Fedora:
sudo dnf install -y git
Get git
for Ubuntu:
sudo apt install -y git
Never sudo this script, OKAY? It requests sudo when needed
mkdir --parents ~/Downloads
git clone https://github.com/LeDragoX/LinuxScript.git ~/Downloads/linux-script
cd ~/Downloads/linux-script/
chmod --recursive +x *.sh # Current folder files
chmod --recursive +x **/**/*.sh # Check all folders inside the current folder
bash --login ./linux-script.sh
Note
This script was made following these conventions:
Package | All Distros |
---|---|
asdf | ✔️ |
curl wget | ✔️ |
git | ✔️ |
nvm | ✔️ |
rvm | ✔️ |
unzip zip | ✔️ |
which | ✔️ |
zsh | ✔️ |
These packages will be installed in Arch and Fedora Desktop versions:
Package | Verified |
---|---|
dev.vencord.Vesktop | ✔️ |
org.onlyoffice.desktopeditors | ✔️ |
net.rpcs3.RPCS3 | ❌ |
net.pcsx2.PCSX2 | ✔️ |
org.DolphinEmu.dolphin-emu | ❌ |
org.ppsspp.PPSSPP | ✔️ |
org.duckstation.DuckStation | ✔️ |
net.kuribo64.melonDS | ✔️ |
app.xemu.xemu | ❌ |
org.libretro.RetroArch | ✔️ |
org.ryujinx.Ryujinx | ✔️ |
Package | Arch | Arch (WSL2) |
---|---|---|
archlinux-keyring (Essential) | ✔️ | ✔️ |
adobe-source-han-sans-cn/hk/jp/kr/otc/tw-fonts noto-fonts-emoji ttf-dejavu | ✔️ | ❌ |
amd-ucode intel-ucode | ✔️ | ❌ |
arc-gtk-theme | ✔️ | ❌ |
code | ✔️ Snap | ❌ |
discord | ❌ Opt-out | ❌ |
emote | ✔️ Snap | ❌ |
file-roller | ✔️ | ❌ |
gimp | ✔️ | ❌ |
google-chrome-stable | ❌ Opt-out | ❌ |
gnome-keyring | ✔️ | ❌ |
gparted | ✔️ | ❌ |
grub-customizer os-prober | ✔️ | ❌ |
htop | ✔️ | ❌ |
lib32-pipewire pipewire pipewire-alsa/jack/pulse wireplumber | ✔️ | ❌ |
microsoft-edge-stable | ✔️ AUR | ❌ |
man-db man-pages | ✔️ | ✔️ |
nano vim | ✔️ | ❌ |
fastfetch | ✔️ | ❌ |
obs-studio | ✔️ | ❌ |
parsec-bin | ✔️ AUR | ❌ |
pavucontrol | ✔️ | ❌ |
python-pip | ✔️ | ❌ |
qbittorrent | ✔️ | ❌ |
scrcpy | ✔️ | ❌ |
slack | ✔️ Snap | ❌ |
spotify-client | ✔️ AUR | ❌ |
steam | ✔️ | ❌ |
steam-native-runtime | ✔️ | ❌ |
svp | ✔️ AUR | ❌ |
vlc | ✔️ | ❌ |
snapd yay | ✔️ | ✔️ |
Package | Arch | Arch (WSL2) |
---|---|---|
cuda lib32-nvidia-utils nvidia/-lts nvidia-settings | ✔️ | ❌ |
Package | Arch | Arch (WSL2) |
---|---|---|
libmediainfo lsof qt5-base qt5-declarative qt5-svg vapoursynth | ✔️ | ❌ |
mpv-full rsound spirv-cross svp | ✔️ AUR | ❌ |
Package | Require GPG/PPA | Ubuntu | Ubuntu (WSL2) |
---|---|---|---|
adb fastboot scrcpy | ❌ | ✔️ | ❌ |
apt-transport-https code | ❌/GPG | ✔️ | ❌ |
build-essential | ❌ | ✔️ | ✔️ |
discord | ❌ | ✔️ Deb | ❌ |
file-roller | ❌ | ✔️ | ❌ |
gdebi gdebi-core | ❌ | ✔️ | ✔️ |
gimp | ✔️ PPA | ✔️ | ❌ |
google-chrome-stable | ✔️ GPG | ❌ Opt-out | ❌ |
gparted | ❌ | ✔️ | ❌ |
grub-customizer grub-efi grub2-common os-prober | ✔️ PPA/❌/❌/❌ | ✔️ | ❌ |
htop | ❌ | ✔️ | ✔️ |
pipewire pipewire-pulse/audio-client-libraries wireplumber | ❌ | ✔️ | ✔️ |
gstreamer1.0-pipewire libspa-0.2-bluetooth libspa-0.2-jack | ❌ | ✔️ | ✔️ |
microsoft-edge-stable | ✔️ GPG | ✔️ | ❌ |
neofetch | ❌ | ✔️ | ✔️ |
ntfs-3g | ❌ | ✔️ | ❌ |
nvidia-driver-xxx | ❌ | ✔️ v525 | ❌ |
obs-studio | ✔️ PPA | ✔️ | ❌ |
onlyoffice-desktopeditors | ❌ | ✔️ Deb | ❌ |
parsec-bin | ❌ | ✔️ Deb | ❌ |
pavucontrol | ❌ | ✔️ | ❌ |
pip | ❌ | ✔️ | ❌ |
qbittorrent | ✔️ PPA | ✔️ | ❌ |
spotify-client | ✔️ GPG | ✔️ | ❌ |
nano vim | ❌ | ✔️ | ✔️ |
vlc | ❌ | ✔️ | ❌ |
Licensed under the MIT license.