LinuxSetup/installrpm.sh

11 lines
537 B
Bash
Raw Normal View History

2024-08-26 13:08:43 +00:00
#!/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
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda distrobox code nextcloud-client -y
sudo systemctl start libvirtd
sudo systemctl enable libvirtd