My task is to deploy on AWS Odoo 9. I have already created an instance and connected to it via gitbash. To start installing Odoo 9. I need to use apt-get . When typing this command displays the message command not found . Those. apt-get not in linux? How to install it?

uname -a

-

 Linux ip-172-31-21-46 4.1.10-17.31.amzn1.x86_64 #1 SMP Sat Oct 24 01:31:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 
 sudo cat /etc/*-release 
 NAME="Amazon Linux AMI" VERSION="2015.09" ID="amzn" ID_LIKE="rhel fedora" VERSION_ID="2015.09" PRETTY_NAME="Amazon Linux AMI 2015.09" ANSI_COLOR="0;33" CPE_NAME="cpe:/o:amazon:linux:2015.09:ga" HOME_URL="http://aws.amazon.com/amazon-linux-ami/" Amazon Linux AMI release 2015.09 
  • what distribution kit? - etki
  • Type uname -a and sudo cat /etc/*-release in the console and enter the output of these commands in question. Different distributions have different versions of the package manager, apt-get may be completely absent. - andy.37
  • for reference. the linux program has no command at all: it is not an interpreter, but a special program that performs the functions of the operating system kernel. - aleksandr barakin
  • Then the function apt-get? - Rado Duoistin
  • @RadoDuoistin, which distribution package did you choose when creating a virtual machine? if you do not remember, give the output of the cat /etc/*release* command. - aleksandr barakin

1 answer 1

judging by the output of the cat /etc/*release* command, you chose a virtual machine with a fedora distribution kit based on (and closely intertwined with) the redhat distribution.

in it, the functions of the package manager are performed by default by the yum program.

if you only have instructions for debian-core distributions (where apt * programs serve as package managers), then it may be easier to re-create a virtual machine with an indication of the distribution you need (I suspect that this is most likely a debian- based ubuntu distribution).

  • How to figure out how to do it. - Rado Duoistin
  • @RadoDuoistin, if you didn’t find in the documentation how to delete and create virtual machines with the necessary parameters, then it may make sense to ask a new question using the button of the same name in the upper right corner of the page. - aleksandr barakin