0
I tried installing gdb and pstack on EC2 Instance with Amazon Linux AMI (it was not installed by default), and it's not working.
Tried:
[ec2-user@ip-172-21-ab-xyz ~]$ sudo yum install gdb
Loaded plugins: priorities, update-motd, upgrade-helper
No package gdb available.
Error: Nothing to do
[ec2-user@ip-172-21-ab-xyz ~]$ sudo yum install pstack
Loaded plugins: priorities, update-motd, upgrade-helper
No package pstack available.
Error: Nothing to do
Tried to manually put gdb tar on AMI and compile it, but it didn't work.
Not sure where to get RPMs for AMI. Where to download the packages from ?
Can anyone guide me on how to install GDB and pstack on AMI ?
I am not seeing these repositories listed, what should I do? What do you mean by allowing access to internet? The instance has access to internet (I am able to download other packages). – K.K – 2014-10-10T07:35:15.603
What repositories do you have listed? The repsositories are configured in the /etc/yum.repos.d directory. Make sure the amzn-main and amzn-updates repositories are enabled. – Heath – 2014-10-10T16:39:49.750