Difference between revisions of "Meta Package Manager"
From PC-BSD Wiki
Drulavigne (Talk | contribs) |
|||
| Line 1: | Line 1: | ||
<noinclude>{{NavHeader|back=Update Manager|forward=Control Panel}}</noinclude> | <noinclude>{{NavHeader|back=Update Manager|forward=Control Panel}}</noinclude> | ||
| − | + | == 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 == | ||
| + | |||
| + | |||
| + | <code> | ||
| + | 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 | ||
| + | </code> | ||
| + | |||
| + | == 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 | ||
| + | |||
<noinclude> | <noinclude> | ||
[[category:handbook]] | [[category:handbook]] | ||
</noinclude> | </noinclude> | ||
Revision as of 09:50, 30 April 2012
| Meta Package Manager |
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