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 tried to install postgreSQL on ubuntu 12.04 64-bit. I have version pgsql9.1 on my windows machine and wanted to make both installation the same with the same components.

I downloaded postgresql-9.1.6-1-linux-x64.run on my ubuntu but it does not want to start with package manager, I got this error:

The file “/home/Downloads/postgresql-9.1.6-1-linux-x64.run” could not be opened.

I thought it should go automatically with package manager or just run by itself. Is there a way to install this package?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Just change the permission of the file and make it as a executable.

Open terminal and type:

chmod +x postgresql-9.1.6-1-linux-x64.run

To install the package as a root user, use

sudo ./postgresql-9.1.6-1-linux-x64.run

Hope this helps.

share|improve this answer

Your Answer


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.