115 lines
5.7 KiB
Bash
115 lines
5.7 KiB
Bash
#!/bin/bash
|
|
|
|
## First First Off, Get pacman's sources up to date
|
|
sudo pacman -Syu
|
|
|
|
### First Off, install yay (Uncomment depending whether you use mainline arch / arch based, or a distro that packages yay, like Manjaro).
|
|
## For Distros that Package yay (mainly Manjaro) -- This can be behind on updates though depending on how fast the distro updates the yay package.
|
|
# pacman -S --needed git base-devel yay
|
|
|
|
## Arch Based (if not packaged already like Manjaro) / Arch Mainline
|
|
# pacman -S --needed git base-devel
|
|
# git clone https://aur.archlinux.org/yay-bin.git
|
|
# cd yay-bin
|
|
# makepkg -si
|
|
|
|
|
|
## Sanity Check, Make sure Pacman and Yay are up to date.
|
|
sudo pacman -Syu
|
|
yay -Syu
|
|
|
|
|
|
### Now to the fun part, installing all the things.
|
|
|
|
### Development
|
|
## Teminal Shell -- Choose the one you feel most comfortable with, or add your own.
|
|
|
|
# BASH: If you'd prefer to use bash, keep everything below commented out and run chsh just to double
|
|
# check you're using bash.
|
|
#
|
|
# chsh -s $(command -v bash)
|
|
|
|
# ZSH: If you're using Alacritty, you will have to double check and make sure the default config is using zsh
|
|
# instead of bash, because for some installing from the repos defaults it to bash, so i will include a
|
|
# basic config file to get you going, you can comment the shell part out to make it use the user's shell.
|
|
#
|
|
# Install it as normal, and change shell to zsh.
|
|
#
|
|
# sudo pacman -S zsh
|
|
# chsh -s $(command -v zsh)
|
|
|
|
# FISH: as above, make sure your Alacritty Config is set to use fish instead of bash.
|
|
#
|
|
# Install it as normal, and change shell to fish.
|
|
# sudo pacman -S fish
|
|
# chsh -s $(command -v fish)
|
|
|
|
# DASH: as above, make sure your Alacritty Config is set to use fish instead of bash.
|
|
#
|
|
# Install it as normal, and change shell to fish.
|
|
# sudo pacman -S fish
|
|
# chsh -s $(command -v dash)
|
|
|
|
|
|
## Terminal Emulators -- Choose the one you feel most comfortable with, or add your own.
|
|
# sudo pacman -S alacritty # Alacritty Terminal
|
|
# sudo pacman -S kitty # Kitty Terminal
|
|
# sudo pacman -S rvxt-unicode # Rvxt Unicode Terminal
|
|
# sudo pacman -S xterm # Xterm.... Terminal... yeah.
|
|
#
|
|
# sudo pacman -S # Use this line to specify your own terminal emulator, if its not in the repos, check the AUR and use yay to install it
|
|
|
|
|
|
## Text Editors / IDE's -- Stuff like VSCodium and that
|
|
# sudo pacman -Sy vscodium-bin # VSCodium, the FOSS version of Code that MS builds their Proprietary version atop of, has no MS Tracking and a FOSS extension store called Open-VSX
|
|
|
|
|
|
## If you chose Alacritty, this script will install the default config file for you to play with yourself, if you have your own Alacritty config, you are more than welcome to substitute that in place of the default one and the script will do the rest.
|
|
if command -v alacritty >/dev/null 2>&1; then
|
|
echo "Alacritty is installed, Installing config...."
|
|
cp alacritty-default.yml $HOME/.config/alacritty/alacritty.yml # Change this line to match the config you're using.
|
|
sleep 1
|
|
echo "Done!, Moving on."
|
|
else
|
|
echo "Alacritty Not Installed, Skipping..."
|
|
fi
|
|
|
|
|
|
### Internet
|
|
## keep this all (except Firefox) commented out if you're happy with Firefox, but if you'd prefer something else then uncomment the browser you want to use
|
|
sudo pacman -S firefox # Installs the latest available version of Firefox
|
|
|
|
# yay -S brave-bin # Installs Brave Browser, a privacy focused Chromium browser with built-in ad blocker n such.
|
|
|
|
# Installs the FOSS base for Google Chrome, Chromium, Google love to gimp it to force people onto chrome but if you like the way chrome looks chromium is the way to go.
|
|
# sudo pacman -S chromium
|
|
|
|
# if you *must* use Chrome, or a Proprietary Chromium Browser then uncomment one of the below.
|
|
# yay -S google-chrome # Natually Chrome isn't in the Repos, so install with yay.
|
|
# sudo pacman -S vivaldi # Install Vivaldi
|
|
# sudo pacman -S opera # Install Opera
|
|
|
|
# Once Again i'll leave a blank option so you can add your own if you want something other than the above.
|
|
# sudo pacman -S # Install Using Pacman if its in the Repos
|
|
# yay -S # Or use yay if its available in the AUR
|
|
|
|
|
|
### Games -- remove this section if you're not a gamer, this will install stuff like steam and setup Proton-GE so you can play your game library.
|
|
## STEAM -- This will install the linux integration as well as the steam runtime
|
|
# sudo pacman -S linux-steam-integration # Makes Steam on linux a little less pain, allows you to customise aspects of the steam install and fixes a few things too.
|
|
# sudo pacman -S steam-manjaro # Use this if you're on Manjaro / Want something all bundled together.
|
|
# sudo pacman -S steam-native # Everyone else can use this, provided that they have all the system libraries that Steam needs installed.
|
|
|
|
## PROTON-GE -- installs and sets up Proton GE, allowing you to select it instead of Steam's Proton.
|
|
# curl https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.20-GE-1/Proton-6.20-GE-1.tar.gz
|
|
# mkdir $HOME/.steam/root/compatibilitytools.d
|
|
# tar -xf Proton-6.20-GE-1.tar.gz -C $HOME/.steam/root/compatibilitytools.d/
|
|
|
|
|
|
### DE's and WM's -- You may ignore this section if you are using an arch based system as they tend to give you a choice of DE/WM pre-bundled, e.g Manjaro has official XFCE, GNOME and KDE desktops to choose from
|
|
|
|
|
|
|
|
### Productivity
|
|
# sudo pacman -S libreoffice-fresh # Install libreoffice, a FOSS Office Suite that is on par or sometimes better than MS Office.
|