Bsd updating ports collection

6854933580_2c8b688306_z

2014-02-26 Live demo in BSD Now Episode 026 | Originally written by TJ for | Last updated: 2014/03/02 NOTE: the author/maintainer of the tutorial(s) is no longer with the show, so the information below may be outdated or incorrect.

So you've just finished installing your new Free BSD system. While the base OS includes quite a lot of useful utilities, you're probably going to need to install some third party software.

This set of files is used for building and installing applications on Free BSD, and other BSD-based operating systems.

This post will describe how to use portmaster, a utility for updating installed ports.

The way it works is like this: you have a collection of makefiles and patches stored locally on your system. We'll go through a few basic tasks you might want to do, but first..

portmaster provides a way to list ports that need updating using the -L option: : Ports listed under this category have dependencies but are not depended upon by other ports.

Each installed port will be listed in one of these categories along with whether the port has a revised version available: contains all the last minute notes on all of the ports in the Ports Collection and documents, where applicable, some of the problems you may encounter when updating, and/or additional features or options that may be available.

Since then, it's grown to become the most powerful and flexible way to manage software. You only need to do "fetch extract" the very first time you install.

It's been copied and imitated by others, and is the basis of Open BSD's ports, Net BSD's pkgsrc, Dragon Fly BSD's dports and even Gentoo Linux's portage. After that, you can keep your tree up to date by issuing: For more information and options, see the portsnap man page.

This section provides basic instructions on using the Ports Collection to install or remove software.

You must have an account to comment. Please register or login here!