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

    Package Upgrades via CLI

    pfSense Packages
    3
    4
    637
    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.
    • T
      tman222
      last edited by

      Hi all,

      Is there a way to install/remove/update pfSense packages from the shell/console as well or can this only be done via the WebGUI? If yes, what would be the process to do so? Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • T
        tman222
        last edited by tman222

        I think I answered my own question, found this page in the documentation:

        https://docs.netgate.com/pfsense/en/latest/troubleshooting/pkg-broken-database.html

        Is this correct method?

        /usr/local/sbin/pkg-static install -yf <additional-package> <another-additional-package>
        

        Thanks again.

        1 Reply Last reply Reply Quote 0
        • provelsP
          provels
          last edited by

          If the packagess are already installed and you just want to update

          pkg upgrade
          

          will do it.

          Peder

          MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
          BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

          1 Reply Last reply Reply Quote 1
          • JonathanLeeJ
            JonathanLee
            last edited by

            Pkg update
            Pkg clean

            Clean gets rid of old versions no longer needed

            Make sure to upvote

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