如何安装Spice-streaming-agent CentOS 8

SPICE-streaming-agent 是 SPICE 流代理

介绍

在本教程中我们学习如何安装 spice-streaming-agent 在 CentOS 8.

什么是 spice-streaming-agent

在来宾上运行的代理,将 X 显示的视频流发送到远程客户端(通过 SPICE)。

我们可以用 yum 或者 dnf 安装 spice-streaming-agent 在 CentOS 8. 在本教程中,我们讨论这两种方法,但您只需选择其中一种方法来安装 SPICE-Streaming-Agent。

安装Spice-streaming-agent CentOS 8 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

输出应如下所示:

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.

更新 yum 数据库后,我们可以安装 spice-streaming-agent 使用 dnf 通过运行以下命令:

sudo dnf -y install spice-streaming-agent

安装Spice-streaming-agent CentOS 8 使用百胜

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

输出应如下所示:

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.

更新 yum 数据库后,我们可以安装 spice-streaming-agent 使用 yum 通过运行以下命令:

sudo yum -y install spice-streaming-agent

如何卸载Spice-streaming-agent CentOS 8

仅卸载 spice-streaming-agent 打包我们可以使用以下命令:

sudo dnf remove spice-streaming-agent

Spice-streaming-agent 软件包内容 CentOS 8

/etc/xdg/autostart/spice-streaming.desktop
/usr/bin/spice-streaming-agent
/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/60d5b56e3031d7906b181f65e97a09575ca0e2
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/97a9caa50de8a953c3de80efb1ccb7c67fddae
/usr/lib/udev/rules.d/90-spice-guest-streaming.rules
/usr/lib64/spice-streaming-agent/plugins/gst-plugin.so
/usr/share/doc/spice-streaming-agent
/usr/share/doc/spice-streaming-agent/COPYING
/usr/share/doc/spice-streaming-agent/NEWS
/usr/share/doc/spice-streaming-agent/README
/usr/share/gdm/greeter/autostart/spice-streaming.desktop
/usr/share/man/man1/spice-streaming-agent.1.gz

参考

概括

在本教程中我们学习如何安装 spice-streaming-agent 在 CentOS 8 使用 yum 和 dnf。