How To Install tty-copy on Fedora 36

In this tutorial we learn how to install tty-copy in Fedora 36. tty-copy is Copy content to system clipboard via TTY and terminal using ANSI OSC52 sequence

Introduction

In this tutorial we learn how to install tty-copy on Fedora 36.

What is tty-copy

tty-copy is a utility for copying content to the system clipboard from anywhere via a TTY and terminal using the ANSI OSC52 sequence. It works in any terminal session, whether local, remote (e.g. SSH), or even nested therein.

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

Install tty-copy 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 tty-copy using dnf by running the following command:

sudo dnf -y install tty-copy

Install tty-copy 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 tty-copy using yum by running the following command:

sudo yum -y install tty-copy

How To Uninstall tty-copy on Fedora 36

To uninstall only the tty-copy package we can use the following command:

sudo dnf remove tty-copy

tty-copy Package Contents on Fedora 36

/usr/bin/tty-copy
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/a476801ecfc791cfbe291dfd3aa5fc41c76f00
/usr/share/doc/tty-copy
/usr/share/doc/tty-copy/README.adoc
/usr/share/licenses/tty-copy
/usr/share/licenses/tty-copy/LICENSE
/usr/share/man/man1/tty-copy.1.gz

References

Summary

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