一、系统:Deepin V23
用apt install screensaver安装的屏幕保护程序提示太旧,无法运行。于是采用从官网(https://www.jwz.org/xscreensaver/)下载源码来编译安装。
二、下载源码并解压
#cd /usr/local/src
#tar -zxvf xscreensaver-6.09.tar.gz
三安装相关依赖
#apt install perl pkg-config gettext intltool libx11-dev libxext-dev libxi-dev libxt-dev libxft-dev libxinerama-dev libxrandr-dev libxxf86vm-dev libgl-dev libglu-dev libgle-dev libgtk-3-0 libgdk-pixbuf2.0-dev libjpeg-dev libxml2 libxml2-dev libpam-dev libsystemd-dev elogind
如:
四 编译及安装
1.#cd ./xscreensaver-6.09
#./configure --prefix=/usr
2.#make
3.#make install