Back to main index

Install RockyLinux-8

Time and Date: optional NTP servers in Germany.

0.de.pool.ntp.org
1.de.pool.ntp.org
2.de.pool.ntp.org
3.de.pool.ntp.org

Software Selection: Minimal install.

Activate laptop wifi connection.

rpm -q NetworkManager-wifi
# plug-in ethernet connection
dnf install NetworkManager-wifi
systemctl restart NetworkManager
# unplug ethernet connection
nmtui
X Window System
dnf install xorg-x11-{server-Xorg,server-utils,xinit-session} \
            xorg-x11-{utils,xauth,drivers,xbitmaps,xkb-utils}

Minimal installation of GNOME Desktop: tachtler wiki

dnf group install base-x Fonts

dnf install nautilus gnome-terminal gnome-terminal-nautilus gnome-tweaks         \
            gnome-shell-extension-alternate-tab gnome-shell-extension-apps-menu  \
            gnome-shell-extension-common gnome-shell-extension-desktop-icons     \
            gnome-shell-extension-launch-new-instance                            \
            gnome-shell-extension-places-menu gnome-shell-extension-user-theme   \
            gnome-shell-extension-window-list gdm

systemctl set-default graphical.target
ll /etc/systemd/system/default.target

dnf install xdg-user-dirs
# Create $HOME template directories, e.g. Documents, Downloads, Music, Trash as $HOME/.local/share/Trash
# Run as regular user
xdg-user-dirs-update

YUM is now a symbolic link to DNF.
DNF priority option is supported out of the box.
Add priority=10 to Rocky-BaseOS,Extras,AppStream
Add priority=20 to Rocky-PowerTools.repo and enabled=1

grep -r 'priority=' /etc/yum.repos.d/
/etc/yum.repos.d/Rocky-BaseOS.repo:priority=10
/etc/yum.repos.d/Rocky-Extras.repo:priority=10
/etc/yum.repos.d/Rocky-AppStream.repo:priority=10
/etc/yum.repos.d/Rocky-PowerTools.repo:priority=20

Install epel repo, the Fedora Special Interest Group, with priority=20

dnf install epel-release

CentOS-8 is based on Fedora-28.
It makes sense to add F28 repo for reasons explained later.

cd /tmp
wget https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/x86_64/os/Packages/f/fedora-gpg-keys-28-1.noarch.rpm
rpm2cpio fedora-gpg-keys-28-1.noarch.rpm | cpio -idmv
cp etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary .
rm -rfv etc
rm fedora-gpg-keys-28-1.noarch.rpm

# as root
cp RPM-GPG-KEY-fedora-28-primary /etc/pki/rpm-gpg
chown -v root:root  /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary
chmod 644 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary
chcon -u system_u -t cert_t -v /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary

Create /etc/yum.repos.d/fedora28.repo

[fedora28]
name=Fedora28 beta version for CentOS-$releasever
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/$basearch/os/
#mirrorlist=
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary
protect=0
priority=90

Install Xfce Desktop

dnf group install "Xfce"

dnf install xfce4-datetime-plugin xfce4-netload-plugin xfce4-panel xfce4-terminal  \
            xfce4-power-manager xfce4-screenshooter xfce4-systemload-plugin exo    \
            xfce4-weather-plugin xfce4-xkb-plugin xfce4-whiskermenu-plugin         \
            xfce4-taskmanager xfce4-about xfce4-statusnotifier-plugin              \
            xfce4-pulseaudio-plugin mousepad parole

dnf install gnome-calculator ristretto gimp evince brasero mlocate p7zip zip unzip bzip2

Optional packages

dnf --enablerepo=fedora28 install xfburn

dnf --enablerepo=fedora28 install deepin-icon-theme.noarch elementary-icon-theme.noarch    \
                                  elementary-xfce-icon-theme.noarch

dnf --enablerepo=fedora28 install gnome-icon-theme-legacy.noarch                           \
                                  gnome-icon-theme-extras.noarch                           \
                                  gnome-themes-legacy.noarch monochrome-icon-theme.noarch

Optional Xfce Themes

