Automic VaultAutomic Vault

brew

Installer xsel avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de xsel pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install xsel

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install xsel

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

Linux

Alpine Linux apkvérifié · 92%
sudo apk add xsel

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

Debian aptvérifié · 92%
sudo apt install xsel

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

Fedora dnfvérifié · 92%
sudo dnf install xsel

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

Nixvérifié · 92%
nix profile install nixpkgs#xsel

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

Arch Linux pacmanvérifié · 92%
sudo pacman -S xsel

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

openSUSE zyppervérifié · 92%
sudo zypper install xsel

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

aperçu

Résumé du paquet

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

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 12 plateformes.
  • S’installe avec 1 dépendances d’exécution.
  • Les métadonnées de compilation listent 5 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
xselcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-08
version du gestionnaire1.2.1
gestionnaire mis à jour2026-05-25
données localesOK
amontà jour
dernière version détectée1.2.1

https://github.com/kfish/xsel

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:xsel
Version1.2.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/xsel
Page d'accueilhttps://www.vergenet.net/~conrad/software/xsel/
Dépôthttps://github.com/kfish/xsel
Docs amonthttps://www.vergenet.net/~conrad/software/xsel
LicenceHPND-sell-variant
Archive sourcehttps://github.com/kfish/xsel/archive/refs/tags/1.2.1.tar.gz
Dernière mise à jour2026-05-25T14:39:17-04:00
Pulseupdated
Dépendanceslibx11
Dépendances de compilationautoconf, automake, libtool, libxt, pkgconf
Bouteilledisponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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