On Sat, 2007-10-27 at 12:21 +0200, Jan Kupec wrote:
Aniruddha wrote:
Thanks! The 'rpm -qc package_name' is very handy. I notice though that I have difficulties to grasp rpm vs zypper vs yast2. openSUSE seems to offer 3 tools that mostly do the same, but not always. Sometimes you need rpm other times you need zypper. Where can I find more info to put these tools in (the openSUSE) perspective?
Hm.. i'm not sure if it is explicitly stated somewhere in the wiki, but here is how it works:
zypper and YaST use the same library (libzypp), the difference is just that it is a CLI vs. GUI. Thus they share repository definition files (/etc/zypp/repos.d/*.repo), zypp.conf file, meta-data cache database, etc. So unless you need to do something special, it's just a matter of preference whether you choose a GUI or a CLI.
Libzypp (and thus both zypper and YaST) uses rpm to actually install the stuff. It is a higher level package manager which takes care of the dependencies and provides other functionalities. It's just like apt-get vs. dpkg in debian.
hth
Jano
Thanks! That is a very good explanation, now I understand :D -- Regards, Aniruddha Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org