Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems to be extremely difficult to install xdotool
on CentOS because of it's requirements. such as

yum groupinstall 'Development Tools' -y
yum install libXi-devel libXtst-devel libXinerama-devel -y

the top one especially is difficult to move to a folder and install locally. ( without internet ). ( for extra speed ).

Currently I have to run those two commands and then I have to run these in order to install xdotool on CentOS Linux.

cat > /etc/ld.so.conf << "EOF"
# rm -rf xdotool-2.20110530.1
# tar -xvf xdot*
cd xdot*
make install

I tried adding epel and rpmforge repos to my yum and then I searched for xdotool nothing was found.

I was wondering if there is a known rpm version so that installing it would be simple on CentOS Linux.

share|improve this question
What version of CentOS are you running? I found a CentOS 6 RPM for it: pkgs.org/centos-6-rhel-6/nux-dextop-i386/… – Bratchley Sep 4 '13 at 1:55
up vote 2 down vote accepted

Looking closer into it. It looks like xdotool is provided by the nux dextop repository:

[root@nctirlwb07 ~]# yum info xdotool
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Available Packages
Name        : xdotool
Arch        : x86_64
Epoch       : 1
Version     : 2.20110530.1
Release     : 4.el6.nux
Size        : 44 k
Repo        : nux-dextop
Summary     : Fake keyboard/mouse input
URL         : http://www.semicomplete.com/projects/xdotool/
License     : BSD
Description : This tool lets you programmatically (or manually) simulate
            : keyboard input and mouse activity, move and re-size windows, etc.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.