The Computer Oracle

How do I upgrade pear from 1.4.9 to the latest version?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Industries in Orbit Looping

--

Chapters
00:00 How Do I Upgrade Pear From 1.4.9 To The Latest Version?
00:34 Accepted Answer Score 3
00:43 Answer 2 Score 1
00:52 Answer 3 Score 8
01:05 Answer 4 Score 2
01:18 Thank you

--

Full question
https://superuser.com/questions/109200/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#installation #upgrade #pear

#avk47



ANSWER 1

Score 8


It's now

pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.1

Then upgrade the rest

pear clear-cache
pear update-channels
pear upgrade
pear upgrade-all



ACCEPTED ANSWER

Score 3


pear upgrade --force http://pear.php.net/get/PEAR-1.9.0




ANSWER 3

Score 2


I am using Debian 8 and apt-get install php-pear only installs 1.9.

I then found this works:

pear upgrade pear




ANSWER 4

Score 1


The current stable version appears to be 1.9.0.