How To Install ydotool on Fedora 36

In this tutorial we learn how to install ydotool in Fedora 36. ydotool is Generic command-line automation tool (no X!)

Introduction

In this tutorial we learn how to install ydotool on Fedora 36.

What is ydotool

Performs some of the functions of xdotool(1) without requiring X11 - however, it generally requires root permission (to open /dev/uinput) NOTE NOTE NOTE NOTE NOTE NOTE SEE Currently implemented command(s) - type - Type a string - key - Press keys - mousemove - Move mouse pointer to absolute position - click - Click on mouse buttons - recorder - Record/replay input events - sleep - sleep ms N.B. it is strongly recommended to start the ydotoold daemon with - systemctl enable ydotool - systemctl start ydotool

We can use yum or dnf to install ydotool on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ydotool.

Install ydotool on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ydotool using dnf by running the following command:

sudo dnf -y install ydotool

Install ydotool on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ydotool using yum by running the following command:

sudo yum -y install ydotool

How To Uninstall ydotool on Fedora 36

To uninstall only the ydotool package we can use the following command:

sudo dnf remove ydotool

ydotool Package Contents on Fedora 36

/usr/bin/ydotool
/usr/bin/ydotoold
/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/d66bdb5edf1c0adaafde9eeb50d1d754df0c59
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/e5a0ea8422bdf99f409106effd061dcb27787f
/usr/lib/systemd/system/ydotool.service
/usr/share/doc/ydotool
/usr/share/doc/ydotool/README.md
/usr/share/licenses/ydotool
/usr/share/licenses/ydotool/LICENSE
/usr/share/man/man1/ydotool.1.gz
/usr/share/man/man8/ydotoold.8.gz

References

Summary

In this tutorial we learn how to install ydotool on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).