Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm installing postgresql from source. The installation guide states:

If you are using a package-based Linux distribution, be aware that you need both the readline and readline-devel packages, if those are separate in your distribution.

I'm on Ubuntu 11.04 and looking at synaptic I see that both libreadline5 and libreadline6 are installed, but not libreadline5-dev or libreadline6-dev.

So, should I install libreadline5-dev or libreadline6-dev?

share|improve this question
up vote 1 down vote accepted

Since no version requirement has been specified, I suggest you to install the libreadline-dev package instead of libreadlineX-dev. (libreadline-dev depends on libreadline6-dev.) Just for your information, on 11.10 Oneiric, libreadline5-dev has been dropped.

share|improve this answer

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.