Upgrading ports with portmaster
Updating all ports:
portmaster -GDabw --no-confirm
The flags mean:
-
G: Don’t run make config.
-
a: Update all installed ports.
-
b: Build a backup of the previous port.
-
w: Save all shared libraries before removing (“deinstalling”) old port.
port.
-
–no-confirm: Don’t stop in some places to ask questions. Unfortunately, it still stops in other places.
Updating a single port:
portmaster -DGbw --no-confirm {portname}