Install mgmt config on Arch Linux

If the mgmt aur package install does not work, the mgmt config tool can be installed manually from GitHub Releases.

Install Dependencies

sudo pacman -S base-devel libvirt augeas packagekit

Install Binary Example

MGMT_VERSION="1.0.2"
wget https://github.com/purpleidea/mgmt/releases/download/${MGMT_VERSION}/mgmt-linux-amd64-${MGMT_VERSION} -P /tmp/
wget https://github.com/purpleidea/mgmt/releases/download/${MGMT_VERSION}/SHA256SUMS.asc -P /tmp/
cd /tmp
sha256sum -c SHA256SUMS.asc

Create a symlink for the libxml2 dependency:

sudo ln -s /usr/lib/libxml2.so /usr/lib/libxml2.so.2

Copy the binary:

chmod +x mgmt-linux-amd64-${MGMT_VERSION}
sudo cp mgmt-linux-amd64-${MGMT_VERSION} /usr/local/bin/mgmt

Test:

mgmt --version
Previous
Back to Blog