LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-20-2005, 01:46 AM   #1
Miro1
LQ Newbie
 
Registered: Apr 2005
Posts: 6

Rep: Reputation: 0
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 ?
 
Old 04-21-2005, 11:16 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Re: How to install rpm from local directory using apt-get?

Quote:
Originally posted by Miro1
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.
No need to use apt-get then. Just cd into the directory that has all the rpms and do:

# rpm -ivh *.rpm
 
Old 04-22-2005, 01:02 AM   #3
Miro1
LQ Newbie
 
Registered: Apr 2005
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 04-22-2005, 02:48 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Take a look at apt4rpm, there should be some instructions on how to setup an apt repository.
 
Old 04-22-2005, 04:05 AM   #5
Miro1
LQ Newbie
 
Registered: Apr 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, I guess I can not skip apt repostiory building step in order to do this task.

Last edited by Miro1; 04-22-2005 at 04:07 AM.
 
Old 07-11-2013, 03:57 PM   #6
conoyes
LQ Newbie
 
Registered: Jul 2013
Location: Budapest
Distribution: CentOS, RedHat, Ubuntu, SuSE, Oracle Linux, Fedora
Posts: 1

Rep: Reputation: Disabled
Wink to .deb

use this:

alien -i -c -v [filename.rpm]
 
Old 07-11-2013, 10:34 PM   #7
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,104

Rep: Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102
Hi,

welcome to LQ.
Quote:
Originally Posted by conoyes View Post
use this:

alien -i -c -v [filename.rpm]
Eight years ago when this thread was active, there was an apt implementation for rpm which was sometimes used on RetHat derivatives. So it is possible the OP really was trying to do something sane.

Anyway please feel free to post on current threads if you think you can contribute.

Cheers,

Evo2.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Yast Online Update from a local directory to install Nvida drivers Killer-Tomato Linux - Newbie 2 09-28-2004 06:07 AM
I can't install apt RPM no application associated yeehi Fedora - Installation 1 05-25-2004 03:11 AM
RPM install directory? blizunt7 Linux - Newbie 2 04-02-2004 02:55 PM
Apt-Get (RPM Install Issues) Jmeindl Linux - Software 9 01-15-2004 06:21 AM
Install RPM directory yenonn Linux - Software 1 06-30-2003 09:08 PM


All times are GMT -5. The time now is 01:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration