Update fedora config

This commit is contained in:
askiiart 2024-03-17 18:56:48 -05:00
parent af36cfcba4
commit d0e2481afd
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
9 changed files with 22 additions and 74 deletions

0
install-stuff/install-claws-mail.bash Normal file → Executable file
View file

View file

@ -17,6 +17,7 @@ if command_exists "apt-get"; then
elif command_exists "dnf"; then
sudo dnf config-manager --add-repo https://rpm.librewolf.net/librewolf-repo.repo
sudo dnf install librewolf
sudo dnf remove firefox
elif command_exists "yay"; then
yay -S librewolf-bin
yay -R firefox

View file

@ -8,18 +8,20 @@ fi
command_exists() { type "$1" &>/dev/null; }
echo "WARNING: Only Arch and Fedora fully supported"
if command_exists "apt-get"; then
sudo apt-get install kitty -y
echo "Please install SchildiChat, nvim/neovim"
elif command_exists "yum"; then
sudo yum install kitty neovim -y
elif command_exists "dnf"; then
sudo dnf install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rust cargo clippy p7zip mosh krita podman podman-docker podman-compose gajim -y
curl -LO $(curl -s https://api.github.com/repos/SchildiChat/schildichat-desktop/releases/latest | grep "browser_download_url.*schildichat-desktop-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \")
sudo dnf install ./schildichat-desktop-*.x86_64.rpm
sudo rm ./schildichat-desktop-*.x86_64.rpm
# Install Prism Launcher
sudo dnf copr enable g3tchoo/prismlauncher
sudo dnf install prismlauncher-qt5
elif command_exists "yay"; then
yay -S kitty schildichat-desktop-bin digikam eog man-db neovim multimc-bin --noconfirm --needed
yay -S kitty schildichat-desktop-bin digikam eog man-db neovim prismlauncher-qt5-bin --noconfirm --needed
elif command_exists "zypp"; then
# Untested
sudo zypper install kitty -y

View file

@ -11,6 +11,7 @@ if command_exists "apt-get"; then
sudo apt-get install qemu-system libvirt-daemon-system virt-manager -y
elif command_exists "yum"; then
sudo yum install @Virtualization virt-manager -y
sudo usermod -aG libvirt $(whoami)
elif command_exists "pacman"; then
sudo pacman -S qemu-full --noconfirm --needed
sudo pacman -S virt-manager --noconfirm --needed

View file

@ -16,6 +16,7 @@ elif command_exists "dnf"; then
sudo dnf install appimagelauncher qt5-qtbase-gui -y
mkdir $HOME/Applications
curl -L $(curl -s https://api.github.com/repos/DavidoTek/ProtonUp-Qt/releases/latest | grep "browser_download_url.*ProtonUp-Qt-.*-x86_64.AppImage" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -o $HOME/Applications/ProtonUp-Qt.AppImage
sudo dnf install gperftools-libs-2.9.1-6.fc39.i686
elif command_exists "yay"; then
#printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
#read -p "Enable the multilib repo in /etc/pacman.conf - look above"

View file

@ -8,12 +8,12 @@ fi
command_exists() { type "$1" &>/dev/null; }
if command_exists "apt-get"; then
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "VencordDesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
sudo apt-get install ./VencordDesktop_*.deb -y
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "vesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
sudo apt-get install ./vesktop_*.deb -y
elif command_exists "yum"; then
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*VencordDesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
sudo dnf install ./VencordDesktop*.rpm -y
rm ./VencordDesktop*.rpm
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
sudo dnf install ./vesktop-*.rpm -y
rm ./vesktop-*.rpm
elif command_exists "pacman"; then
yay -S vesktop-bin --noconfirm --needed
else

View file

@ -16,11 +16,10 @@ if command_exists "apt-get"; then
sudo apt install apt-transport-https
sudo apt update
sudo apt install code
elif command_exists "yum"; then
elif command_exists "dnf"; then
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
yum check-update
sudo yum install code -y
sudo dnf install code -y
elif command_exists "yay"; then
yay -S visual-studio-code-bin clang-format-static-bin --noconfirm --needed
elif command_exists "zypp"; then