From PC-BSD Wiki
Revision as of 11:32, 13 June 2012 by Drulavigne (Talk | contribs)
| Meta Package Manager |
In PC-BSD, software is divided into PBIs, meta-packages, and package sets:
- PBIs are single applications, such as web browsers or multimedia utilities. PBIs are installed and managed using AppCafe® and Update Manager will automatically notify you when newer versions of installed PBIs become available.
- meta-packages can be considered to be system components. Meta-packages are selected during installation and include supported and unsupported desktops, development utilities, hardware drivers, and miscellaneous applications such as MythTV or XBMC. After installation, your initial meta-packages choices can be modified using System Manager. Warden® also supports meta-packages, allowing you to install system components into a jail.
- Package sets
pc-metapkgmanger is the command line utility used by the graphical installer, System Manager, Update Manager, and Warden® 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