Skip to content

Latest commit

 

History

History
executable file
·
234 lines (176 loc) · 12.2 KB

File metadata and controls

executable file
·
234 lines (176 loc) · 12.2 KB

Linux Script

Differential ShellCheck

Script that configure my Linux post-install.

⚙️ Setup Requirements

Open the terminal and paste these lines:

Arch-like

Details

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

⚠️ Get Fastest Mirrors (Arch only)

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)

  1. Open the linux-script.sh,
  2. Select [MENU] Arch for WSL option,
  3. Then [WSL] ArchWSL setup Root and User for setting root/user accounts
    1. Close the Terminal window;
    2. Open powershell and type Arch.exe config --default-user <<YOUR_USERNAME>>;
  4. Then reopen the terminal and run steps 1-2 to select [WSL] ArchWSL Post Configurations (Workflow) for environment config.

Fedora

Details

Get git for Fedora:

sudo dnf install -y git

Ubuntu-like or WSL2

Details

Get git for Ubuntu:

sudo apt install -y git

🚀 Usage

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

📦 Installed Packages

ALL Distros

Package All Distros
asdf ✔️
curl wget ✔️
git ✔️
nvm ✔️
rvm ✔️
unzip zip ✔️
which ✔️
zsh ✔️

Flatpak

These packages will be installed in Arch and Fedora Desktop versions:

Package Verified
com.heroicgameslauncher.hgl ✅
com.vysp3r.ProtonPlus ✅
io.github.radiolamp.mangojuice ✅
io.missioncenter.MissionCenter ✅
it.mijorus.gearlever ✅
org.onlyoffice.desktopeditors ✅
org.DolphinEmu.dolphin-emu ❌

Arch

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 ✔️ ❌
base-devel ✔️ ✔️
code ✔️ Snap ❌
discord ❌ Opt-out ❌
emote ✔️ Snap ❌
exfatprogs ✔️ ❌
fastfetch ✔️ ❌
file-roller ✔️ ❌
filezilla ✔️ ❌
gamemode lib32-gamemode ✔️ ❌
gamescope ✔️ ❌
gimp ✔️ ❌
google-chrome ❌ AUR Opt-out ❌
goverlay ✔️ ❌
gnome-keyring ✔️ ❌
gparted partitionmanager ✔️ ❌
grub-customizer os-prober ✔️ ❌
htop ✔️ ❌
lutris ✔️ ❌
lib32-pipewire pipewire pipewire-alsa/jack/pulse wireplumber ✔️ ❌
man-db man-pages ✔️ ✔️
mangohud lib32-mangohud ✔️ ❌
nano vim ✔️ ❌
ntfs-3g ✔️ ❌
obs-studio ✔️ ❌
parsec-bin ✔️ AUR ❌
pavucontrol ✔️ ❌
python-pip ✔️ ❌
qbittorrent ✔️ ❌
scrcpy ✔️ ❌
spotify-adblock-git ✔️ AUR ❌
vesktop ✔️ AUR ❌
vlc ✔️ ❌
snapd yay ✔️ ✔️

Optional

Details

NVIDIA Users

Package Arch Arch (WSL2)
cuda lib32-nvidia-utils nvidia/-lts nvidia-settings ✔️ ❌

SVP Install

Package Arch Arch (WSL2)
libmediainfo lsof qt5-base qt5-declarative qt5-svg vapoursynth ✔️ ❌
mpv-full rsound spirv-cross svp ✔️ AUR ❌

Ubuntu

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 ❌ ✔️ ❌

📝 License

Licensed under the MIT license.