-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate_fedora.sh
30 lines (28 loc) · 970 Bytes
/
update_fedora.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
echo "hello"
echo "installing updates"
echo "-------------------------"
sudo dnf update -y
echo "-------------------------"
echo "-------------------------"
echo "installing pritunl client"
echo "-------------------------"
sudo tee /etc/yum.repos.d/pritunl.repo << EOF
[pritunl]
name=Pritunl Stable Repository
baseurl=https://repo.pritunl.com/stable/yum/fedora/30/
gpgcheck=1
enabled=1
EOF
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > key.tmp; sudo rpm --import key.tmp; rm -f key.tmp
sudo dnf install pritunl-client-electron -y
echo "-------------------------"
echo "installing caffeine"
echo "-------------------------"
sudo dnf install caffeine -y
echo "-------------------------"
echo "Installing the security-lab group of programs"
echo "-------------------------"
sudo dnf groupinstall security-lab -y
echo "-------------------------"