Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am installing a server on ubuntu 10.4(internet not connected) .It requires a package named m2crypto.There is no open port available so iam not able to use "apt-get thing".I tried to download m2crypto package on another machine(windows) but when I tried to install that multiple dependencied were reported.So,I need a way to get all packages with all dependencies.I have heard about apt -get offline but that is also not available .Is there any way as i need to do this urgently.

share|improve this question
add comment

2 Answers 2

This is going to be a pain, because apt was created to solve just these kinds of dependency issues. However you can run dpkg -I package.deb to list the dependencies. Then you will need to download all those packages (that are not currently installed). Those packages could (and likely will) have more dependencies. Just rinse and repeat till you find them all.

You can also do this by looking though a site like this one and downloading all dependencies.

This is going to be a giant PIA and the the primary reason things like apt exist, but this will get you up and running, after a fashion.

share|improve this answer
add comment

Install the package on another Ubuntu 12.04 machine (preferably a fairly minimal install). Then you should find all the dependencies needed to install it, in /var/cache/apt/archives on this machine.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.