LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install a lot of .deb files? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-a-lot-of-deb-files-728513/)

Dims 05-26-2009 01:51 AM

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.

linuxlover.chaitanya 05-26-2009 02:09 AM

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.

Dims 05-26-2009 02:30 AM

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).

repo 05-26-2009 03:40 AM

try
Code:

dpkg -i *.deb

Dims 05-26-2009 06:38 AM

This is what I am going to try. But the theoretical question is: what if packages depend on each other? Does the order matter?

xc1024 05-26-2009 06:48 AM

Yes, it does, as far as I know from my experience.

linuxlover.chaitanya 05-26-2009 07:42 AM

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.

lugoteehalt 05-26-2009 08:09 AM

Quote:

Originally Posted by Dims (Post 3553024)
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.


All times are GMT -5. The time now is 07:24 PM.