Skip to content

LeDragoX/linux-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Script

Script that configure my Linux post-install.

⚙️ Setup Requirements

Open the terminal and paste these lines:

Arch-like

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

  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

Get git for Fedora:

sudo dnf install -y git

Ubuntu-like or WSL2

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/LinuxScript
cd ~/Downloads/LinuxScript/
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 ✔️

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 ✔️
code ✔️ Snap
discord ✔️
emote ✔️ Snap
file-roller ✔️
gimp ✔️
google-chrome-stable ❌ Optional
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 ✔️
neofetch ✔️
obs-studio ✔️
onlyoffice-desktopeditors ✔️ Snap
parsec-bin ✔️ AUR
pavucontrol ✔️
peazip-qt5 ✔️ AUR
python-pip ✔️
qbittorrent ✔️
scrcpy ✔️
slack ✔️ Snap
spotify-client ✔️ AUR
steam ✔️
steam-native-runtime ✔️
svp ✔️ AUR
terminator ✔️
vlc ✔️
snapd yay ✔️ ✔️

Optional

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 ❌ Optional
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 ✔️
terminator ✔️
nano vim ✔️ ✔️
vlc ✔️

📝 License

Licensed under the MIT license.