- GUI Tool
- Mandriva Control Center → rpmdrake
CUI
Command | What it tells you |
---|---|
rpm -qa | list all installed packages |
rpm -qa | grep -i office | search for a certain installed package |
rpm -qf /path/to/file | similar to urpmf, but searches on installed system |
rpm2cpio package.rpm | cpio -div | extract the whole contents from a downloaded rpm |
urpmc | updates the local data about available packages in all media |
urpmf xxxx.so | find individual files in rpm packages |
urpmf /path/to/file | which package has installed "file*" in /path/to |
urpme xxx | removes the package xxx (and those that depend on it) |
urpmi program | install program |
urpmi --auto-select | automatically select upgradeable packages |
urpmi --auto-select --update | To update the packages based on the new lists |
urpmi --auto-update | merge urpmi.update -a and urpmi --auto-select |
urpmi --fuzzy --test xxx | shows all rpms that match string "xxx". |
urpmi --keep xxx.rpm | installs package xxx.rpm from the current directory and it's dependencies, but if anything has to be removed it will not |
urpmi --keep --auto --auto-select | update all packages from your enabled media, but don't remove anything: just tell if anything didn't work |
urpmi --no-install freemind | downloads all the rpms but doesn't install them. However this doesn't just get the package you ask for, it also gets the dependencies as well |
urpmi --test --keep --auto --auto-select | update all packages from your enabled media but don't install or remove anything, just tell if it will work |
urpmi --update --auto-select | installs available updates from your enabled media |
urpmi.update -a | If a new software package is put into a repository urpmi needs to know about it. With the command urpmi.update, urpmi gets to know about these new packages. |
urpmi.update updates | updates the local data about available packages in the medium "updates" |
urpmq xmms | query the urpmi database to see if there is an RPM for a program to install |
urpmq --changelog xxx.rpm | print changelog of the package in the current directory |
urpmq -i stellarium | get a package description |
urpmq -i xxx.rpm | info on the package xxx.rpm in the current directory |
urpmq -il xxx.rpm | info on the package xxx.rpm in the current directory & list of files that it installs |
urpmq -l barrage | see what files are inside the package |
urpmq --list-url | list the media currently being used |
urpmq --sources inkscape | just display the url where the package lives |
urpmq --whatrequires xxx.rpm | which package(s) require(s) the xxx.rpm in the current directory |
wget $(urpmq --sources freemind) | download a single package without its dependencies |
Refer to Various Linux Package Operations
0 件のコメント:
コメントを投稿