Wie man python3 auf pfSense installiert

Melden Sie sich zuerst als root über ssh an Ihrer pfSense an.

Verwenden Sie dann

pkg_search.sh
pkg search python

um anzuzeigen, welche Python-Versionen verfügbar sind. Ausgabe auf 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 language

Führen Sie nun z.B.

pkg_install_python38.sh
pkg install python38-3.8.12_1

Auf meiner pfSense war python3.8 bereits installiert.

Denken Sie daran, dass Sie Python explizit mit python3.8 ausführen müssen, nur python oder python3 funktioniert nicht!


Check out similar posts by category: Networking, Python