Table of Contents

How To Local Install Xclip On Centos

First download the required rpm package based on your operating system from here...

For me the correct version is xclip-0.12-1.el7.x86_64.rpm

Now run following command...

rpm2cpio xclip-0.12-1.el7.x86_64.rpm | cpio -idmv

You should see output like this...


Now do following...

mkdir -p ~/bin/
cp -p ./usr/bin/xclip ~/bin/
chmod +x ~/bin/xclip

Thats it, you are all set. Now you should be able to use xclip.

cat <file_name> | xclip

Related Posts