Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am unable to install php5-dev package in ubuntu 12.10. I am getting the following on sudo apt-get install php5-dev:

 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 E: Unable to locate package php5-dev
share|improve this question
add comment

2 Answers

I'm not sure that this would work (since apt-get didn't work), but php5-dev is right there in Synaptic where it's supposed to be, so for the sake of completeness install Synaptic Package Manager from the Ubuntu Software Center, search for the php5-dev package in Synaptic, and install php5-dev using Synaptic.

share|improve this answer
add comment

I just tried installing php5-dev package in Ubuntu 12.10, and I didn't have any problems. It installed fine.

enter image description here

I'm including images of my software sources, just so you can compare with yours.

enter image description here enter image description here

I also suggest the you just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below prior to installing:

sudo apt-get update && sudo apt-get upgrade
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.