Muzzoid
Posts: 1
Joined: Thu Aug 16, 2012 9:15 pm

Installing software without internet

Thu Aug 16, 2012 9:17 pm

So, I can get internet access on my laptop, not my RPi. I understand that I can install with apt-get if I had internet access, but how can I do it without? I have an SD card reader, and the latest Ubuntu running in VMware. I would like to install cheese.

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Installing software without internet

Fri Aug 17, 2012 3:41 am

I would work on getting your network up but if you don't want to then you will need to find the deb files.

You could just clone all of this (use rsync):
http://mirrordirector.raspbian.org/raspbian/
to disk and update
/etc/apt/sources.list
to tell apt to use disk instead of network
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

timothy3592
Posts: 64
Joined: Wed Jun 13, 2012 6:06 am

Re: Installing software without internet

Fri Aug 17, 2012 4:04 am

I've managed to get apt-offline working, but It's so unfriendly that I'd second just grabbing the deb packages. The repo is probably browsable online, at least the debian wheezy repo is, and that is mostly compatible, without the hard float optimizations. I'd forgoe mirroring the entire repository though, because the debian repository fits on like 20 dvds. It's huge.

User avatar
jackokring
Posts: 816
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Installing software without internet

Fri Aug 17, 2012 4:14 am

right click network manager edit connections...
if you connect via wireless, and your cat5 ethernet is free use a crossover cable to the pi
set the settings for the eth0 interface by using edit... Auto eth0 ip4 settings, method shared to other computers.

This is for a jolicloud remix of Ubuntu 10.

If this works for you do not enable the auto connect option, as if your wireless is not connected, and then connects, but the cat5 is already up, the net will not be shared and you will have to disconnect eth0, and reconnect it to get the routing of the net to work.

Cheers Jacko
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

Patros
Posts: 4
Joined: Fri Aug 17, 2012 4:57 am

Re: Installing software without internet

Fri Aug 17, 2012 5:26 am

Can't remember if this worked for me in the past but you could try downloading the deb's on another computer then copy them to "/var/cache/apt/archives" on your Pi's sd card.

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Installing software without internet

Fri Aug 17, 2012 8:27 am

For instruction for offline install, see
http://www.raspberrypi.org/phpBB3/viewt ... =26&t=8474

brs
Posts: 70
Joined: Fri Aug 17, 2012 9:27 pm
Location: Zurich

Re: Installing software without internet

Tue Sep 11, 2012 8:55 pm

No Internet is only half the fun... Does your laptop have an unused Ethernet port to which you can connect the Raspberry Pi with any regular cat5 Ethernet cable? If the laptop is running some form of Windows, search for Internet Connection Sharing (ICS) and your version of windows for instructions on how to configure it. (Hope this should work since so far, I have only tried this with a mac: http://blog.kugelfish.com/2012/09/raspb ... ering.html)

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Installing software without internet

Wed Sep 12, 2012 5:27 am

Patros wrote:Can't remember if this worked for me in the past but you could try downloading the deb's on another computer then copy them to "/var/cache/apt/archives" on your Pi's sd card.
Don't need to copy them there at all. Once you have the deb files, just run

Code: Select all

dpkg -i *.deb
where the deb files are and it will install them all, hopefully in the right order.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

shadowwlf1984
Posts: 3
Joined: Sun Oct 01, 2017 4:08 am

Re: Installing software without internet

Sat Oct 07, 2017 2:50 am

I'm attempting to install handbreak on my raspbian os w. Pixel desktop, when I use the code u mentioned it gives me an error message about processing the archive, do I need to place these deb files somewhere specific for this to work. I currently have them in my Downloads folder. And yes in working without access to the internet until I can change phone carrier so that I may tether to my pi3

User avatar
rpdom
Posts: 16080
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Installing software without internet

Sat Oct 07, 2017 4:50 am

The post you are replying to is five years old, the previous posters may not be still reading the forums.

It might have been a better idea to start a new topic describing what you have done and listing the error messages so we can work out what has happened.

One of the things I've considered writing many times is a helper script that will generate lists of files to download and then process them correctly using apt. There are already packages for this in Debian, I'm not sure they will work with Raspbian where you need to do an apt-get update a lot more often.

fruitoftheloom
Posts: 21592
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Installing software without internet

Sat Oct 07, 2017 7:20 am

shadowwlf1984 wrote:
Sat Oct 07, 2017 2:50 am
I'm attempting to install handbreak on my raspbian os w. Pixel desktop, when I use the code u mentioned it gives me an error message about processing the archive, do I need to place these deb files somewhere specific for this to work. I currently have them in my Downloads folder. And yes in working without access to the internet until I can change phone carrier so that I may tether to my pi3

Radpbian Jessie and Pixel Desktop was retired in June 2017.

You should be running Raspbian Stretch with 'Raspberry Pi Desktop'

Why you have dug out an obsolete Post from 5 years ago is a mystery, it is irrelevant because the Operating System at that time is now end of life.



Regards Handbrake see:

viewtopic.php?f=66&t=142015
Retired disgracefully.....
......to a more gentile life !

Return to “General programming discussion”