Question

Is there any way how to download another version of deb files with apt-get in Ubuntu 12.04? In Ubuntu 12.04, the default version is precise, and when we use the sudo apt-get install ** command to install packages, the apt-get can find the suitable packages automatically. But is there any way to download the deb packages with specific version, such as Ubuntu 10.04(Lucid)? In my circumstance, I have an Raspberry Pi, its main version is Debian and its symbol version is wheezy. When I use the sudo apt-get install **, the network speed is very slow. So I want to add the apt source address of wheezy into my Ubuntu 12.04's apt source addresses. And use the Ubuntu 12.04 to download the wheezy's packages, then copy them into the Raspberry Pi and install.

Thanks in advance!

Was it helpful?

Solution

Don't mix Ubuntu and Debian, a number of things are in different locations and will break your system. Use precise with precise, Ubuntu doesn't mix well.

OTHER TIPS

I would not recommend installing packages that does not match your OS - you will quickly find yourself in a mess of dependency hell. I would rather recommend that you download the software from the developers webpage, and install it somewhere separate on your system, so its dependencies does not conflict with your entire system.

If you insist, you could go to launchpad and find the package you need, download it and istall it through:

sudo dpkg -i the-package-you-downloaded.deb
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top