Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


yum_installer_bash_script_centos8s

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
yum_installer_bash_script_centos8s [2021/08/30 14:19] juckinsyum_installer_bash_script_centos8s [2022/06/04 10:31] (current) juckins
Line 1: Line 1:
-==== dnf installer bash script (CentOS 8 Stream) ==== +==== dnf installer bash script (CentOS 8 Stream and Rocky Linux 8) ====
- +
-<color #ed1c24>* DO NOT USE * The code below needs to be tested</color> +
  
 <color #ed1c24>When you run the code below, ensure to redirect output and errors to a log file.</color> <color #ed1c24>When you run the code below, ensure to redirect output and errors to a log file.</color>
 +
 +Before using, ensure /etc/dnf/dnf.conf is set to **use the fastest mirror**, with a fix noted in [[virtualbox_for_centos_stream_notes|Virtual Box running CentOS8 Stream]]
  
 <code> <code>
Line 10: Line 9:
 # #
 # install-my-dnf-packages.bash # install-my-dnf-packages.bash
-# CentOS 8 Stream version+# CentOS 8 Stream / Rocky Linux 8 version
 # #
 # NOTES: # NOTES:
Line 25: Line 24:
 echo "" echo ""
 echo "*****************************************************************" echo "*****************************************************************"
-echo "                    CentOS 8 Updates                          *"+echo "                    Beginning all Updates                     *"
 echo "*****************************************************************" echo "*****************************************************************"
  
-echo "" + 
-echo "dnf config-manager --set-enabled PowerTools+echo "*****************************************************************
-dnf config-manager --set-enabled PowerTools+echo "*                         PowerTools                            *" 
 +# https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8 
 +echo "*****************************************************************" 
 +dnf install dnf-plugins-core 
 +dnf config-manager --set-enabled powertools 
  
 echo "" echo ""
Line 45: Line 49:
 echo "*****************************************************************" echo "*****************************************************************"
 dnf -y update dnf -y update
 +
 +
 +echo ""
 +echo "******************** FOR VBox Guest Additions *******************"
 +dnf -y install kernel-headers kernel-devel gcc make perl 
 +dnf -y install elfutils elfutils-devel elfutils-libelf elfutils-libelf-devel
  
  
Line 119: Line 129:
 dnf -y install lftp* dnf -y install lftp*
  
-echo ":+echo ""
 echo "installing traceroute" echo "installing traceroute"
 dnf -y install traceroute dnf -y install traceroute
Line 301: Line 311:
 dnf -y install qt5-qtx11extras dnf -y install qt5-qtx11extras
  
 +echo ""
 +echo "*********************** Install RPM Fusion Repo *****************"
 +# For GIMP HEIF/HEIC support
 +# https://www.linuxcapable.com/how-to-install-enable-rpm-fusion-on-centos-8-stream/
 +dnf -y install https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
 +echo "gimp-heif-plugin"
 +dnf -y install gimp-heif-plugin.x86_64
  
 echo "" echo ""
yum_installer_bash_script_centos8s.1630347581.txt.gz · Last modified: 2021/08/30 14:19 by juckins