How to install .txz package on pfSense

In order to install a .txz file on your pfSense:

  1. Download the file to your computer and scp it to your pfSense to /tmp, e.g.:
scp_txz_to_pfsense.sh
scp pfSense-pkg-WireGuard-0.1.1_1.txz [email protected]:/tmp/
```plaintext {filename="e.g"}
2. Login as `admin` to your pfSense via SSH and press `8`to go into the `root` shell:

```shell {filename="ssh_pfsense_admin.sh"}
ssh [email protected]
```plaintext {filename="pfSense-pkg-WireGuard-0.1.1_1.txz"}
3. Go into /tmp and then **run `pkg install <.txz>`.** When prompted, confirm using `y`.
4. ```shell {filename="install_txz_pfsense.sh"}
cd /tmp
pkg install pfSense-pkg-WireGuard-0.1.1_1.txz
```plaintext {filename="pfsense.techoverflow.net"}


You can install multiple packages at once using `pkg install <1.txz> <2.txz> [...]`. This is recommended if the packages belong together.p

Check out similar posts by category: Networking