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

From PC-BSD Wiki
Jump to: navigation, search
(43 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=ScrotWM|Previous: ScrotWM]] [[Image:next1.png|right|link=http://wiki.pcbsd.org/index.php/Using_AppCafe|Next: Using AppCafe]]
+
<translate>
  
 +
<!--T:1-->
 +
<noinclude>{{navHeader|back=Window Maker|forward=Using AppCafe®|custompagename=Installing Applications and Keeping PC-BSD{{r}} Updated|custompagecategory={{PAGENAME}}}}</noinclude>
  
 +
<!--T:2-->
 +
In PC-BSD®, software is divided into PBIs, meta-packages, and package sets:
  
 +
<!--T:3-->
 +
* '''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.
  
There are several methods of managing software on a PC-BSD system:
+
<!--T:4-->
 +
* '''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 PBIs and AppCafe, the easy PC-BSD way (recommended)
+
<!--T:5-->
* Using binary [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html packages], the quick FreeBSD way
+
* '''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.
* Using the [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html ports collection], the slow FreeBSD way
+
  
AppCafe 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.
+
<!--T:6-->
 +
{{warning|icon64=''' ''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 how to [http://wiki.pcbsd.org/index.php/Using_AppCafe use AppCafe] which is the recommended way to install and manage applications and to keep your PC-BSD system up-to-date.
+
<!--T:7-->
 +
This section demonstrates the following PC-BSD® tools for managing software on your PC-BSD® system:
  
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.  
+
<!--T:8-->
 +
* [[Using AppCafe® | AppCafe®]] to install PBI software using a graphical application.
  
* [[Using PBI Manager|Using PBI Manager]]
+
<!--T:9-->
 +
* [[PBI Manager]] to manage PBI software using command line utilities.
  
* [[Ports Jail|Using Ports Jail]]
+
<!--T:10-->
 +
* [[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]]
+
<!--T:11-->
 +
* [[Meta Package Manager]] to manage meta-packages from the command line.
  
* [[Rebuilding World|Rebuilding World]]
+
<!--T:12-->
 +
It also describes how to [[Create Your Own PBI Repository]] of custom PBIs.
 +
 
 +
<!--T:13-->
 +
<noinclude>
 +
{{refheading}}
 +
[[category:handbook]]
 +
[[category:Maintaining and Extending PC-BSD®]]
 +
</noinclude>
 +
</translate>

Revision as of 08:39, 16 April 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.


WARNING 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