OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

Upgrading A Package From A Package File

If an updated version of a package has been downloaded from a non-repository source, it can be installed, replacing the previous version:


Table 14-8: Low-Level Package Upgrade Commands


Style Command(s)

Style Command(s)

Debian dpkg --install package_file


image

Red Hat rpm -U package_file


image


Example: Updating an existing installation of emacs to the version contained in the pack - age file emacs-22.1-7.fc7-i386.rpm on a Red Hat system:


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

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


image

Note: dpkg does not have a specific option for upgrading a package versus in- stalling one as rpm does.


image


Top OS Cloud Computing at OnWorks: