This is a great news from Greg Beaver : PEAR now fits in a bottle with the go–pear.phar.
The beginning of a new era in PEAR has arrived. I have just uploaded the first ever self-contained single file installation of PEAR, based on PHP_Archive. Unlike the pre-existing http://go-pear.org, go-pear.phar (a 768k draft is available at http://pear.chiaraquartet.net/go-pear.phar) provides a simple method for those with limited internet access or finicky firewall/proxy issues to download and install PEAR with tremendous ease. In addition, earlier problems with versioning have been eliminated as all packages are bundled directly inside go-pear.phar itself.
Now installing Pear is as simple as typing :
Then, follow the prompts and answer questions.
Source Greg Beaver’s blog