如何在 pfSense 上安装 python3
首先,使用 ssh 以 root 身份登录到你的 pfSense。
然后使用
pkg_search.sh
pkg search python显示可用的 python 版本。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现在运行例如
pkg_install_python38.sh
pkg install python38-3.8.12_1在我的 pfSense 上,python3.8 已经安装了。
记住要运行 python,你需要显式运行 python3.8,只运行 python 或 python3 不行!
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