How to install xsel on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Command line clipboard and X selection tool
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | — | ✓ | 1.2.0 |
| RHEL 7 | — | — | — | |
| RHEL 6 | — | — | — |
Description
XSel is a command line or script utility, similar to xclip, that can copy the primary and secondary X selection, or any highlighted text, to or from a file, stdin or stdout. It can also append to and delete the clipboard or buffer that you would paste with the middle mouse button.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
xsel on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install xsel
Package downloads require an active GetPageSpeed subscription — one repository for xsel and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install xsel on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the xsel package with your system package manager.
Which Enterprise Linux versions is xsel available for?
xsel is available for RHEL 8.