man bunny
bunny
NAMENOM
bunny: the package manager of Mwa Linux
bunny : le gestionnaire de paquets de Mwa Linux
SYNOPSIS
bunny [--root <dir>] <command> [arguments]
DESCRIPTION
bunny installs precompiled packages. It never compiles anything on your machine.
bunny installe des paquets précompilés. Il ne compile jamais rien sur ta machine.
Before installing, it checks the size, the sha256 and the signature of every archive. If one check fails, nothing is installed.
Avant d'installer, il vérifie la taille, le sha256 et la signature de chaque archive. Si une vérification échoue, rien n'est installé.
A package is a plain .tar.zst archive. You can open it with tar.
Un paquet est une simple archive .tar.zst. Elle s'ouvre avec tar.
COMMANDSCOMMANDES
- update
- download the signed indexes of the repositoriestélécharge les index signés des dépôts
- search <pattern>
- search by name or descriptioncherche par nom ou description
- install <pkg>…
- install packages and their dependenciesinstalle des paquets et leurs dépendances
- remove <pkg>…
- remove packagessupprime des paquets
- sysupgrade
- upgrade the whole systemmet à jour tout le système
- list [-f <pkg>]
- installed packages, or the files of onepaquets installés, ou fichiers d'un paquet
- owns <path>
- which package owns a fileà quel paquet appartient un fichier
- info <pkg>
- version, dependencies, descriptionversion, dépendances, description
- verify [<pkg>]
- check installed files against the packagecompare les fichiers installés au paquet
- rollback <pkg>
- reinstall the previous version from the cacheréinstalle la version précédente depuis le cache
$ doas bunny update $ bunny search zstd $ doas bunny install zstd $ bunny owns /usr/bin/zstd $ doas bunny sysupgrade
REPOSITORIESDÉPÔTS
/etc/bunny/repos.conf lists the repositories, one per line, by priority:
/etc/bunny/repos.conf liste les dépôts, un par ligne, par ordre de priorité :
stable http://pkg.mwa.dog/stable/ testing http://pkg.mwa.dog/testing/
testing gets new builds first. They move to stable after a test machine boots with them.
testing reçoit d'abord les nouvelles versions. Elles passent dans stable après le démarrage d'une machine de test avec elles.
Only http:// is accepted. The transport proves nothing: the signatures do. bunny refuses an index older than the one it already has, so a server cannot send you back to old packages.
Seul http:// est accepté. Le transport ne prouve rien : ce sont les signatures qui comptent. bunny refuse un index plus ancien que celui qu'il a déjà : un serveur ne peut pas te renvoyer vers de vieux paquets.
Browse the packages: pkg.mwa.dog.
Parcourir les paquets : pkg.mwa.dog.
SIGNATURES
Trusted keys are in /etc/bunny/keys/, from the mwa-keyring package. Key of 2026 (Ed25519, minisign format):
Les clés de confiance sont dans /etc/bunny/keys/, fournies par le paquet mwa-keyring. Clé de 2026 (Ed25519, format minisign) :
RWT0DI/j+53wchmcBUfUgxf643+lwnDT2rlqxpi51QHv8y+tv3Nb0ShN
Check an archive by hand:
Vérifier une archive à la main :
$ bunny check-sig zstd-1.5.7-1-x86_64.tar.zst $ minisign -Vm zstd-1.5.7-1-x86_64.tar.zst -P RWT0DI/j+53wchmcBUfUgxf643+lwnDT2rlqxpi51QHv8y+tv3Nb0ShN
CONFIGURATION FILESFICHIERS DE CONFIGURATION
bunny never overwrites a file in /etc that you changed. It writes the new version next to it, as <file>.bunny-new, and tells you at the end.
bunny n'écrase jamais un fichier de /etc que tu as modifié. Il écrit la nouvelle version à côté, en <fichier>.bunny-new, et te le signale à la fin.
REPAIRRÉPARATION
Go back to the previous version of a package (bunny keeps the last two in its cache):
Revenir à la version précédente d'un paquet (bunny garde les deux dernières dans son cache) :
$ doas bunny rollback zstd
If a broken library stops bunny from running, use bunny.static. It has no dependencies and no network, and installs from a local archive:
Si une bibliothèque cassée empêche bunny de se lancer, utilise bunny.static. Il n'a aucune dépendance ni accès réseau, et installe depuis une archive locale :
$ doas bunny.static install /var/cache/bunny/pkg/zstd-1.5.7-1-x86_64.tar.zst
FILESFICHIERS
- /etc/bunny/repos.conf
- repositoriesdépôts
- /etc/bunny/keys/
- trusted public keysclés publiques de confiance
- /var/lib/bunny/local/
- installed packages, plain textpaquets installés, en texte brut
- /var/lib/bunny/sync/
- signed indexesindex signés
- /var/cache/bunny/pkg/
- downloaded archivesarchives téléchargées
SEE ALSOVOIR AUSSI
openrc, pkg.mwa.dog, minisign