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 going to compile postgresql from source, but the system already has postgresql related binaries such as pg_config, which gives me a lot of environment variables etc when I run it. I did not install postgresql an I've double checked from software manager. Why do I have postgresql related files? They lead to problems when I try to develop extensions with the custom compiled version of postgresql since various environment variables have already been configured.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Probably some other installed package depends upon postgresql, so the binaries got pulled in. You can run

apt-cache rdepends postgresql

to see all the reverse dependencies.

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.