Panda's build and runtime dependencies are listed in panda/panda/dependencies/
for ubuntu 18, 20 and 22.
If you install all the packages listed there, clone panda, and run build.sh you should be able to build panda:
sudo apt-get update
sudo apt install --no-install-recommends [dependencies]
# clone and build PANDA
git clone https://github.com/panda-re/panda
cd panda
mkdir -p build && cd build
../build.sh
If you would like to use PyPANDA you'll need to also install it and its dependencies:
# Install pypanda, see requirements.txt for the installed python dependancies
cd panda/panda/python/core
python3 setup.py install