Difference between revisions of "Installing Applications and Keeping PC‑BSD® Updated/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{navHeader|back=Window Maker|forward=Using AppCafe™}}
+
<noinclude>{{navHeader|back=Window Maker|forward=Using AppCafe®|custompagename=Installing Applications and Keeping PC-BSD{{r}} Updated|custompagecategory={{PAGENAME}}}}</noinclude>
There are several methods of managing software on a PC-BSD system:
+
  
* Using PBIs and AppCafe™, the easy PC-BSD way (recommended)
+
In PC-BSD®, software is divided into PBIs, meta-packages, and package sets:
* Using binary [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html packages], the quick FreeBSD way
+
* Using the [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html ports collection], the slow FreeBSD way
+
  
This section demonstrates how to [[Using AppCafe|use AppCafe™]] which is the recommended way to install and manage applications and to keep your PC-BSD system up-to-date.
+
* '''PBIs''' are single applications, such as web browsers or multimedia utilities. PBIs are installed and managed using [[Using AppCafe® | AppCafe®]]. [[Update Manager]] will automatically notify you when newer versions of installed PBIs become available.
  
It also introduces the following topics for advanced users. These advanced topics are meant for users who are already familiar with compiling FreeBSD kernels and ports and who wish to continue to do so on their PC-BSD system. If you decide to use the instructions in those topics as a learning exercise, we recommend that you use a test system rather than your primary desktop or that you practice using Ports Jail. Make a backup of your important data before proceeding, just in case something goes wrong.  
+
* '''Meta-packages''' are installable software collections that can be considered the same as 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-package choices can be modified using [[System_Manager#Install/Uninstall Desktops and System Components | System Manager]]. [[Warden®]] also supports meta-packages, allowing you to install system components into a jail.
  
* [[Using PBI Manager]]
+
* '''Package sets''' include the default packages that get installed with any PC-BSD® system, plus the meta-packages which are selected for installation by the user. The list of packages which are installed with the operating system PC-BSD®&nbsp;9.1 are listed in the  {{citelink|url=http://trac.pcbsd.org/browser/pcbsd/branches/9.1/build-files/metapkgsets/pcbsd/pkgset/base-system/ports-list|txt=base-system ports-list}}. You can also view the package list for each meta-package on the {{citelink|url=http://trac.pcbsd.org/browser/pcbsd/branches/9.1/build-files/metapkgsets/pcbsd/pkgset?order=name|txt=trac site}}. [[Update Manager]] will automatically notify you when a new package set is ready -- this typically occurs every week or two -- making it easy to keep the software that came with the operating system up-to-date.
  
* [[Ports Jail|Using Ports Jail]]
+
{{note|''' ''users are highly discouraged from using FreeBSD packages or ports or upgrade tools such as portupgrade or portversion from the PC-BSD® command line as [[Update Manager]] will remove your manually installed applications and upgrades.'' ''' If you wish to practice using these tools, instead use [[Warden®]] to create a ports jail. If you think an application belongs in the base system (e.g. an add-on to a desktop meta-package), suggest that it be added using one of the resources in the [[Finding Help]] section.}}
  
* [[Keeping Ports Up-to-date]]
+
This section demonstrates the following PC-BSD® tools for managing software on your PC-BSD® system:
  
* [[Rebuilding World]]
+
* [[Using AppCafe® | AppCafe®]] to install PBI software using a graphical application.
 +
 
 +
* [[PBI Manager]] to manage PBI software using command line utilities.
 +
 
 +
* [[Update Manager]] to install newer versions of PBIs or package sets and to apply security patches using a graphical application.
 +
 
 +
* [[Meta Package Manager]] to manage meta-packages from the command line.
 +
 
 +
It also describes how to [[Create Your Own PBI Repository]] of custom PBIs.
 +
 
 +
<noinclude>
 +
{{refheading}}
 +
[[category:handbook]]
 +
[[category:Maintaining and Extending PC-BSD®]]
 +
</noinclude>

Revision as of 10:03, 7 March 2013

(Sorry for the inconvenience)

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®. Update Manager will automatically notify you when newer versions of installed PBIs become available.
  • Meta-packages are installable software collections that can be considered the same as 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-package choices can be modified using System Manager. Warden® also supports meta-packages, allowing you to install system components into a jail.
  • Package sets include the default packages that get installed with any PC-BSD® system, plus the meta-packages which are selected for installation by the user. The list of packages which are installed with the operating system PC-BSD® 9.1 are listed in the base-system ports-list[1]. You can also view the package list for each meta-package on the trac site[2]. Update Manager will automatically notify you when a new package set is ready -- this typically occurs every week or two -- making it easy to keep the software that came with the operating system up-to-date.
Template:Word-note users are highly discouraged from using FreeBSD packages or ports or upgrade tools such as portupgrade or portversion from the PC-BSD® command line as Update Manager will remove your manually installed applications and upgrades. If you wish to practice using these tools, instead use Warden® to create a ports jail. If you think an application belongs in the base system (e.g. an add-on to a desktop meta-package), suggest that it be added using one of the resources in the Finding Help section.

This section demonstrates the following PC-BSD® tools for managing software on your PC-BSD® system:

  • AppCafe® to install PBI software using a graphical application.
  • PBI Manager to manage PBI software using command line utilities.
  • Update Manager to install newer versions of PBIs or package sets and to apply security patches using a graphical application.

It also describes how to Create Your Own PBI Repository of custom PBIs.


References


  1. http://trac.pcbsd.org/browser/pcbsd/branches/9.1/build-files/metapkgsets/pcbsd/pkgset/base-system/ports-list
  2. http://trac.pcbsd.org/browser/pcbsd/branches/9.1/build-files/metapkgsets/pcbsd/pkgset?order=name