-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_alma8.sh
executable file
·62 lines (46 loc) · 2.98 KB
/
setup_alma8.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
sudo dnf install -y distribution-gpg-keys
# RPM Fusion (free packages)
sudo rpmkeys --import /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-free-el-$(rpm -E %rhel)
# RPM Fusion (nonfree packages)
sudo rpmkeys --import /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-el-$(rpm -E %rhel)
# actually install RPM fusion
sudo dnf --setopt=localpkg_gpgcheck=1 install -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
sudo dnf install -y elrepo-release
# Most EPEL packages require packages from PowerTools/CRB repository as dependencies. Run the suitable command to enable the PowerTools/CRB repository
sudo dnf config-manager --set-enabled powertools # called crb in alma9, and powertools in alma8
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm
# Basic packages
sudo dnf groupinstall -y Workstation
sudo dnf groupinstall -y "Network File System Client"
sudo dnf groupinstall -y --with-optional "Development Tools"
sudo dnf groupinstall -y --with-optional "System Tools"
sudo dnf install -y cachefilesd
sudo dnf install -y python3-devel python3-pip python3-sphinx
sudo dnf install -y htop hwinfo gnome-tweaks curl wget git gcc cmake perl tmux pdfgrep tigervnc-server pandoc
sudo dnf install -y chromium thunderbird rdesktop gimp
#VScode
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'
sudo dnf install -y code
#extra packages found to be possibly installed from desktop usage
sudo dnf install -y glibc-minimal-langpack hunspell-en-GB hunspell-en langpacks-en
sudo dnf install -y grub2-tools-efi grub2-tools-extra
# Manual installs of RPM packages
sudo dnf install -y https://zoom.us/client/latest/zoom_x86_64.rpm
#sudo dnf install -y https://www.klayout.org/downloads/RockyLinux_9/klayout-0.29.6-0.x86_64.rpm
sudo dnf install -y https://www.klayout.org/downloads/CentOS_8/klayout-0.29.6-0.x86_64.rpm
sudo dnf install -y https://downloads.slack-edge.com/desktop-releases/linux/x64/4.39.95/slack-4.39.95-0.1.el8.x86_64.rpm
sudo dnf copr enable mlampe/compat-db47 epel-8-x86_64 -y
sudo dnf install -y compat-db47
sudo dnf config-manager --set-disabled copr:copr.fedorainfracloud.org:mlampe:compat-db47
sudo dnf install -y redhat-lsb-core compat-openssl10 libnsl
# Build requirements for iverilog
sudo dnf install -y autoconf gperf make gcc bison flex
# also need to git clone and installed
# For ngspice
sudo dnf install -y libXaw-devel
# Alma9 specific
# sudo dnf install -y g++ nfsv4-client-utils langpacks-core-en
# sudo dnf install -y openh264 gstreamer1-plugin-openh264 mozilla-openh264
# Alma8 specific
sudo dnf install -y gcc-c++ compat-openssl10 nfs-utils