As mpm (the primary use for this tool) is migrating over to use the DUR, this project no longer serves a general purpose for me, and will thus no longer be maintained.
makedeb-db converts Arch Linux dependency names to their Debian counterparts.
Arch Linux users can install makedeb-db from the AUR.
Users on Debian or Debian-based systems (i.e. Ubuntu) should follow the below instructions.
First, set up the repository with the following commands:
sudo wget 'https://hunterwittenborn.com/keys/apt.asc' -O /etc/apt/trusted.gpg.d/hwittenborn.asc
echo 'deb [arch=all] https://repo.hunterwittenborn.com/debian/makedeb any main' | sudo tee /etc/apt/sources.list.d/makedeb.list
sudo apt update
Then, install makedeb-db with the following command:
sudo apt install makedeb-db
Instructions can be found after installation with makedeb-db --help
makedeb-db will search the database for the package(s) specified and return the results in JSON format.
The --package
/-P
option only accepts one package as an argument.
The --general
/-G
option will only return packages that can be found inside the database. This option accepts as many packages as you give it.
The returning JSON isn't currently set in stone, and may change at any time. If you require more stability, you'll need to act directly upon the database until this message is removed.