Now works with Fedora

This commit is contained in:
2024-06-09 04:16:43 -05:00
parent e37dd1be84
commit 314e5c9b8b
662 changed files with 128036 additions and 1568 deletions

5
sources/fix_dnf.sh Normal file
View File

@ -0,0 +1,5 @@
sudo echo "fastestmirror=True" | sudo tee -a /etc/dnf/dnf.conf
sudo echo "max_parallel_downloads=10" | sudo tee -a /etc/dnf/dnf.conf
sudo echo "defaultyes=True" | sudo tee -a /etc/dnf/dnf.conf
sudo echo "keepcache=True" | sudo tee -a /etc/dnf/dnf.conf
sudo echo "deltarpm=True" | sudo tee -a /etc/dnf/dnf.conf

2
sources/hostname.sh Normal file
View File

@ -0,0 +1,2 @@
read -p "Set your hostname: " hostname_response
sudo hostnamectl set-hostname $hostname_response

113
sources/install/tools Normal file
View File

@ -0,0 +1,113 @@
git-all
eza
wget
python3
python3-pip
pipx
pipenv
python3-devel
python3-virtualenv
python3-gobject
python3-tkinter
python3-torch
python-pygit2
python-requests
nodejs
npm
gcc
g++
make
cmake
clang
clang-tools-extra
clang-analyzer
powerline
powerline-fonts
nautilus-python
php-fpm
composer
kernel-devel
gh
java-latest-openjdk-devel
kmodtool
akmods
mokutil
openssl
maven
cargo
dotnet-sdk-7.0
dotnet-sdk-8.0
wine
wine-mono
winetricks
go
gem
luarocks
dnf-plugins-core
python3-dnf-plugin-versionlock
fzf
meld
nautilus-extensions
adw-gtk3-theme
mesa-libOpenCL
apr
apr-util
composer
xwaylandvideobridge
alsa-plugins-pulseaudio
libxcrypt-compat
xcb-util-renderutil
xcb-util-wm
pulseaudio-libs
xcb-util
xcb-util-image
xcb-util-keysyms
libxkbcommon-x11
libXrandr
libXtst
mesa-libGLU
mtdev
libSM
libXcursor
libXi
libXinerama
libxkbcommon
libglvnd
libglvnd-egl
libglvnd-glx
libglvnd-opengl
libICE
librsvg2
libX11
libXext
libXfixes
libXrender
libXxf86vm
alsa-lib
fontconfig
freetype
fuse-libs
rocm-opencl
gstreamer1-plugin-openh264
gstreamer1-libav
ffmpeg
ffmpeg-libs
gstreamer-ffmpeg
lame*
libva
libva-utils
openh264
mozilla-openh264
inotify-tools
rustc
rustup
xorg-x11-font-utils
ripgrep
bat
zoxide
plocate
pkg-config
autoconf
bison
ImageMagick
sqlite3

6
sources/ms_repos.sh Normal file
View File

@ -0,0 +1,6 @@
echo -e "\nInstall Microsoft Repos for VSCode & Edge\n"
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo dnf config-manager --add-repo \
https://packages.microsoft.com/yumrepos/edge
printf "[vscode]\nname=packages.microsoft.com\nbaseurl=https://packages.microsoft.com/yumrepos/vscode/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nmetadata_expire=1h" | sudo tee -a /etc/yum.repos.d/vscode.repo

View File

@ -0,0 +1,3 @@
sudo dnf remove -y gnome-contacts gnome-tour \
gnome-maps libreoffice-calc libreoffice-writer \
libreoffice-impress totem

3
sources/rpmfusion.sh Normal file
View File

@ -0,0 +1,3 @@
sudo dnf install -y \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

View File

@ -0,0 +1,10 @@
sudo dnf groupupdate -y 'core' 'multimedia' 'sound-and-video' \
--setop='install_weak_deps=False' \
--exclude='PackageKit-gstreamer-plugin' \
--allowerasing && sync
sudo dnf swap -y 'ffmpeg-free' 'ffmpeg' --allowerasing
sudo dnf swap -y mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf group upgrade -y --with-optional Multimedia
sudo dnf config-manager --set-enabled fedora-cisco-openh264
sudo dnf install -y gstreamer1-plugins-{bad-\*,good-\*,base} \
--exclude=gstreamer1-plugins-bad-free-devel

2
sources/tools.sh Normal file
View File

@ -0,0 +1,2 @@
tools=$(cat ./install/tools | tr "\n" " ")
sudo dnf install -y $tools

View File

@ -0,0 +1,6 @@
sudo fwupdmgr get-devices
sudo fwupdmgr refresh --force
sudo fwupdmgr get-updates
sudo fwupdmgr update
sudo dnf groupinstall -y "C Development Tools and Libraries" \
"Development Tools"