apt-get = yum
dpkg = rpm
Some useful yum commands:
yum search <something> - searches for a package. Can use partial name, and it's case insensitive.yum install <something> - installs a package and its dependencies. Can use -y to skip the "install? y/n", but that isn't always a good idea, for example I once uninstalled X and gnome automagically this way.
yum whatprovides <some missing system file> - Looks for packages that provide a specific file; for example I found that "yum whatprovides libQtGui.so.4" was in qt-x11, needed for VirtualBox to run.
Some useful rpm commands:
rpm -ivh <something> - install an rpm package.rpm -e <something> - remove an installed program.
No comments:
Post a Comment