Install LPM

If you don't have Cargo (Rust's package manager) installed, you need to first install it. You can find installation instructions in the Cargo Getting Started Guide.

Install with Cargo

To install LPM from a specific branch, run the following command:

cargo install --git https://github.com/lodosgroup/lpm --branch main

Alternatively, you can install it from tags:

cargo install --git https://github.com/lodosgroup/lpm --tag <tag>

To confirm a successful LPM installation, simply execute the lpm -v or lpm --version command.

Build LPM from Source

If you prefer building LPM from its source code (usually preferred for development), follow these steps:

  1. Clone the lpm repository from GitHub:

    git clone https://github.com/lodosgroup/lpm
    
  2. Change into the cloned repository directory:

    cd lpm
    
  3. Build the lpm executable:

    cargo build --release # exclude the `--release` flag for debugging
    

After the building, you will be able to use the lpm executable undertarget/{debug/release} directory.