Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Is it okay / allowed to install a standard FreeBSD package (zsh) on a NetGate 6100?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 429 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ChrisJenk
      last edited by

      I have a lot of useful scripts written for 'zsh' and I would like to be able to use a few of them on my router. While I could 'port' then to 'sh' that is a lot of work. It would be much nicer to have zsh available on the unit. I do NOT want/need to change the default shell, or the shell of any user, to be zsh. I just need it to be present.

      Thoughts? Any downside / gotchas?

      1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by bmeeks

        The big danger is if the zsh package pulls in any runtime dependencies in the form of shared libraries. If it does, then a possibility exists those versions will not be correct for the installed pfSense system resulting in possible corruption of the pfSense installation. Packages are compiled against specifc FreeBSD versions. pfSense is currently based on FreeBSD 14.0-CURRENT. It's likely going to be hard to find any standard packge repos built on that FreeBSD variant.

        I would first try this in a virtual machine test environment. That way, if it borks the pfSense install, all you are out is a few minutes of your labor.

        1 Reply Last reply Reply Quote 1
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yup, test it first is good advice.

          https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html#concerns-warnings

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.