Numerous options for installing a package fails. Tried just now to install the package manager
$ pear install --onlyreqdeps PEAR_PackageFileManager
Only to get
Access is denied.
Tried to use pyrus, but I get
Pyrus\XMLParser\Exception: Invalid XML document
Pyrus\XMLParser\Exception: Line 2: Element '{http://pear2.php.net/dtd/customcommand-2.0}commands', attribute 'version': The value '(null)' does not match the fixed value constraint '2.0'.
This is a circular dependency: I need the package file manager to create the packages.XML file, but I can't get the package manager if I don't have a packages.XML file for pyrus. This is not workable.
Lastly, the pear manual describes how to generate a packages.xml file. There's a link to a template that the document says to use. When I click on that link, I get a file not found error.
Am having other failures, but the summary is that even carefully following the PEAR manual in detail doesn't create a workable PEAR. Am I missing something?