LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2009, 01:51 AM   #1
Dims
Member
 
Registered: Feb 2009
Posts: 151

Rep: Reputation: 15
How to install a lot of .deb files?


I have a package to install, which comes in form of many .deb files.

Here it is: https://alioth.debian.org/frs/?group...elease_id=1329

What is a correct way to install them?

Should I just run

dpkg -i

for each file? But what if some of them depends on other? Shell I be able to install them in arbitrary order?

May be I need to create local repository? But how?

May I can add this site to repositories list?

Thanks.
 
Old 05-26-2009, 02:09 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Have you checked those packages in the repository? Why not use the package manager to install the packages so that if there are some packages that depend on others you wont have to bother about it and dependency problems would be taken care off by apt.
 
Old 05-26-2009, 02:30 AM   #3
Dims
Member
 
Registered: Feb 2009
Posts: 151

Original Poster
Rep: Reputation: 15
I didn't check all the files, also as I probably don't know how to check correctly.

I have checked several packages with apt-cache seacrh command, for example:

kestrel:~# apt-cache search dap2-utils
kestrel:~# apt-cache search infiniband-diags

all packages I checked were absent (zero output from apt-cache command).
 
Old 05-26-2009, 03:40 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
try
Code:
dpkg -i *.deb
 
Old 05-26-2009, 06:38 AM   #5
Dims
Member
 
Registered: Feb 2009
Posts: 151

Original Poster
Rep: Reputation: 15
This is what I am going to try. But the theoretical question is: what if packages depend on each other? Does the order matter?
 
Old 05-26-2009, 06:48 AM   #6
xc1024
Member
 
Registered: Dec 2008
Posts: 31

Rep: Reputation: 16
Yes, it does, as far as I know from my experience.
 
Old 05-26-2009, 07:42 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
The order will matter. If you install a package before the one on which it depends it will warn you. So you should know the dependencies of a package.
 
Old 05-26-2009, 08:09 AM   #8
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by Dims View Post
But the theoretical question is: what if packages depend on each other? Does the order matter?
If you install them then the ones that do not have their dependencies will be put in but not configured. This is what happens if you use mc to put them in (tap enter on .deb file, then again on 'install'). I don't know what program mc uses, but it might be dpkg.

To get them configured do:

# dpkg --audit

and then

# dpkg --configure <list of unconfigured packages>.

Or aptitude will probably configure them from memory - this will be one of the options it will offer.
 
  


Reply



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
.deb files keep braking my install (Ubuntu 8.04 on Sony VAIO) rafttrip Ubuntu 3 08-21-2008 07:14 AM
.deb install script fails - How to I completely reset the package and related files? kramed Debian 3 08-13-2007 10:34 AM
install *.deb files on mandrake 8.2 nitin403 Linux - Software 2 01-20-2005 01:05 AM
install *.deb files on MDK10? Not_Public Mandriva 2 04-30-2004 04:23 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration