Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerging from another place
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
mark4gentoo
n00b
n00b


Joined: 29 Nov 2005
Posts: 38

PostPosted: Thu Dec 08, 2005 7:55 am    Post subject: Emerging from another place Reply with quote

Hello,

my internet connection at home is very poor (slow UMTS :-( ).

Is there a way to download packages from university and emerge them on my system at home. Somebody told me to download the tar files and to copy them into the portage. But how exactly does this work, and does this have any disadvantages, is there some kind of "official" gentoo documentation covering this issue?

Tanks a lot!
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Thu Dec 08, 2005 8:13 am    Post subject: Reply with quote

Just make sure you have the correct version of the tar files. You won't need every file as you have a connection, so anything you miss can be downloaded, but you should read the ebuild files in /usr/portage to find out which version you need.
Generic example
1)Pretend to fetch the files
emerge mypackage -fp >> filelist.txt
That will give you a list of the files you need along with where you might get them.
It includes any files portage feels you might need.
2)Download them from the computer with a faster connection
wget .....
3)Copy them to the /usr/portage/distfiles directory
cp /path/to/files/* /usr/portage/distfiles
4)emerge mypackage

If you got the biggest files this should help, but you will still need to compile everything.
Back to top
View user's profile Send private message
mark4gentoo
n00b
n00b


Joined: 29 Nov 2005
Posts: 38

PostPosted: Thu Dec 08, 2005 8:16 am    Post subject: Reply with quote

Thanks a lot! Did you try this yourself? Are there any shortcomes with this method?
Back to top
View user's profile Send private message
Fourbissime
n00b
n00b


Joined: 24 May 2003
Posts: 60

PostPosted: Thu Jul 13, 2006 9:12 am    Post subject: Reply with quote

hi.

I'm currently using this method to download packages at work - here are a few more hints.

It seems that when you do emerge -fp myebuild, the addresses go out on error output or something like that. plus, copy/paste the whole thing won't directly work. If an ebuild has several sources, all sources are printed - so it tries to download it several time if you don't edit the file.

That would be a great portage option to directly generate a proper wget output ...
Back to top
View user's profile Send private message
derverstand
Guru
Guru


Joined: 15 Dec 2005
Posts: 511
Location: /dev/null

PostPosted: Wed Aug 02, 2006 5:48 pm    Post subject: Reply with quote

Hi Mark,

Recently I wrote a script for my cluster to fetch a complete mirror. The main problem with using gentoo offline is: A common gentoo mirror doesn't contain all sources. There are external dependecies (i.e. xorg.7). So if you want to use gentoo offline, you got to
(1) rsync a portage
(2) rsync a gentoo mirror
(3) parse all ebuilds in the downloaded portage, and check for external files
(4) setup make.conf (portage- and distfiles-source)

Best regards!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54391
Location: 56N 3W

PostPosted: Wed Aug 02, 2006 6:14 pm    Post subject: Reply with quote

mark4gentoo,

You need sneakernet
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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