Build - adjacentlink/opentestpoint GitHub Wiki
The following instructions are for building distribution packages from OpenTestPoint source. The opentestpoint git repository master branch always contains the latest release. Older versions are available as tags. Use the develop branch for access to the latest non-stable source.
Contents
- General Build Instructions
- RHEL/Rocky/CentOS Stream 8
- RHEL/Rocky/CentOS Stream 9
- Fedora 41
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
General Build Instructions
The general steps to build OpenTestPoint are the same across all distributions.
-
Install the required build dependencies. The following dependencies are available via your distribution package manager:
- libxml2
- libuuid
- sqlite
- protobuf
- zeromq
- python-devel
- python-protobuf
Dependency package names vary slightly between distributions. Consult the below instructions for distribution specifics.
-
Clone the OpenTestPoint repo:
# git clone https://github.com/adjacentlink/opentestpoint.git
-
Build and install OpenTestPoint:
# cd opentestpoint # ./autogen.sh && ./configure --prefix=/usr && make install
RHEL/Rocky/CentOS Stream 8
-
Install OpenTestPoint build dependencies and tools:
# sudo yum install
-
Enable the EPEL package repository and install Google Protocol Buffer dependencies:
sudo dnf -y install epel-release dnf-plugins-core sudo dnf config-manager --set-enabled powertools sudo dnf -y install git gcc-c++ make autoconf automake libtool rpm-build python3-setuptools \ libxml2-devel libuuid-devel python3-devel \ python3-protobuf protobuf-devel sqlite-devel zeromq-devel
-
Clone the OpenTestPoint repo:
# git clone https://github.com/adjacentlink/opentestpoint.git
-
Build RPMs:
# cd opentestpoint # ./autogen.sh && ./configure && make rpm
-
Install RPMs:
# cd .rpmbuild # sudo yum install $(ls RPMS/x86_64/*.rpm RPMS/noarch/*.rpm | grep -v debuginfo)
RHEL/Rocky/CentOS Stream 9
-
Install OpenTestPoint build dependencies and tools:
# sudo yum install
-
Enable the EPEL package repository and install Google Protocol Buffer dependencies:
sudo dnf -y install epel-release dnf-plugins-core sudo dnf config-manager --enable crb sudo dnf -y install git gcc-c++ make autoconf automake libtool rpm-build python3-setuptools \ libxml2-devel libuuid-devel python3-devel \ python3-protobuf protobuf-devel sqlite-devel zeromq-devel
-
Clone the OpenTestPoint repo:
# git clone https://github.com/adjacentlink/opentestpoint.git
-
Build RPMs:
# cd opentestpoint # ./autogen.sh && ./configure && make rpm
-
Install RPMs:
# cd .rpmbuild # sudo yum install $(ls RPMS/x86_64/*.rpm RPMS/noarch/*.rpm | grep -v debuginfo)
Fedora 41
-
Install OpenTestPoint build dependencies:
sudo dnf install git gcc-c++ make autoconf automake libtool rpm-build python3-setuptools \ libxml2-devel libuuid-devel python3-devel \ python3-protobuf protobuf-devel sqlite-devel zeromq-devel
-
Clone the OpenTestPoint repo:
# git clone https://github.com/adjacentlink/opentestpoint.git
-
Build RPMs:
# cd opentestpoint # ./autogen.sh && ./configure && make rpm
-
Install RPMs:
# cd .rpmbuild # sudo dnf install $(ls RPMS/x86_64/*.rpm RPMS/noarch/*.rpm | grep -v debuginfo)
Ubuntu 22.04 LTS
-
Install OpenTestPoint build dependencies:
sudo apt-get install git gcc g++ autoconf automake libtool dh-python debhelper pkg-config python3-setuptools \ libxml2-dev uuid-dev \ python3-protobuf protobuf-compiler libprotobuf-dev \ python3-zmq libzmq5 libzmq3-dev \ python3-dev python3-lxml sqlite3 libsqlite3-dev
-
Clone the OpenTestPoint repo:
# git clone https://github.com/adjacentlink/opentestpoint.git
-
Build debs:
# cd opentestpoint # ./autogen.sh && ./configure && make deb
-
Install debs:
# cd .debbuild # sudo dpkg -i *.deb
Ubuntu 24.04 LTS
-
Install OpenTestPoint build dependencies:
sudo apt-get install git gcc g++ autoconf automake libtool dh-python debhelper pkg-config python3-setuptools \ libxml2-dev uuid-dev \ python3-protobuf protobuf-compiler libprotobuf-dev \ python3-zmq libzmq5 libzmq3-dev \ python3-dev python3-lxml sqlite3 libsqlite3-dev
-
Clone the OpenTestPoint repo:
# git clone https://github.com/adjacentlink/opentestpoint.git
-
Build debs:
# cd opentestpoint # ./autogen.sh && ./configure && make deb
-
Install debs:
# cd .debbuild # sudo dpkg -i *.deb