Sei sulla pagina 1di 1

http://www.cis.rit.edu/class/simg211/unixintro/Filesystem.html http://www.ee.surrey.ac.uk/Teaching/Unix/unix8.html http://sl-workstations.web.cern.ch/sl-workstations/documentation/SAGpart-4.html http://www.idevelopment.

info/ (linux) Unix is a hierarchy structure root is main directory, it controls all sub-directories and files Syntax rpm -ivh {rpm-file} Description Install the package Example(s) rpm -ivh mozilla-mail-1.7.517.i586.rpm rpm -ivh --test mozilla-mail1.7.5-17.i586.rpm rpm -Uvh mozilla-mail-1.7.612.i586.rpm rpm -Uvh --test mozilla-mail1.7.6-12.i586.rpm rpm -ev mozilla-mail rpm -ev --nodeps mozilla-mail

rpm -Uvh {rpm-file}

Upgrade package Erase/remove/ an installed package Erase/remove/ an installed package without checking for dependencies

rpm -ev {package} rpm -ev --nodeps {package} rpm -qa rpm -qi {package}

rpm -qf {/path/to/file} rpm -qc {pacakge-name} rpm -qcf {/path/to/file} rpm -qa --last rpm -qpR {.rpm-file} rpm -qR {package}

Display list all installed rpm -qa packages rpm -qa | less Display installed information along with package version and rpm -qi mozilla-mail short description Find out what package a file rpm -qf /etc/passwd belongs to i.e. find what package rpm -qf /bin/bash owns the file Display list of configuration rpm -qc httpd file(s) for a package Display list of configuration files rpm -qcf /usr/X11R6/bin/xeyes for a command Display list of all recently rpm -qa --last installed RPMs rpm -qa --last | less rpm -qpR mediawiki-1.4rc1Find out what dependencies a 4.i586.rpm rpm file has rpm -qR bash

Potrebbero piacerti anche