1、下载软件包

https://rpms.remirepo.net/rpmphp/zoom.php?rpm=virglrenderer

我下载版本为0.6.0-4.20170210git76b3da97b.fc28

2、安装src.rpm软件包

先安装依赖包:

yum install autoconf-archive

yum install xorg-x11-util-macr

 

编译src.rpm包:rpmbuild --rebuild --clean virglrenderer-0.6.0-4.20170210git76b3da97b.fc28.src.rpm

生成rpm包,/root/rpmbuild/RPMS/x86_64/打印信息发现生成到此文件夹下。

virglrenderer的src.rpm包安装_虚拟化

3、安装rpm包

yum install virglrenderer-0.6.0-4.20170210git76b3da97b.el7.x86_64.rpm virglrenderer-devel-0.6.0-4.20170210git76b3da97b.el7.x86_64.rpm virglrenderer-test-server-0.6.0-4.20170210git76b3da97b.el7.x86_64.rpm