## introduction [vpac](https://vpac.vorelabs.dev/) is *versatile* package manager based on [libalpm](https://man.archlinux.org/man/libalpm.3) ## features vpac not only posses full pacman parity, but also extends on top of it: - advanced orphan detection: `vpac d -tt` also lists the dependencies only an optdepends line keeps - mirror ranking by latency and download speed (`vpac k`), written to the files the config requires - pkgbuild repos, the AUR among them: search them, review a PKGBUILD, and build and install from them (`vpac b`, `vpac i -b`) - verification against the package's mtree, not just its file list (`vpac v -kk`), and of the local db and the sync dependencies (`vpac v -D`, `vpac v -DD`) - file lookup in the sync file dbs (`vpac f`), with regular expressions too - a json event protocol for other frontends (`--ui ipc`) - one config file, written in [blip](https://git.vorelabs.dev/vorelabs/blip), that can pull its mirror lists from files of their own ## quick start Clone this repository, then: ```sh ./install.vsh # asks a few questions, writes /etc/vpac.d/config.lip v . -o vpac # builds vpac into ./vpac ln -sf $PWD/vpac /usr/local/bin/vpac vpac k -w # ranks the mirrors for your system into the config's mirror file vpac s -r linux-lts # search the sync databases ``` `install.vsh` also asks whether to keep vpac's database, cache, keys and hooks in pacman's directories, and whether to turn libalpm's download sandbox off. Answer no to the first only if you mean to keep vpac's state apart from pacman's: a separate database does not know the packages pacman installed. Building needs the V compiler, `v`. It also needs the `alpm` and `blip` modules, which V finds under its module directory, and libalpm's headers and library. `v test src` and `v test vmakepkg` run the test suites. ## docs - [usage](docs/usage.md): the command line, every mode and its options - [configuration](docs/configuration.md): every form and key in `config.lip`, with its default ## coming soon - drop-in pacman shim - configuration profils - state snapshots - extended flake-like makepkg ## state an honest assessment of vpac's state: - [X] good enough to keep along pacman - [ ] can fully replace pacman - [ ] can be installed on any compatible OS