我最近开始在我的工作站上使用 Centos 8,但没有 xsel
或 xclip
xclip
不可用是有什么问题还是故意的?
这是 dnf repolist
的输出,也许我遗漏了一些必备的 repo?
repo id repo name status
AppStream CentOS-8 - AppStream 5.089
Atom Atom Editor 142
BaseOS CentOS-8 - Base 2.843
amdgpu-pro-local AMD amdgpu Pro local repository 70
docker-ce-stable Docker CE Stable - x86_64 57
*epel Extra Packages for Enterprise Linux 8 - x86_64 3.643
extras CentOS-8 - Extras 3
virtualbox Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualBox 4
最佳答案
你可以自己编译:
# Obtain the sourcecode
git clone https://github.com/astrand/xclip.git
./bootstrap
./configure
make
make install
验证是否已安装:
man xclip
关于centos8 - 如何在Centos 8 上安装xclip?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59322033/