How to install rpm from local directory using apt-get?
I am trying to use apt-get to help me install rpm file with all its dependencies. All required RPMs are placed in single directory on local disk.
I've tried to use the code below, but it can't find the required file, altough it is there in the dir! apt-get -o Dir::Cache::Archives="/mydir" \ --no-download --no-list-cleanup install mypkg What am I doing wrong ? Is this possible ? |
Re: How to install rpm from local directory using apt-get?
Quote:
# rpm -ivh *.rpm |
But the problem is that I have more RPMS there than just those that I want to install.
I know I can install rpms by hand, one by one, but I hoped to use some tool to do it for me (install just the RPM that I want and all its dependencies). Any other idea? Perhaps yum could do the trick? TIA |
Take a look at apt4rpm, there should be some instructions on how to setup an apt repository.
|
Thanks, I guess I can not skip apt repostiory building step in order to do this task.
|
to .deb
use this:
alien -i -c -v [filename.rpm] |
Hi,
welcome to LQ. Quote:
Anyway please feel free to post on current threads if you think you can contribute. Cheers, Evo2. |
All times are GMT -5. The time now is 08:28 PM. |