Building and installing Debian packages (.deb)

This section will describe how to build and install the Debian packages needed for the CNaaS tests. This assumes you already have perfsonar-testpoint installed and configured properly.


First step is to install the packages required for building Debian packages. Installing these three packages should fetch everything you need for building packages:

sudo apt install devscripts build-essential git


Next step is to download the code for the PerfSonar tests and tools we want to build. The code is available on GitHub, and for now on my private repository.

git clone https://github.com/krihal/pscheduler.git


Now we can change directories and build the packages:

cd pscheduler/

cd pscheduler-tool-wpa/

dpkg-buildpackage -us -uc -b

cd ../pscheduler-test-dot1x/

dpkg-buildpackage -us -uc -b

cd ..


That should produce two packages:

  • pscheduler-test-dot1x_0.0.1-1_all.deb
  • pscheduler-tool-wpa_0.0.1-1_all.deb

We can now install them:

sudo dpkg -i pscheduler-test-dot1x_0.0.1-1_all.deb

sudo dpkg -i pscheduler-tool-wpa_0.0.1-1_all.deb
  • No labels