OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

Installing A Package From A Package File

If a package file has been downloaded from a source other than a repository, it can be in- stalled directly (though without dependency resolution) using a low-level tool.


Table 14-5: Low-Level Package Installation Commands


Style Command(s)

Style Command(s)

Debian dpkg --install package_file


image

Red Hat rpm -i package_file


image


Example: If the emacs-22.1-7.fc7-i386.rpm package file had been downloaded from a non-repository site, it would be installed this way:



rpm -i emacs-22.1-7.fc7-i386.rpm

rpm -i emacs-22.1-7.fc7-i386.rpm


image

Note: Since this technique uses the low-level rpm program to perform the installa- tion, no dependency resolution is performed. If rpm discovers a missing depen- dency, rpm will exit with an error.


image


Top OS Cloud Computing at OnWorks: