My raspberry pi isn't connected to the internet for now, and I don't have the patience to bridge connections and everything. Can I somehow download some linux programs from online through my windows computer, store it into a USB stick, and copy them into the RPi?
Well you could setup an emulator on your windows computer and install whatever you want in the emulator and then go to
/var/cache/apt/archives and copy all .deb files to your usb stick.
and on the raspberry pi you install them with dpkg, but you need the right order...
maybe it works by calling
sudo dpkg -i /mnt/stick/*.deb multiple times.
Yeah, dirty... i know :(
qemu (the emulator) tutorials:
Cant you just plug your LAN cable in the raspberry pi for installing stuff and leave your windows machine offline for that time?
In case you use Arch Linux ARM it's quite simple:
- Go here http://nl.mirror.archlinuxarm.org/armv6h/
- Choose and download package (you can find out in which directory it is here and save them to USB
- Connect USB to you RPi
- Install packages by
pacman -U <package.tar.xz>
The reason why you shouldn't do it are dependencies - packages could have some dependencies which you don't have installed. Pacman should tell you about it and you'll need to download them and install first.