Last active
April 16, 2020 07:32
-
-
Save houtianze/0fa0fe8bc6fad382631fd38f511f2048 to your computer and use it in GitHub Desktop.
Build xclip on CentOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# ================================================================ | |
# << Update >> | |
# Running the following is enough, no need to build yourself | |
# sudo yum install epel-release.noarch | |
# sudo yum install xclip | |
# ================================================================ | |
# simply run the following in your terminal | |
# curl -L https://git.io/XClipYum | sh | |
# WARNING: a directory name 'xclip' will be created in your current directory | |
# http://superuser.com/a/410740/135952 | |
yum install -y automake autoconf git libXmu libXmu-devel libtool | |
git clone https://github.com/astrand/xclip.git | |
cd xclip | |
autoreconf | |
./configure | |
make | |
sudo make install | |
sudo make install.man | |
#make distclean | |
cd .. | |
set +e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment