How to install python3 on pfSense
First, login to your pfSense as root using ssh.
Then use
pkg_search.sh
pkg search pythonto show which python versions are available. Output on pfSense 2.6.0:
pkg_search_output.txt
frr7-pythontools-7.5.1_3 Provide configuration reload functionality for FRR
py38-gitpython-3.1.24 Python Git Library
python38-3.8.12_1 Interpreted object-oriented programming languageNow run e.g.
pkg_install_python38.sh
pkg install python38-3.8.12_1On my pfSense, python3.8 was already installed.
Remember that in order to run python, you need to explicitly run python3.8, just running python or python3 won’t work!
Check out similar posts by category:
Networking, Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow