Mistoffeles
May 28th, 2009, 06:11 PM
Coming from the RHEL/Fedora side, I am very accustomed to the easy and clean functionality of yum. I am used to being able to get a brief summary about a package by typing:
yum info packagename
or finding a package, or something included in a package, even when I don't have the exact name or even the package name at all using:
yum info partialname
or
yum provides somethingorother
This also allows me to make sure that I have both 32-bit and 64-bit libraries for something, in case I need them for whatever reason, and such reasons are not uncommon.
So how do I do these same things using apt-get?
For example I am looking for libpcap, and I can't for the life of me figure out what I need to do on Ubuntu server 9.04 to get it. I have already tried:
apt-get install libpcap
but this did not work. I know I have repository access as I have already installed emacs due to my extreme dislike of vi and variants of it.
yum info packagename
or finding a package, or something included in a package, even when I don't have the exact name or even the package name at all using:
yum info partialname
or
yum provides somethingorother
This also allows me to make sure that I have both 32-bit and 64-bit libraries for something, in case I need them for whatever reason, and such reasons are not uncommon.
So how do I do these same things using apt-get?
For example I am looking for libpcap, and I can't for the life of me figure out what I need to do on Ubuntu server 9.04 to get it. I have already tried:
apt-get install libpcap
but this did not work. I know I have repository access as I have already installed emacs due to my extreme dislike of vi and variants of it.