Difference between revisions of "Package Manager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{NavHeader|back=Update Manager|forward=Control Panel}}</noinclude>
 
<noinclude>{{NavHeader|back=Update Manager|forward=Control Panel}}</noinclude>
  
'''pc-metapkgmanger''' is the command line utility used by the PC-BSD installer, System Manager, Update Manager, and Warden® to manage meta-packages. Meta-packages are like system components and include supported and unsupported desktops, development utilities, hardware drivers, and miscellaneous applications such as MythTV or XBMC.
+
'''pc-metapkgmanager''' is the back-end command line utility used by the PC-BSD installer, System Manager, Update Manager, and Warden® to manage meta-packages. Meta-packages are like system components and include supported and unsupported desktops, development utilities, hardware drivers, and miscellaneous applications such as MythTV or XBMC.
  
 
Beginning with version 9.1, PC-BSD uses metapkgsets to determine which system components are available and which applications are installed with each system component. Currently, two metapkgsets are defined: "pcbsd" which defines the available desktop components, and "warden" which defines the components available when creating a jail with Warden® or installing a PC-BSD server. You can view the contents of these metapkgsets [http://trac.pcbsd.org/browser/pcbsd/current#build-files/metapkgsets here].
 
Beginning with version 9.1, PC-BSD uses metapkgsets to determine which system components are available and which applications are installed with each system component. Currently, two metapkgsets are defined: "pcbsd" which defines the available desktop components, and "warden" which defines the components available when creating a jail with Warden® or installing a PC-BSD server. You can view the contents of these metapkgsets [http://trac.pcbsd.org/browser/pcbsd/current#build-files/metapkgsets here].
  
It includes the ability to switch between pkgsets, such as
+
The '''pc-metapkgmanager''' command can be used at the command line to install or delete meta-packages, update to the latest package set, or to change the default metapkgset. If you type the command without any options, it will display its usage:
  
 
+
'''pc-metapkgmanager'''
 
+
usage: pc-metapkgmanager [options]
Only remove metapkgmanager log if over 5MB
+
Options:
 
+
== Usage ==
+
 
+
 
+
<code>
+
pc-metapkgmanager [options]
+
 
+
Options:
+
 
   add pkg1,pkg2 <loc> -- Add the specified list of meta-packages  
 
   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.
+
                            <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
 
   checkup -- Check for updates to pkgs
 
   del pkg1,pkg2   -- Delete the specified list of meta-packages
 
   del pkg1,pkg2   -- Delete the specified list of meta-packages
 
   list            -- List the available meta-packages
 
   list            -- List the available meta-packages
 
   status <pkg>    -- List the status of the specified 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
+
   update pkg,pkg2 <loc> -- Update system packages. Can use 'all' or <pkg,pkg2>.
  <loc> should be a FTP / HTTP url where pkg_add can fetch packages, or an absolute path to location of pkg files on disk.
+
                            <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
 
   --pkgset <pkgset> -- Change default pkgset we are using
   --chroot <dir> -- Operate on the directory specififed using chroot
+
   --chroot <dir> -- Operate on the directory specified using chroot
</code>
+
 
  
 
== Configuration ==
 
== Configuration ==
Line 38: Line 34:
 
pc-metapkgmanager del LXDE,GNOME
 
pc-metapkgmanager del LXDE,GNOME
  
 +
Only remove metapkgmanager log if over 5MB
  
 
<noinclude>
 
<noinclude>
 
[[category:handbook]]
 
[[category:handbook]]
 
</noinclude>
 
</noinclude>

Revision as of 11:18, 15 June 2012

(Sorry for the inconvenience)

Contents

pc-metapkgmanager is the back-end command line utility used by the PC-BSD installer, System Manager, Update Manager, and Warden® to manage meta-packages. Meta-packages are like system components and include supported and unsupported desktops, development utilities, hardware drivers, and miscellaneous applications such as MythTV or XBMC.

Beginning with version 9.1, PC-BSD uses metapkgsets to determine which system components are available and which applications are installed with each system component. Currently, two metapkgsets are defined: "pcbsd" which defines the available desktop components, and "warden" which defines the components available when creating a jail with Warden® or installing a PC-BSD server. You can view the contents of these metapkgsets here.

The pc-metapkgmanager command can be used at the command line to install or delete meta-packages, update to the latest package set, or to change the default metapkgset. If you type the command without any options, it will display its usage:

pc-metapkgmanager
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 pkg,pkg2 <loc>  -- Update system packages. Can use 'all' or <pkg,pkg2>.
                           <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 specified 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

Only remove metapkgmanager log if over 5MB