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

From PC-BSD Wiki
Jump to: navigation, search
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:home.png|link=http://wiki.pcbsd.org/index.php/PC-BSD_9_Handbook|center|Return to Table of Contents]] [[Image:previous1.png|left|link=http://wiki.pcbsd.org/index.php/Remote_Desktop_Sharing|Previous: Remote Desktop Sharing]] [[Image:next1.png|right|link=http://wiki.pcbsd.org/index.php/Using_Software_Manager|Next: Using Software Manager]]
+
<noinclude>{{navHeader|back=Window Maker|forward=Using AppCafe®|custompagename=Installing Applications and Keeping PC-BSD{{r}} Updated|custompagecategory={{PAGENAME}}}}</noinclude>
  
 +
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 [[Using AppCafe® | 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#Install/Uninstall Desktops and System Components | System Manager]]. [[Warden®]] also supports meta-packages, allowing you to install system components into a jail.
  
There are several methods of managing software on a PC-BSD system:
+
* '''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 9.1 PC-BSD® operating system 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.
  
* Using PBIs and Software Manager, the easy PC-BSD way (recommended)
+
'''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.
* 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
+
  
Software Manager provides an intuitive, graphical method for managing software. Binary packages and ports use command-line tools and require previous knowledge or some time to learn how to use the tools.
+
This section demonstrates the following PC-BSD® tools for managing software on your PC-BSD® system:
  
This section demonstrates how to [http://wiki.pcbsd.org/index.php/Using_Software_Manager use Software Manager] which is the recommended way to install and manage applications and to keep your PC-BSD system up-to-date.
+
* [[Using AppCafe® | AppCafe®]] to install PBI software using a graphical application.
  
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.  
+
* [[PBI Manager]] to manage PBI software using command line utilities.
  
* [[Using Ports Jail to Manage FreeBSD Packages and Ports|Using Ports Jail to Manage FreeBSD Packages and Ports]]
+
* [[Update Manager]] to install newer versions of PBIs or package sets and to apply security patches using a graphical application.
  
* [[Keeping Ports Up-to-date|Keeping Ports Up-to-date]]
+
* [[Meta Package Manager]] to manage meta-packages from the command line.
  
* [[Managing Packages/Ports| Managing Packages/Ports]]
+
<!--
 +
* [[Create Your Own PBI Repository]]
 +
-->
 +
It also describes how to create your own package repository of custom PBIs.
  
* [[Rebuilding World|Rebuilding World]]
+
<noinclude>{{refheading}}</noinclude>
 +
<noinclude>
 +
[[category:handbook]]
 +
[[category:Maintaining and Extending PC-BSD®]]
 +
</noinclude>

Revision as of 00:52, 18 November 2012

(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 9.1 PC-BSD® operating system 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.

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 package 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