PEAR Articles

  Home arrow PEAR Articles arrow Page 4 - PEAR: an Introduction
PEAR ARTICLES

PEAR: an Introduction
By: Apress Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2010-07-21

    Table of Contents:
  • PEAR: an Introduction
  • The Power of PEAR: Converting Numeral Formats
  • Installing and Updating PEAR
  • Updating PEAR

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    PEAR: an Introduction - Updating PEAR


    (Page 4 of 4 )

    Although it’s been around for years, the PEAR Package Manager is constantly the focus of ongoing enhancements. That said, you’ll want to occasionally check for updates to the system. Doing so is a trivial process on both the Unix and Windows platforms; just execute the installation process anew. This will restart the installation process, overwriting the previously installed Package Manager version.

    Using the PEAR Package Manager

    The PEAR Package Manager allows you to browse and search the contributions, view recent releases, and download packages. It executes via the command line, using the following syntax:

    %>pear [options] command [command-options] <parameters>

    To get better acquainted with the Package Manager, open up a command prompt and execute the following:

    %>pear

    You’ll be greeted with a list of commands and some usage information. This output is pretty long, so it won’t be reproduced here. Instead you’ll be introduced to just the most commonly used commands. If you’re interested in learning more about one of the commands not covered in the remainder of this chapter, execute that command in the Package Manager, supplying thehelpparameter like so:

    %>pear help <command>


    Tip  If PEAR doesn’t execute because the command is not found, you need to add the executable directory to your system path.


    Viewing an Installed PEAR Package

    Viewing the packages installed on your machine is simple; just execute the following:

    %>pear list

    Here’s some sample output:

    --------------------------------------------

    Installed packages:
    ===================
    Package             Version        State
    Archive_Tar          1.3.1         stable Console_Getopt       1.2           stable HTML_AJAX            0.4.0         alpha
    Mail                 1.1.10        stable Net_SMTP             1.2.8         stable Net_Socket           1.0.6         stable XML_Parser           1.2.7         stable XML_RPC              1.2.2         stable

    --------------------------------------------

    Please check back next week for the conclusion to this article.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.
    blog comments powered by Disqus

    PEAR ARTICLES ARTICLES

    - Installing PEAR
    - PEAR: an Introduction
    - Managing robots.txt using PHP: Generating Dy...
    - Deleting Authors from a PEAR Content Managem...
    - PEAR CMS: Index and Delete Scripts
    - Listing Articles for a PEAR Content Manageme...
    - Building an Authors Page for a PEAR CMS
    - Building the View Details Page in a PEAR CMS
    - Creating the Main Pages of a PEAR CMS
    - Completing the Login Script for a PEAR CMS
    - User Authentication for a PEAR CMS
    - A PEAR CMS: Examining the Code
    - Building a Content Management System with PE...
    - Installing a PEAR Package
    - My PEAR: The Beginning


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 5 - Follow our Sitemap