Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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 really beginner.

I want to install postgreSQL on Amazon linux.

Please let me know what I should type in regular sequence.

I saw some of questions about installing postgreSQL on linux, but there is no example about amazon linux. Most of examples used apt-get command. But amazon linux has not apt-get.

Also I want to use postgreSQL in python and django.

share|improve this question
1  
Look for documentation for Amazon Linux. apt-get is Ubuntu/Debian. – vonbrand Jan 9 at 0:45
    
AMIs are CentOS/RH based. No use looking to Debian instructions. They also have got Ubuntu images. – Rui F Ribeiro Jan 9 at 3:11
    
Amazon Linux is based on RadHat. Use yum for package-management. Visit User Guide for managing software on aws linux. – Pandya Jan 9 at 5:01

PostgreSQL 9.5 isn't available in the AWS repos yet, but for 9.4:

sudo yum update
sudo yum install postgresql94

Source

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.