P4Python does not work on Ubuntu 16.04 since the distribution comes with OpenSSL 1.1.0g.(details). I am trying to build P4Python from source using –ssl path/to/openssl1.0. I need to install OpenSSL 1.0.2 along with the default version of OpenSSL. (Not sure if something would break if I downgrade OpenSSL). How do I install the older version of OpenSSL so that I can just use it for building P4Python?
Ubuntu – How to install openssl 1.0.2 with default openssl (1.1.1) on Ubuntu 16.04
openssl
Best Answer
This article has a complete answer: https://www.miguelvallejo.com/tag/installing-openssl-1-0-2g-on-ubuntu/
Reformatted slightly: