Skip to content

Instantly share code, notes, and snippets.

@kid1412-net
Last active February 20, 2022 01:15
Show Gist options
  • Save kid1412-net/419042283ba8742baa734f815fbe432c to your computer and use it in GitHub Desktop.
Save kid1412-net/419042283ba8742baa734f815fbe432c to your computer and use it in GitHub Desktop.
My Fedora Packages
#!/bin/sh
# History
# 2021/Feb/03: Initial version
# 2021/Feb/06: Add Microsoft Edge, remove Chromium
# Add TeamViewer
# 2021/Mar/04: Remove Microsoft Edge, TeamViewer, NoMachine
# Add Google Chrome
# 2021/Apr/12: Update NoMachine version
# 2021/Apr/28: Add Sublime Text 3 and Opera
# Update Teams and Microsoft Edge
# 2021/Jun/18: Remove Opera, enable Google Chrome
# Add Archive Manager
# 2021/Jul/11: Add 7-Zip for Linux
# 2021/Aug/01: Remove Teams (Use Teams app on Chrome for sharing screen)
# Change Chrome channel to stable
# Add AnyDesk
# 2021/Aug/25: Remove SublimeText
# Add ibus-unikey
# 2021/Sep/19: Add kernel-tools, powertop
# 2021/Oct/11: Update Microsoft Teams, remove Google Chrome
# 2021/Nov/29: Update NoMachine, optimize storage and power
# 2022/Feb/01: Add VMWare Horizon Client
# 2022/Feb/20: Add Intel GPU Tools
#
# For Fedora 35 Workstaiton
# Optimize storage
systemctl disable packagekit
systemctl stop packagekit
sed -i 's/#SystemMaxUse=/SystemMaxUse=50M/g' /etc/systemd/journald.conf
systemctl restart systemd-journald
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1200000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 1200000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 1200000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
echo "CPUs Frequency"
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
# dnf install vim chromium freerdp -y
dnf install vim freerdp file-roller-nautilus p7zip ibus-unikey kernel-tools powertop igt-gpu-tools -y
dnf update firefox -y
dnf install https://packages.microsoft.com/yumrepos/ms-teams/teams-1.4.00.26453-1.x86_64.rpm -y
dnf install https://download.nomachine.com/download/7.7/Linux/nomachine_7.7.4_1_x86_64.rpm -y
# dnf install https://packages.microsoft.com/yumrepos/edge/microsoft-edge-dev-100.0.1163.1-1.x86_64.rpm -y
# dnf install https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm -y
# dnf install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm -y
# Install Sublime Text 3
# sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
# sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
# sudo dnf install sublime-text -y
# Install AnyDesk
dnf install https://rpmfind.net/linux/fedora/linux/releases/32/Everything/x86_64/os/Packages/p/pangox-compat-0.0.2-15.fc31.x86_64.rpm -y
dnf install https://download.anydesk.com/linux/anydesk_6.1.1-1_x86_64.rpm -y
# Install VMWare Horizon Client
dnf install python3.9 -y
wget https://download3.vmware.com/software/view/viewclients/CART22FH2/VMware-Horizon-Client-2111-8.4.0-18957622.x64.bundle
chmod +x VMware-Horizon-Client-2111-8.4.0-18957622.x64.bundle
python3.9 -m venv env
source env/bin/activate
TERM=dumb VMWARE_EULAS_AGREED=yes ./VMware-Horizon-Client-2111-8.4.0-18957622.x64.bundle --console --required
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment