This document is provided as an aid to prospective packagers.
The following commands should install all dependencies needed by Qman, for different operating systems and distros:
# pacman -Sy
# pacman -S base-devel git meson libinih python-cogapp man-db man-pages
# apt update
# apt install build-essential git meson pkg-config libncurses-dev libinih-dev zlib1g-dev libbz2-dev pipx man-db
$ pipx install cogapp
💡 Note
By default,
pipx
will install thecog
executable in~/.local/bin
. You may need to add this directory to your path before proceeding withmeson setup
.
# apt update
# apt install build-essential git meson pkg-config libncurses-dev libinih-dev zlib1g-dev libbz2-dev python3-pip man-db
# pip install cogapp
# dnf install epel-release
# dnf update
# dnf group install "Development Tools"
# dnf install man-db man-pages ncurses-devel bzip2-devel python3-pip
# dnf --enablerepo devel install meson inih-devel
# pip install cogapp
💡 Note
These steps should also work with Red Hat Enterprise Linux 9 and AlmaLinux 9
# dnf install epel-release
# dnf update
# dnf group install "Development Tools"
# dnf install man-db man-pages ncurses-devel inih-devel bzip2-devel python3-pip
# dnf --enablerepo devel install meson
# pip3 install cogapp
💡 Note
Rocky 8 supplies GNU
man
version 2.7, which is not compatible with Qman, as it doesn't support specifying the manual section using brackets (i.e.man 'ls(1)'
results in 'No manual entry for ls(1)'). You will thus have to install a newer version of GNUman
on your system.
💡 Note
These steps should also work with Red Hat Enterprise Linux 8 and AlmaLinux 8
# apt update
# apt install build-essential git meson cmake pkg-config libncurses-dev libinih-dev zlib1g-dev libbz2-dev python3-cogapp man-db
# apt update
# apt install build-essential git meson cmake pkg-config libncurses-dev libinih-dev libbz2-dev python3-pip man-db
# pip install cogapp
💡 Note
For Ubuntu 20.04, you must substitute
meson compile
withninja
during the build process
# zypper refresh
# zypper install gcc cmake meson ninja python3-cogapp ncurses-devel libinih-devel cmake zlib-devel libbz2-devel