I installed Calculix from the preCICE website, after making sure all the dependencies given by
sudo apt install libarpack2-dev libspooles-dev libyaml-cpp-dev
were also installed first.
Then I made calculix by running make -j 4 in src and proceeded to download the adapter from the site, I have made a new post about it as well, detailing the problem