Portsnap Command not Found



  • I'm trying to run portsnap fetch on pfsense cli but I'm getting the error "Command not found"

    I'm still learning so please help me. Thanks!


  • Rebel Alliance Developer Netgate

    pfSense is not a general purpose FreeBSD server. It does not include the ports tree or a compiler environment. Even if you managed to get portsnap to function, you could not compile anything.

    Setup an actual FreeBSD system or VM and compile what you need there, then move over the resulting package files.



  • @jimp:

    pfSense is not a general purpose FreeBSD server. It does not include the ports tree or a compiler environment. Even if you managed to get portsnap to function, you could not compile anything.

    Setup an actual FreeBSD system or VM and compile what you need there, then move over the resulting package files.

    I need to install separate freebsd, and move the resulting package files. Got it. But what is the resulting package files?

    Another question is will it affect my pfsense?


  • Rebel Alliance Developer Netgate

    When you do "make package" for a freebsd port, it puts a .txz package file in the port's work dir. That's what you copy over. That and the package files for any dependencies.

    And of course it will affect pfSense. You could break it in any number of ways, which is why we don't put those things on the firewall.



  • @jimp:

    When you do "make package" for a freebsd port, it puts a .txz package file in the port's work dir. That's what you copy over. That and the package files for any dependencies.

    And of course it will affect pfSense. You could break it in any number of ways, which is why we don't put those things on the firewall.

    Oh ok. Thanks for that info. Might as well leave it as it is.