2020-09-01 11:59:34 +00:00
|
|
|
#!/usr/bin/env bash
|
2020-07-02 08:30:43 +00:00
|
|
|
echo 'Starting installation'
|
2020-09-01 11:56:00 +00:00
|
|
|
|
2020-10-22 11:48:41 +00:00
|
|
|
echo 'Installing Depending Repositories...'
|
|
|
|
echo 'Installing RPMFusion'
|
2020-09-01 11:59:34 +00:00
|
|
|
sudo dnf install -y \
|
|
|
|
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
|
|
|
|
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
2020-09-01 11:56:00 +00:00
|
|
|
|
2021-01-24 13:49:56 +00:00
|
|
|
echo 'Adding Flatpak'
|
|
|
|
sudo dnf install -y flatpak
|
2021-01-24 02:06:14 +00:00
|
|
|
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
|
|
|
2020-10-22 11:48:41 +00:00
|
|
|
echo 'Enabling Cisco openh264'
|
2020-11-26 12:52:04 +00:00
|
|
|
sudo dnf config-manager --set-enabled fedora-cisco-openh264
|
2020-10-22 11:48:41 +00:00
|
|
|
|
2020-09-01 11:59:34 +00:00
|
|
|
echo 'Installing base packages...'
|
2020-07-02 08:30:43 +00:00
|
|
|
sudo dnf install -y \
|
2022-07-04 22:45:44 +00:00
|
|
|
git tar zsh ack plocate usbutils sqlite neofetch which util-linux-user dialog neovim
|
2020-10-08 10:59:13 +00:00
|
|
|
|
2021-01-24 02:56:24 +00:00
|
|
|
echo 'Installing fonts'
|
|
|
|
sudo dnf install -y \
|
2021-02-10 23:05:20 +00:00
|
|
|
twitter-twemoji-fonts fontawesome-fonts powerline-fonts
|
2021-01-24 02:56:24 +00:00
|
|
|
|
2021-01-24 02:06:14 +00:00
|
|
|
echo 'Install locale...'
|
|
|
|
sudo dnf install -y \
|
2021-02-06 18:14:27 +00:00
|
|
|
langpacks-de langpacks-en
|
2020-09-01 12:01:35 +00:00
|
|
|
|
2020-07-02 08:30:43 +00:00
|
|
|
cd ~
|
2021-02-14 17:22:27 +00:00
|
|
|
mkdir $HOME/workspace
|
2021-06-23 21:25:28 +00:00
|
|
|
mkdir -p $HOME/.local/bin
|
2021-02-14 17:22:27 +00:00
|
|
|
cd $HOME/workspace
|
2020-07-02 08:30:43 +00:00
|
|
|
git clone https://git.doggoat.de/dhalucario/devconf.git
|
|
|
|
git submodule update --init --recusive
|
2020-09-01 11:56:00 +00:00
|
|
|
|
2021-02-14 17:25:12 +00:00
|
|
|
cd $HOME/workspace/devconf
|
2021-10-06 22:16:38 +00:00
|
|
|
./tools/install-light.sh
|
2021-02-14 17:33:04 +00:00
|
|
|
|
2021-05-09 17:44:41 +00:00
|
|
|
res=$(dialog --stdout --checklist "Which parts do you want to install?" 0 0 0 graphical Graphical off)
|
|
|
|
if [[ $res == *"graphical"* ]]; then
|
2021-10-06 22:16:38 +00:00
|
|
|
./tools/install-graphical.sh
|
2021-02-14 18:26:39 +00:00
|
|
|
fi
|
2020-12-24 12:20:57 +00:00
|
|
|
|
2021-02-10 23:05:20 +00:00
|
|
|
sudo usermod -aG audio,input $(whoami)
|
2021-02-14 17:22:27 +00:00
|
|
|
echo 'Installation Done'
|