Introduction
Today I’m going to outline some important commands related to PEAR.
These commands are nothing new which you can’t find online or in PEAR site but these are something which I need every time to get things done on my workstation for any new extension.
For more information about PEAR follow the link
Commands
Here are some important commands
Check which channels are setup on your PEAR installation
|
|
Consider a channel to look for packages in current session.(add or use this channel)
|
|
Check available packages in a channel.
|
|
Install phpDocumentor2 package
|
|
List all installed packages in a channel
|
|
List all available packages in a channel
|
|
Get information of files which are installed through a package
|
|
Clear cache (I often use it when I get errors during installations)
|
|
Uninstall a package (mention complete package name otherwise it throws errors regarding package not available)
|
|