LinuxSetup/installrpm.sh
2024-09-27 22:34:51 +02:00

11 lines
540 B
Bash
Executable File

#!/bin/bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
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" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
sudo dnf update -y
sudo dnf group install --with-optional virtualization -y
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda distrobox code nextcloud-client -y
sudo systemctl start libvirtd
sudo systemctl enable libvirtd