Package Manager/9.2

From PC-BSD Wiki
Revision as of 09:50, 30 April 2012 by Krismoore (Talk | contribs)

Jump to: navigation, search

(Sorry for the inconvenience)

Contents

Description

pc-metapkgmanger is the CLI utility used by the PC-BSD system manager and update utilities for managing collections of FreeBSD packages in PC-BSD, also know as a "meta-package". It includes the ability to switch between pkgsets, such as "pcbsd" for the desktop, or "warden" for jailed environments or a PC-BSD server installation.

Usage

pc-metapkgmanager [options]

Options:

 add pkg1,pkg2 <loc>	 -- Add the specified list of meta-packages 
 <loc> should be a FTP / HTTP url where pkg_add can fetch packages, or an absolute path to location of pkg files on disk.
 checkup		 -- Check for updates to pkgs
 del pkg1,pkg2	  	 -- Delete the specified list of meta-packages
 list     	         -- List the available meta-packages
 status <pkg>    	 -- List the status of the specified meta-packages
 update pkg1,pkg2 <loc> -- Update all system packages, or just <pkg> if specified
 <loc> should be a FTP / HTTP url where pkg_add can fetch packages, or an absolute path to location of pkg files on disk.
 --pkgset <pkgset>	 -- Change default pkgset we are using
 --chroot <dir>	 -- Operate on the directory specififed using chroot

Configuration

The default pkgset can be changed by editing /usr/local/etc/pcbsd.conf and editing the PCBSD_METAPKGSET variable.

Examples

pc-metapkgmanger add LXDE,XFCE,GNOME http://mirrors.isc.org/pub/pcbsd/9.0/amd64/netinstall/packages/

pc-metapkgmanager del LXDE,GNOME