All Projects → Kharacternyk → paclabel

Kharacternyk / paclabel

Licence: GPL-3.0 license
A tiny pacman wrapper that makes possible to attach labels to packages.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to paclabel

Aurutils
Helper tools for the AUR.
Stars: ✭ 695 (+4243.75%)
Mutual labels:  archlinux, pacman
Cpcache
central pacman cache
Stars: ✭ 15 (-6.25%)
Mutual labels:  archlinux, pacman
Trizen
Lightweight AUR Package Manager
Stars: ✭ 696 (+4250%)
Mutual labels:  archlinux, pacman
pacwatch
A pacman wrapper which helps you watch important package updates.
Stars: ✭ 24 (+50%)
Mutual labels:  archlinux, pacman
Ansible Aur
Ansible module to manage packages from the AUR
Stars: ✭ 149 (+831.25%)
Mutual labels:  archlinux, pacman
Octopi
A powerful Pacman (Package Manager) front end using Qt libs
Stars: ✭ 331 (+1968.75%)
Mutual labels:  archlinux, pacman
Pacaur
[unmaintained] An AUR helper that minimizes user interaction
Stars: ✭ 818 (+5012.5%)
Mutual labels:  archlinux, pacman
pyalpm
Python 3 bindings for libalpm (read-only mirror)
Stars: ✭ 50 (+212.5%)
Mutual labels:  archlinux, pacman
Pacback
Advanced Version Control for Arch Linux
Stars: ✭ 146 (+812.5%)
Mutual labels:  archlinux, pacman
Cylon
A CLI TUI menu driven bash shell script supporting updates, maintenance, backups and system checks for an Arch based Linux distro
Stars: ✭ 121 (+656.25%)
Mutual labels:  archlinux, pacman
paruz
A fzf terminal UI for paru or pacman
Stars: ✭ 29 (+81.25%)
Mutual labels:  archlinux, pacman
ArchI0
ArchI0 : Arch-Based Distros Applications Automatic Installation Script
Stars: ✭ 26 (+62.5%)
Mutual labels:  archlinux, pacman
pacman.store
Pacman Mirror via IPFS for ArchLinux, Endeavouros and Manjaro
Stars: ✭ 65 (+306.25%)
Mutual labels:  archlinux, pacman
Pacwall
A live wallpaper that shows the dependency graph and status of installed packages.
Stars: ✭ 412 (+2475%)
Mutual labels:  archlinux, pacman
pacman-for-termux
Special configured pacman for termux.
Stars: ✭ 24 (+50%)
Mutual labels:  archlinux, pacman
Yay
Yet another Yogurt - An AUR Helper written in Go
Stars: ✭ 7,100 (+44275%)
Mutual labels:  archlinux, pacman
alpm.rs
Rust bindings for libalpm
Stars: ✭ 76 (+375%)
Mutual labels:  archlinux, pacman
pkgstats-cli
pkgstats client
Stars: ✭ 17 (+6.25%)
Mutual labels:  archlinux, pacman
Paru
Feature packed AUR helper
Stars: ✭ 1,240 (+7650%)
Mutual labels:  archlinux, pacman
Kernel Modules Hook
Keeps your Arch Linux fully functional after a kernel upgrade
Stars: ✭ 175 (+993.75%)
Mutual labels:  archlinux, pacman

screenshot.png

paclabel is a tiny pacman wrapper. It makes possible to attach custom text "labels" to packages. The labels will be shown while querying the packages using -Q (unless options like -q or -k are passed, of course).

Installation

Get it from AUR.

Usage

Any valid invocations of pacman are also valid invocations of paclabel (if it isn't like this, it is considered a bug). In fact, the author does alias pacman=paclabel.

paclabel also provides these tiny extensions to the CLI of pacman:

  • While installing a package you may specify a space-separated list of labels that will be attached to the package by following the package name with a semicolon. Here is an example:

    paclabel -S pulseaudio:bloat gcc:"compiler The-Holy-C development"

    Label bloat will be attached to pulseaudio. Labels compliler, The-Holy-C and development will be attached to gcc.

  • While querying packages the labels will be shown next to package names.

  • A new operation -L is provided. The current interface is

    • paclabel -Ll to list all set labels.
    • paclabel -Ld pkg to delete all labels associated with pkg.
    • paclabel -Ls pkg:"labels" to overwrite the previous labels of pkg, if such exist, and attach labels to pkg.

    -l can be combined with -d and -s.

Storage

Labels are stored in /etc/paclabel/labels. Manual editing of the file is perfectly fine.

Caveats

If paclabel encounters a long option, such as --query or --explicit, paclabel gives up and just passes the arguments to pacman. For example,

  • paclabel -Qe shows the labels.
  • paclabel -Q --explicit and paclabel --query -e don't.

Motivation

The author finds it useful to be able to attach things like installation reason to a package.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].