dnf --enablerepo=fedora28 install clearlooks-phenix-gtk3-theme gnome-themes                \
                                  clearlooks-phenix-xfwm4-theme clearlooks-phenix-common   \
                                  clearlooks-compact-gnome-theme bluecurve-cursor-theme    \
                                  xfwm4-themes bluebird-xfwm4-theme albatross-xfwm4-theme

Optional Xfce Icons

dnf --enablerepo=fedora28 install bluecurve-icon-theme fedora-icon-theme \
                                  humanity-icon-theme tango-icon-theme   \
                                  elementary-xfce-icon-theme

To revert/uninstall all packages from fedora28.repo use:

dnf remove $(dnf list installed | grep 'fedora28' | awk '{ print $1 }')

Install seahorse from AppStream repo (gnome-keyring related)

dnf info seahorse
dnf repoquery --deplist seahorse
dnf install seahorse

I maintain my own RH8 repository with SPEC files under https://github.com/grayasm/git-main/tree/master/script/rpm-el8

[vasilian]
name=Vasilian packages for CentOS-$releasever-$basearch
baseurl=ftp://vasilian.net/CentOS/$releasever/extras/$basearch/
enabled=1
gpgcheck=1
gpgkey=ftp://vasilian.net/RPM-GPG-KEY/RPM-GPG-KEY-vasilian-centos8
protect=0
priority=90

Thunar automount feature

dnf install udisks2 gvfs gvfs-fuse gvfs-gphoto2 gvfs-smb gvfs-archive
dnf --enablerepo=fedora28 install ntfs-3g

Install LightDM as GDM replacement

dnf --enablerepo=fedora28 install lightdm

LithDM Gtk+ greeter uses a gtk3 css style

gedit /etc/lightdm/lightdm.conf &
greeter-session=lightdm-gtk-greeter

# save & enable the service
systemctl disable gdm.service
systemctl enable lightdm.service
Set up the login theme
cd /usr/share/pixmaps
wget ftp://vasilian.net/Gtk-Themes/rhel8_2560x1080.jpg

cd /tmp
wget ftp://vasilian.net/Gtk-Themes/lightdm-gtk-clearlooks-grey.tar.gz
tar -zxvf lightdm-gtk-clearlooks-grey.tar.gz
mv lightdm-gtk-clearlooks-grey  /usr/share/themes
chown -Rv root:root /usr/share/themes/lightdm-gtk-clearlooks-grey
chcon -Rv -u system_u -t usr_t /usr/share/themes/lightdm-gtk-clearlooks-grey
Set up the greeter settings
gedit  /etc/lightdm/lightdm-gtk-greeter.conf &

[greeter]
background=/usr/share/backgrounds/default.png
# if monitor resolution is 2560x1080 then use:
# background=/usr/share/pixmaps/rhel8_2560x1080.jpg
theme-name=lightdm-gtk-clearlooks-grey
icon-theme-name=Bluecurve
font-name=DejaVu Sans Condensed:10
#xft-antialias=
xft-dpi=96
#xft-hintstyle=
#xft-rgba=
indicators=~ally;~host;~spacer;~clock;~spacer;~language;~session;~power;
clock-format=%H:%M:%S
keyboard=us
position=50%,center 50%,center
#screensaver-timeout=

Reboot and enjoy the XFCE Desktop.

Set Thunar custom actions feature.

Install elrepo with priority=30 for kmod-nvidia

Install adobe with priority=30.

Read on the top 10 programming fonts

Optional some popular fonts
dnf --enablerepo=vasilian install win10-fonts mac-fonts

Optional Anonymous Pro Font

cd /tmp
wget http://www.marksimonson.com/assets/content/fonts/AnonymousPro-1.002.zip
unzip AnonymousPro-1.002.zip
mv AnonymousPro-1.002.001  /usr/share/fonts/
cd /usr/share/fonts
chown -Rv root:root AnonymousPro-1.002.001
chcon -u system_u -t fonts_t -Rv AnonymousPro-1.002.001/
fc-cache /usr/share/fonts/AnonymousPro-1.002.001

Optional Monaco (From OSX)

cd /usr/share/fonts
mkdir Monaco && cd Monaco
wget http://www.gringod.com/wp-upload/MONACO.TTF  # or manually
chown -Rv root:root Monaco
chcon -u system_u -t fonts_t -Rv Monaco/
fc-cache /usr/share/fonts/Monaco


Back to main index