Friday, September 6, 2013

Yum local install localinstall

So you downloaded an rpm and need to install it locally. Download the file. Move the file to wherever you want to place your rpm files. I simply named mine rpms. In terminal, cd to your rpm directory.

cd rpms

yum localinstall whatever_the_file_name_fc18.x86_64.rpm

This comes in handy when you don't want to install an entire repository that you probably only need one file from. The downside is you want to make sure you already have all the dependencies, otherwise you need to download them and install them as well.

No comments:

Post a Comment