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
Last revisionBoth sides next revision
yum_installer_bash_script_centos8s [2021/04/19 14:15] juckinsyum_installer_bash_script_centos8s [2022/05/12 09:52] 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 296: Line 306:
 echo "installing pidgin" echo "installing pidgin"
 dnf -y install pidgin dnf -y install pidgin
 +
 +echo ""
 +echo "installing qt5-qtx11extras"
 +dnf -y install qt5-qtx11extras
  
  
yum_installer_bash_script_centos8s.txt · Last modified: 2022/06/04 10:31 by juckins