I am trying to prepare an AWS instance by installing some software, one of which is Fabric for Python, a SSH connection library.
By default, AWS's yum doesn't have access to a Fabric distribution to install, so I was attempting to figure out where Aptitude would get Fabric from.
I can't figure out a way to get what repo Fabric is in using Aptitude, or Yum for that matter.
Also, on a similar note, if I do have the url of a specific repo, how would I go about listing all of the packages it has available?
I didn't know this was possible with aptitude, I always used apt-cache policy
to get that information (aptitude
uses the same repositories as shown with apt-cache policy
).
You can use
apt-cache policy fabric
to show version and repository information about the fabric package.
As pointed out in another answer, you can also use
aptitude versions fabric
to get the same information (in a slightly different format).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With