Automic VaultAutomic Vault

brew

xsel mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für xsel in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install xsel

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install xsel

MacPorts ports tree · x11/xsel/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add xsel

Alpine Linux edge package indexes · xsel · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install xsel

Debian stable package indexes · xsel · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install xsel

Fedora Rawhide package metadata · xsel · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#xsel

nixpkgs package indexes · pkgs/by-name/xs/xsel/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S xsel

Arch Linux sync databases · xsel · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install xsel

openSUSE Tumbleweed package metadata · xsel · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Command-line program for getting and setting the contents of the X selection

Verlauf

Projektgeschichte und Nutzung

xsel is Conrad Parker's command-line utility for reading and setting X selections. It turns PRIMARY, SECONDARY, and CLIPBOARD selection ownership into a pipe-friendly Unix interface, making X11 copy/paste state usable from shell scripts and terminal workflows.

Projektgeschichte

The xsel manpage identifies Conrad Parker as author and dates the program to July 2001, while the license file carries a 2001 copyright. Its homepage presents the core problem plainly: the X selection is normally accessible by manually highlighting text and pasting with the middle mouse button, while xsel lets files, pipes, and scripts participate.

The project developed around X11's ICCCM selection model. The manpage notes that there is no X selection buffer: xsel must own the selection and serve it on demand, often by forking a background process in input, keep, and exchange modes.

Adoptionsgeschichte

xsel became a standard small X11 utility because it solved a daily terminal-desktop gap. The homepage says it is available in most distributions, and package metadata shows it in Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE ecosystems.

Its closest cultural sibling is `xclip`; both became staples in scripts that move text between command output, terminal multiplexers, editors, browsers, and the X clipboard. xsel's options for append, follow, keep, exchange, and secondary selection make it especially explicit about the underlying X selection machinery.

Wie es verwendet wird

Common usage is `command | xsel -b` to put text on the CLIPBOARD selection, `xsel -b -o` to print clipboard contents, `xsel < file` to own the PRIMARY selection with file contents, and `xsel > file` to save the current selection exactly.

The manpage documents PRIMARY as the default, with `--secondary` and `--clipboard` selecting the other X selections. Because X selection contents are served by the owner, xsel may detach in modes where it must keep supplying data after the shell command exits.

Warum Paket-Nerds sich dafür interessieren

xsel is tiny, but it teaches a core X11 lesson: clipboard-like behavior is inter-client communication, not simply a global text buffer. Packaging it gives shell users a reliable bridge into that model.

It is also one of those utilities whose value increases in combinations: SSH sessions with X forwarding, terminal multiplexers, editors, scripts, password managers, build logs, and bug-report commands all benefit from being able to pipe text into or out of the X selection.

Zeitleiste

  • 2001-07: The xsel manpage dates Conrad Parker's authorship to July 2001.
  • 2001: The license file records Conrad Parker copyright for xsel.
  • 2008-01: The distributed manpage is dated January 2008.
  • 2009: The homepage lists version 1.2.0 as the latest available tarball.
  • 2020s: xsel remains packaged across Linux, BSD, macOS package-manager, and X11 compatibility environments.

Related projects

  • xclip is the closest alternative command-line X clipboard/selection utility.
  • xclipboard is the classic X clipboard manager referenced by the xsel manpage.
  • ICCCM defines the X selection conventions xsel follows.
  • Wayland-native clipboard tools such as wl-clipboard fill the equivalent niche outside X11.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 12 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 5 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
xselcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version1.2.1
Manager aktualisiert2026-05-25
lokale DatenOK
Upstreamaktuell
neueste erkannte Version1.2.1

https://github.com/kfish/xsel

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:xsel
Version1.2.1
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/xsel
Homepagehttps://www.vergenet.net/~conrad/software/xsel/
Repositoryhttps://github.com/kfish/xsel
Upstream-Dokumentationhttps://www.vergenet.net/~conrad/software/xsel
LizenzHPND-sell-variant
Quellarchivhttps://github.com/kfish/xsel/archive/refs/tags/1.2.1.tar.gz
Zuletzt aktualisiert2026-05-25T14:39:17-04:00
Pulseupdated
Abhängigkeitenlibx11
Build-Abhängigkeitenautoconf, automake, libtool, libxt, pkgconf
Bottleverfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexsel
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

xsel 1.2.1-1

command-line tool to access X clipboard and selection buffers

http://www.vergenet.net/~conrad/software/xsel/

sudo apt install xsel
  • Section: x11
  • Architecture: amd64
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xsel
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xsel from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xsel

nix profile install nixpkgs#xsel
  • normalized package name match
  • Abgeglichen nach: Xsel
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xs/xsel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

xsel 1.2.1-1

command-line tool to access X clipboard and selection buffers

http://www.vergenet.net/~conrad/software/xsel/

sudo apt install xsel
  • Section: universe/x11
  • Architecture: amd64
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xsel
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xsel from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

xsel 1.2.1-r0

Command-line program for manipulating the X selection

http://www.vergenet.net/~conrad/software/xsel

sudo apk add xsel
  • License: MIT
  • Architecture: x86_64
  • Source Package: xsel
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Xsel
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xsel from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xsel-doc 1.2.1-r0

Command-line program for manipulating the X selection (documentation)

http://www.vergenet.net/~conrad/software/xsel

sudo apk add xsel-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: xsel
  • normalized package name match
  • Abgeglichen nach: Xsel
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xsel-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xsel 1.2.1-10.fc44

Command line clipboard and X selection tool

https://www.vergenet.net/~conrad/software/xsel/

sudo dnf install xsel
  • License: HPND-sell-variant
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xsel
  • 3 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Xsel
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xsel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

xsel 1.2.1-2

Command-line program for getting and setting the contents of the X selection

https://vergenet.net/~conrad/software/xsel/

sudo pacman -S xsel
  • License: custom
  • Architecture: x86_64
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xsel
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: xsel from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

xsel 1.2.1-1.6

Command-line Program for Getting and Setting the Contents of the X Selection

http://www.kfish.org/software/xsel/

sudo zypper install xsel
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xsel
  • 2 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Xsel
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xsel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xsel

sudo port install xsel
  • normalized package name match
  • Abgeglichen nach: Xsel
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/xsel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment