How to Update FreeBSD Ports

If you have a GUI already installed., Once you have the Terminal open (or if you're logged into your user and have no GUI)., After successfully logging into the root user.

3 Steps 1 min read Easy

Step-by-Step Guide

  1. Step 1: If you have a GUI already installed.

    Please open the terminal application that you would commonly use.

    If a GUI is not present on your machine, then move on to the next step.
  2. Step 2: Once you have the Terminal open (or if you're logged into your user and have no GUI).

    Please type in "su
    -" followed by the password to the root account.

    Only the root user can update, or install things from ports. , If this is a new install and you have not updated ports before, type "portsnap fetch extract" and it'll fetch the latest snapshot of ports and extract it to the proper directory.

    If this is after the first time you've updated ports, as well as to update ports in the future after doing the first update.

    Type "portsnap fetch update" to update ports.

    To update the applications on the machine, it would be a good idea to install from ports either "port master" or "port-up-grade."
  3. Step 3: After successfully logging into the root user.

Detailed Guide

Please open the terminal application that you would commonly use.

If a GUI is not present on your machine, then move on to the next step.

Please type in "su
-" followed by the password to the root account.

Only the root user can update, or install things from ports. , If this is a new install and you have not updated ports before, type "portsnap fetch extract" and it'll fetch the latest snapshot of ports and extract it to the proper directory.

If this is after the first time you've updated ports, as well as to update ports in the future after doing the first update.

Type "portsnap fetch update" to update ports.

To update the applications on the machine, it would be a good idea to install from ports either "port master" or "port-up-grade."

About the Author

T

Teresa Morales

Brings years of experience writing about home improvement and related subjects.

45 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: