Just add your local directory to the yum.conf file.
This may give you some pointers.
I found these examples:
Code:
### My local repository
#[my-updates]
#name=Fedora Core $releasever - $basearch - Updates
#baseurl=file:///mnt/nfs/updates
#[my-development]
#name=Fedora Core Rawhide (Development)
#baseurl=file:///mnt/nfs/development
Which will give you an idea of how yours should look:
eg
Code:
baseurl=file:///home/download
(remove the # symbol or yum will ignore it. Then updat yum and install your file.
At least, that's how I think it should look, I have never done this myself.