# some main setup steps as used on new RHEL (Springdale actually) 9.1 installation on 'nlap', 2023-03-2x #" appended to /etc/crypttab swap /dev/nvme0n1p3 /dev/urandom swap #" appended to /etc/fstab /dev/mapper/swap none swap defaults 0 0 tmpfs /tmp tmpfs size=4G,nodev 0 0 /dev/xxxx /media/usbmem auto noauto,user 0 0 #" and put all the usual stuff into /etc/profile.d/sh.local # yum groupinstall "Development Tools" #" annoyances to remove dnf remove bash-completion #" this might need doing after the desktop installations dnf remove setroubleshoot # enable extra parts from the almalinux repositories # set 'enabled=1' in /etc/yum.repos.d/almalinux-crb.repo # for 'CodeReadyBuilder', a.k.a. powertools, which is extra devel packages #" add repositories: #" #" EPEL for many extras including KDE #" either from a package included in RHEL dnf install epel-release #" or from its source: # dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm #" RPMfusion for some further things e.g. mplayer dnf install https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm dnf install https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-9.noarch.rpm dnf install lightdm systemctl disable gdm systemctl enable lightdm vi /etc/lightdm/lightdm.conf dnf install vi vim cd /usr/local/bin && ln -s /usr/bin/vim vi vi /etc/updatedb.conf # e.g. omit /home from slocate databasing if /home is encrypted separately from / #" hope that the default pipewire audio is working ok; else might have to revert to no-longer-default pulse #" this pipewire worked well on 'mlap' (AlmaLinux) but for some reason not 'nlap' (Springdale Open Enterprise) #" # dnf swap --allowerasing pipewire-pulseaudio pulseaudio #" # mkdir -p /etc/pulse/default.pa.d #" $ systemctl --user enable pulseaudio #" and in either case, could have the following dnf install pulseaudio-utils # now just lists of various groups of programs rsync rdiff-backup smartmontools pciutils gzip tar unzip unrar zip sharutils p7zip lzop lz4 mandoc htop atop btop screen minicom parallel tree pv iftop ntpstat hexedit sysstat mtools iotop hdparm thermald powertop lm_sensors biosdevname NetworkManager NetworkManager-initscripts-updown nfsv4-client-utils iptables-utils sysfsutils nfs-stats-utils grub2-tools-extra grub2-tools-efi ntfsprogs ntfs-3g lynx s-nail ftp bind squid dhcp-server dhcp-client dovecot postfix httpd goaccess apachetop samba sambaserver cyrus-sasl indent autoconf automake patchutils libpng-devel gcc-toolset gcc-gfortran gdb bison imake cmake extra-cmake-modules cmake-filesystem perl-debugger perl-Env libXext libXext-devel libXpm libXpm-devel tigervnc tigervnc-server rdesktop perl-Devel-REPL perl-Compress-Stream-Zstd perl-GeoIP2 perl-MaxMind-DB-Reader-XS perl-MaxMind-DB-Common libmaxminddb gsl gsl-devel R units dc bc gperf cpulimit ntpstat ntpsec mandoc alpine whois readline-devel pcre{,-devel} curl-devel wireshark wireshark-cli #youtube-dl #yt-dlp better yt-dlp libdvdnav rtorrent gnuplot{,-devel} gnuplot epstool hplip zbar qrscan # not in repos, needed building from rust, zbar seems better anyway groff plotutils ImageMagick pdfgrep qpdf djvulibre xfig dia xournalpp gimp mplayer mencoder vlc ffmpeg gstreamer-multimedia-codecs firefox thunderbird chromium libreoffice texmacs icewm plasma-workspace plasma-desktop plasma-nm konsole konsole5 konqueror dolphin kate kscreen kwrite kruler kscreenlocker kmix spectacle kile okular kamera k3b kde-settings kcolorchooser kdeplasma-addons kde-settings-plasma kdegraphics-thumbnailers kde-cli-tools kde-connect kde-settings-pulseaudio #ktuberling #festival kf5-kservice kf5-kservice-devel kf5-kio kf5-kio-devel kf5-kconfig kf5-kconfig-devel kf5-kdoctools kf5-kdoctools-devel kf5-kxmlgui kf5-kxmlgui-devel kf5-ki18n kf5-ki18n-devel # now ready to compile "showimage" from source and install in /usr/local: cmake --install . --prefix /usr/local # note: our liked showimage isn't the same as the showimage command from SDL_image package # if wanting a slightly older version and without editor; # else needed to build octave octave-general octave-image octave-signal octave-statistics octave-control # the following were added mainly to compile octave [v9] with more options enabled # also needed to compile/install QScintilla https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.14.0/QScintilla_src-2.14.0.tar.gz openblas-devel lapack-devel fltk-devel fftw3-devel arpack-devel arpack flex portaudio{,-devel} opengl{,-devel} zlib{,-devel} rapidjson{,-devel} sundials{,-devel} GraphicsMagick-c++-devel ImageMagick-c++-devel icoutils gl2ps{,-devel} qt5-devel hdf5{,-devel} libsndfile{,-devel} qrupdate{,-devel} qt5-qtbase-devel glpk{,-devel} # texmacs had to be got as static binary as not in RHEL9 and compiling needs an ancient "guile" version (1x; now 3x!) # RStudio seems nice for R (as an IDE) and can do python too # free software version, but not in RHEL packages rstudio