#apt #helper #makedeb #command-line-interface #mpr-helper

app mpr

The official command-line interface for the makedeb Package Repository

2 unstable releases

0.4.2 Jul 16, 2022
0.3.2 Jul 11, 2022

#28 in #apt

GPL-3.0-or-later

65KB
1.5K SLoC

Rust 1K SLoC // 0.1% comments Shell 382 SLoC // 0.0% comments BASH 127 SLoC // 0.0% comments Jsonnet 49 SLoC AsciiDoc 41 SLoC Pacman's makepkg 32 SLoC // 0.1% comments

mpr-cli

This is the repository for the MPR CLI, the official command-line interface for the makedeb Package Repository.

Latest deployment status

Installation

Users have a few options for installing the MPR CLI:

From the Prebuilt-MPR

This is the recommended way to install the MPR CLI. It avoids the need to compile any software, allows for automatic upgrades via APT, and gets you set up in just a couple of minutes.

First, set up the Prebuilt-MPR on your system, then just run the following to install the MPR CLI:

sudo apt install mpr-cli

From the MPR

You can also install the MPR CLI directly from the MPR if you'd prefer that.

To install from source, run the following:

git clone 'https://mpr.makedeb.org/mpr-cli'
cd mpr-cli/
makedeb -si

From crates.io

If for whatever reason you'd like to install from crates.io, that's also an option:

cargo install mpr

Note that the MPR CLI has tight integration to APT-specific features, so don't count on it working outside of any Debian/Ubuntu based distributions.

The MPR CLI needs the latest version of the Rust compiler toolchain in order to build. It may work with older releases, but they're not tested against and aren't guaranteed to work. If you're system's repositories don't contain the latest release, the Rust toolchain can be installed from the MPR or the Prebuilt-MPR.

Contributing

If there's something you want added/fixed in the MPR CLI, feel free to open a pull request. There aren't many guidelines on what you should do quite yet, so just submit your changes and we can figure out what to do from there!

Dependencies

~21–36MB
~517K SLoC