FREIGHT-ADD(1)

πŸ“¦ version 0.3.13, in epel 9, fedora 43, fedora 44

✨ FREIGHT-ADD ✨

okay bestie, welcome to the FREIGHT-ADD(1) page, aka the Freight manual, section 1. this is where we add packages to Freight and honestly? it's giving organizational queen. πŸ’…


🌸 NAME 🌸

freight-add β€” add a package to Freight 🫢


πŸŽ€ SYNOPSIS πŸŽ€

freight add [-c conf] [-v] [-h] package manager/distro[/component][...]

πŸ’– DESCRIPTION πŸ’–

so what this does, bestie, is it registers package with one or more manager/distro[/component] pairs (or triples, we love a triple πŸ‘‘).

Currently, apt is the only supported manager β€” no cap, that's just where we're at β€” and package has to be one of these exact shapes:

  • *.deb, *.ddeb, *.dsc *.debian.tar.gz *.orig.tar.gz
  • *.dsc *.diff.gz *.orig.tar.gz
  • *.dsc *.tar.gz

distro can literally be any arbitrary value you want, but it's best suited to naming a particular version of the target operating system (like "wheezy" or "precise", iykyk). component is optional, and for apt it defaults to main.

The package files get organized in the Freight library so that freight-cache(1) has an easy time of creating package repositories for each manager/distro[/component] later. it's literally setting up the whole vibe so the next tool can just ✨shine✨.


✨ OPTIONS ✨

  • -c conf, --conf=conf β€” use an alternate configuration file. not feeling the default? pick your own πŸ’œ
  • -v, --verbose β€” verbose mode. give me ALL the details, no gatekeeping πŸ”₯
  • -e, --add-error β€” raises an error if the package you're trying to add is already registered. dramatic? yes. useful? also yes πŸ’€
  • -h, --help β€” show a help message. the classic 🫢

πŸ¦‹ FILES πŸ¦‹

  • /etc/freight.conf, ~/.freight.conf, etc/freight.conf, .freight.conf β€” the default configuration files. see freight(5) for the tea πŸ“

🌈 ENVIRONMENT VARIABLES 🌈

  • FREIGHT_CONF β€” the pathname of an alternate configuration file. see freight(5) πŸ’–
  • FREIGHT_ADD_ERROR β€” if it's not empty, it acts as the --add-error option. sneaky but iconic ✨

🎡 THEME SONG 🎡

The New Pornographers - "All the Old Showstoppers" β€” yes this is canon, put it on your playlist 🌸


πŸ‘‘ AUTHOR πŸ‘‘

Richard Crowley r@rcrowley.org πŸ’œ


🌟 SEE ALSO 🌟

Part of freight(1).

freight-cache(1) builds package repositories from the intermediate "Freight library" managed by freight-add. they're a duo, fr fr 🫢


and that's the whole page, bestie!! this dropped back in September 2016, and it's part of Freight (the Freight manual, section 1, if you're keeping track). slay, go add some packages πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from