Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
networkless install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
eery
n00b
n00b


Joined: 21 Sep 2004
Posts: 2

PostPosted: Tue Sep 21, 2004 5:00 pm    Post subject: networkless install Reply with quote

I got: a machine that has gentoo 2004-2 installed off the CDs.

What i want: some software that's not included on the package CD.

My problem: my machine is not connected to the net in any way to download all the stuff i need.

my opportunities: i could d/l everything i need at university...

questions:
- i can't even d/l the portage tree (anyone know how big it actually is?). is there a way to d/l it at university (debian!) and copy it to my machine at home?

- is there another way except emerge --pretend ? preferably one where i can d/l like 5 GB of the newest stuff with all dependencies, put it on CD, copy it on my harddrive and be covered for a while?

THANX folks!
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Tue Sep 21, 2004 5:04 pm    Post subject: Reply with quote

emerge --help
man emerge

-k ?
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
eery
n00b
n00b


Joined: 21 Sep 2004
Posts: 2

PostPosted: Tue Sep 21, 2004 5:40 pm    Post subject: Reply with quote

always great to get 'em RTFM answers. no, not ok!
the reason i posted this question in a forum was that i couldn't figure out how to do it and i can't find it in 'em manuals.

anyone who agrees on RTFM plz don't post... thx.
Back to top
View user's profile Send private message
djm
Arch/Herd Tester
Arch/Herd Tester


Joined: 12 Apr 2004
Posts: 690
Location: Wadham College, Oxford

PostPosted: Tue Sep 21, 2004 6:31 pm    Post subject: Reply with quote

It's not easy keeping a Gentoo (or any other) box up to date without an internet connection, but...

Snapshots of the portage tree are ~15MB, and can be found on Gentoo mirrors, they can be "installed", as follows:
Code:
tar -jxvpf portage-DATE.tar.bz2 -C /usr


I usually do an emerge regen after this, but you don't have to

If you put source in /usr/portage/distfiles then portage wil be able to use that instead of trying to download the source itself, you still need to use emerge -fp though (some things needs to download more than one file, btw)
_________________
the forums.gentoo.org poster formally known as metal leper
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Wed Sep 22, 2004 12:37 pm    Post subject: Reply with quote

export PKGDIR=/path/to/downloaded/packages

emerge --help to find which option lets you use packages from a directory and not the internet (I think it _MIGHT_ be -k, but not sure).

All you need to do now is .... emerge -p <package> ... Go to your university, download all the packages you need.. Put them in directory.. export PKGDIR... emerge.

That should work.
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Thu Sep 23, 2004 12:32 am    Post subject: Reply with quote

Eep... no, don't update your portage tree. You already have one - otherwise, you wouldn't have been able to install Gentoo. If you do, your precompiled packages will need to be updated, and this will be a pain in the behind.

Do an emerge -pv software to get a list of the dependencies (and their versions) and download these versions (even if a newer one exists) at the university, burn it on cd or floppy depending on size or USB stick if you have, then copy it to /usr/portage/distfiles and run the emerge.

Not sure what you mean by another way except emerge --pretend... If you want to completely update your system, then you can download a portage tree off the internet, unpack it, run emerge -uDpv world to get a list of updates, then download the needed packages (I think if you do emerge -pf world it shows a list of files).

Hope this helps,
-Monkey
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum