Prior to version 2.4.5, pfSense only shipped with Python 2.7. This repository aims to provide a quick and easy way to install Python 3 on pfSense versions prior to 2.4.5. A variety of Python 3 versions are available for each pfSense revision. These will be updated as pfSense stable releases are created.
- SSH into your pfSense machine and bring up a shell prompt.
- Download and install your required version of Python 3 (replace pfSense version and Python version as appropriate).
$> cd /tmp
$> fetch https://github.com/ultrahorizon/pfSense-Python3/raw/master/2.4.4-RELEASE-p3/amd64/3.6.txz
$> pkg add 3.6.txz
Follow these steps to install Python 3.6 on your pfSense 2.4.4-RELEASE-p3 machine. Where applicable the steps below can be changed to suit different versions of Python or pfSense.
- SSH into your pfSense machine and bring up a shell prompt.
- Ensure git is installed:
$> pkg install git
- Clone this repository to a directory of your choice:
$> git clone [email protected]:ultrahorizon/pfSense-Python3.git
- Enter the appropriate pfSense version directory (in this case 2.4.4):
$> cd /pfSense-Python3/2.4.4-RELEASE-p3/amd64
- Install the appropriate Python 3 version for your requirements (in this case Python 3.6):
$> pkg add 3.6.txz