FREIGHT-ADD(1)
β¨ 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 β¨
-cconf,--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. seefreight(5)for the tea π
π ENVIRONMENT VARIABLES π
FREIGHT_CONFβ the pathname of an alternate configuration file. seefreight(5)πFREIGHT_ADD_ERRORβ if it's not empty, it acts as the--add-erroroption. 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
- epel 9: freight 0.3.13-9.el9 Β· BSD
- fedora 43: freight 0.3.13-12.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: freight 0.3.13-13.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms