How To Install xscreensaver-base on CentOS 8
Introduction
In this tutorial we learn how to install xscreensaver-base
on CentOS 8.
What is xscreensaver-base
A modular screen saver and locker for the X Window System. This package contains the bare minimum needed to blank and lock your screen. The graphical display modes are the “xscreensaver-extras” and “xscreensaver-gl-extras” packages.
We can use yum
or dnf
to install xscreensaver-base
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xscreensaver-base.
Install xscreensaver-base on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install xscreensaver-base
using dnf
by running the following command:
sudo dnf -y install xscreensaver-base
Install xscreensaver-base on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install xscreensaver-base
using yum
by running the following command:
sudo yum -y install xscreensaver-base
How To Uninstall xscreensaver-base on CentOS 8
To uninstall only the xscreensaver-base
package we can use the following command:
sudo dnf remove xscreensaver-base
xscreensaver-base Package Contents on CentOS 8
/etc/pam.d/xscreensaver
/etc/xdg/autostart/xscreensaver-autostart.desktop
/etc/xscreensaver
/etc/xscreensaver/XScreenSaver.ad
/etc/xscreensaver/XScreenSaver.ad.hacks
/etc/xscreensaver/XScreenSaver.ad.header
/etc/xscreensaver/XScreenSaver.ad.tail
/usr/bin/xscreensaver
/usr/bin/xscreensaver-command
/usr/bin/xscreensaver-demo
/usr/bin/xscreensaver-systemd
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/35b9dd0f01d73227713b4ab4eef4ec7c6ec578
/usr/lib/.build-id/83
/usr/lib/.build-id/83/1f22b31268689458dd5f41cde0b0d0c5361d7e
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/84092f5a775ee4226e32a1fbd7871215ea138f
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/905c5fe146d1764e641eb61379a6b0d31f25bd
/usr/libexec/xscreensaver
/usr/libexec/xscreensaver-autostart
/usr/libexec/xscreensaver/xscreensaver-newlogin-wrapper
/usr/sbin/update-xscreensaver-hacks
/usr/share/X11/app-defaults/XScreenSaver
/usr/share/applications/screensavers
/usr/share/applications/xscreensaver-properties.desktop
/usr/share/doc/xscreensaver-base
/usr/share/doc/xscreensaver-base/README
/usr/share/doc/xscreensaver-base/README.VMS
/usr/share/doc/xscreensaver-base/README.hacking
/usr/share/locale/da/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/de/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/es/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/et/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/fi/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/fr/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/hu/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/it/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/ja/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/ko/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/nb/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/nl/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/pl/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/pt/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/pt_BR/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/ru/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/sk/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/sv/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/vi/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/wa/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/zh_CN/LC_MESSAGES/xscreensaver.mo
/usr/share/locale/zh_TW/LC_MESSAGES/xscreensaver.mo
/usr/share/man/man1/xscreensaver-command.1.gz
/usr/share/man/man1/xscreensaver-demo.1.gz
/usr/share/man/man1/xscreensaver-systemd.1.gz
/usr/share/man/man1/xscreensaver.1.gz
/usr/share/pixmaps/xscreensaver.xpm
/usr/share/xscreensaver
/usr/share/xscreensaver/config
/usr/share/xscreensaver/config/README
/usr/share/xscreensaver/hacks.conf.d
/usr/share/xscreensaver/hacks.conf.d/xscreensaver.conf
/usr/share/xscreensaver/ui
/usr/share/xscreensaver/ui/screensaver-cmndln.png
/usr/share/xscreensaver/ui/screensaver-colorselector.png
/usr/share/xscreensaver/ui/screensaver-diagnostic.png
/usr/share/xscreensaver/ui/screensaver-locking.png
/usr/share/xscreensaver/ui/screensaver-power.png
/usr/share/xscreensaver/ui/screensaver-snap.png
/usr/share/xscreensaver/ui/xscreensaver-demo.ui
References
Summary
In this tutorial we learn how to install xscreensaver-base
on CentOS 8 using yum and dnf.