Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am currently in a architecture amd64, so when I try apt-get download vlc, it downloaded the appropriate architecture for my system, but how can I download the i386 version via apt?

It's for export to another system that doesn't have internet connection, also is there is any way to download any dependencies that follow?

share|improve this question
    
Do you want to install it? –  Braiam Feb 15 at 0:56
add comment

1 Answer

up vote 6 down vote accepted

Yes you can, just append :i386 to the download command, like this:

sudo apt-get download <package>:i386  

So for you:

sudo apt-get download vlc:i386  

I am unaware of any way of automatically downloading a packages dependencies, besides build-dep but that won't work in your case.

share|improve this answer
    
And what about build-dep package:i386? –  enedil Feb 15 at 1:19
    
@enedil build-dep downloads and installs, so this would install a bunch of i386 packages on his machine, which is not what he wants. See man apt-get for details. –  Seth Feb 15 at 1:22
    
There is also an aptitude download command. Not sure if it is multiarch enabled though. –  Faheem Mitha Feb 18 at 21:05
    
@FaheemMitha Yes, aptitude can do just about everything apt-get can. –  Seth Feb 18 at 21:07
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.