Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo in an Off-line computer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Tue Aug 13, 2002 10:24 pm    Post subject: Gentoo in an Off-line computer Reply with quote

hello,

a told a friend of mine about gentoo and he really enjoyed it. We have one little problem: i have an adsl 512kbps connection, so i download everything with no pain, but he doesnt have internet...
I was wondering... is there a directory where my sources are kept? if positive, where should my friend put the file so that when he types emerge xxxx it will use the local files?
i want to give him a stage3 cd, plus XFree, KDE, etc so he can install the system without downloading stuff from the web...
help is very much welcome! :D

thanx/cheers
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Tue Aug 13, 2002 10:30 pm    Post subject: Reply with quote

You might want to search around the forums, there is MUCH said about these kinds of issues. Also there are some CD's that helpful users have made with all the needed sources on CD so that you can get them from there.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Tue Aug 13, 2002 10:44 pm    Post subject: Reply with quote

yep, the thread talks about an ISO image of 696 mb...
i just want to give my friend the 135mb iso cd of the stage 3 from gentoo... then give him the apps he want, like kde for example... so i want to record just kde on a cd and he will install from it, the questions are (if theres answer) :
- where are the source files in my computer? (if theyre not, where do i get them)
- where he should put the files in his computer so he can emerge the things offline

thanx
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Aug 13, 2002 10:50 pm    Post subject: Reply with quote

/usr/portage/distfiles, but I wouldn't use them unless your computers are the same. See /etc/make.conf CHOST settings for what I'm referring to. Also, you can take a look at this thread. I think this might be helpful for your situation.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Tue Aug 13, 2002 11:03 pm    Post subject: Reply with quote

hes got a athlon xp 1600 and ive got a pentium 3 866...
arent the source files the same? (i thought u set the compiler options to compile to whatever your arch is)...
i guess hell just have to put Athlon proprieties in /etc/make.conf (or am i wrong?)

747762 Jul 11 03:13 xchat-1.8.9.tar.bz2
if i give this to him, what does he have to type to install it? (will emerge xchat work? or does emerge automatically search the net and will give an error message?)
im really thankful for the help cause some people are saying that gentoo is ONLY for people 24h/day connected broadband... ive plenty of hope that its not :D

thanx/cheers
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Aug 13, 2002 11:34 pm    Post subject: Reply with quote

OK, my bad. You can send the files in /usr/portage/distfiles. I was thinking of the /usr/portage/packages directory. If you use 'emerge -b' (to build binaries), they would normaly go into the packages directory. Those files (the binaries) would be architecture dependant.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Tue Aug 13, 2002 11:41 pm    Post subject: Reply with quote

ok,

so now lets say i give him the xchat file...
when he types emerge xchat it will work fine (considering that he is offline)?

thanx/cheers
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Tue Aug 13, 2002 11:56 pm    Post subject: Reply with quote

Yeah, pretty much.

When your friend types emerge xchat, what it'll do is see if the file is in /usr/portage/distfiles. Since it's there, it'll just use it and decompress, ebuild, etc. No net.

I'm in the middle of doing that with my other system currently. I built the binaries on my fast system, and an currently burning them to cd to use on the other system.
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Tue Aug 13, 2002 11:56 pm    Post subject: Reply with quote

You would be best advised to use the specific argument to emerge the file explicitly by path. Doing this you would say something to the effect of this:

Code:
emerge /usr/portage/net-irc/xchat/xchat-1.8.9-r3.ebuild


and that will install from the ebuild you want. I have done this many times and will save you any headaches of where it is looking to install from. If you truly have the package as a tar ball you should extract it so that you get the ebuild first. (I think anyway).

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
Beattie
Apprentice
Apprentice


Joined: 24 Jun 2002
Posts: 155

PostPosted: Wed Aug 14, 2002 2:48 am    Post subject: Reply with quote

though I dont know if I would worry about giving xchat to my friend with no internet... xchat is an IRC app after all...
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Aug 14, 2002 3:55 am    Post subject: Reply with quote

Just giving him xchat will likely not work. xchat has dependencies, I'm sure some of which will be necessary for it to run.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Wed Aug 14, 2002 6:02 am    Post subject: Reply with quote

make sure that you have all the dependancies on the disk, you can use kportagemaster and look under the dependancies tab for everything than is needed per package.

also, make sure to exact path, because if he "emerge rsync" it may delete the version in distfiles and update the name to a current version in portage:

if you give him kde3.0.2, then 3.0.3 comes out, emerge will clean out the 3.0.2 and then he will have to download it or pull it from the cd OR even download the new one.
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Wed Aug 14, 2002 6:38 pm    Post subject: Reply with quote

ok, ok, ok...
xchat was an *EXAMPLE* package, got it now? :D
well i guess that the best thing that he can do is to NOT type emerge rsync, right?
umm, one more thing. does the dependecies work offline (i mean will he be able to view what are the dependencies off-line) ?

thanx again/cheers
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Aug 14, 2002 8:27 pm    Post subject: Reply with quote

The dependancy information is stored in the ebuild package in question, so as long as the complete ebuild is there--yes it will work offline.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed Aug 14, 2002 8:49 pm    Post subject: Reply with quote

Yeah, I guess it would be kinda hard to do an emerge rsync if there is no network connection.

:roll: :P
Back to top
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Thu Aug 15, 2002 1:13 am    Post subject: Reply with quote

i understand that their is a network connection but its just 56k or something, maybee i missread.
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Thu Aug 15, 2002 3:04 am    Post subject: Reply with quote

yeah, in fact theres a modem connection, better there WILL be...
but as you all know its hard to find non-winmodems, so maybe his modem will not work under linux...
so we are pretending that there will be no connection available on the system.

cheers
_________________
"Slip inside the eye of your mind, don't you know you might find, a better place to play"
Back to top
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Thu Aug 15, 2002 6:28 am    Post subject: Reply with quote

of coarse, and even a 56k modem is not REALY a net connection (snicker) :)

anyway, even an emerge rsync would take a while..

your right, better to consider it non-exsistant.
Back to top
View user's profile Send private message
logon
Apprentice
Apprentice


Joined: 22 May 2002
Posts: 182
Location: Bonn / NRW Germany

PostPosted: Mon Aug 19, 2002 2:07 pm    Post subject: Reply with quote

Ähmm... i would suggest just to carry his machine to your home. Connect him to your internet connection and then install gentoo the way you did. thats imho the easiest way, and is what i would do.

cause i am a very lazy boy :twisted:
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Mon Aug 19, 2002 6:47 pm    Post subject: Reply with quote

logon wrote:
Ähmm... i would suggest just to carry his machine to your home. Connect him to your internet connection and then install gentoo the way you did. thats imho the easiest way, and is what i would do.

cause i am a very lazy boy :twisted:


thats a good idea, since my adsl connection doesnt need configuration and he has a eth card... Maybe ill do this, and take his computer to my house on a friday night, but the problem is that hell lose a weekend (compiling X, kde, gnome, this takes days, right? :wink: )
anyway more people wanna try gentoo, so maybe later ill do burn a cd... now im waiting for the version 1.4 to be realeased since its a "big" upgrade...

thanx/cheers
_________________
"Slip inside the eye of your mind, don't you know you might find, a better place to play"
Back to top
View user's profile Send private message
logon
Apprentice
Apprentice


Joined: 22 May 2002
Posts: 182
Location: Bonn / NRW Germany

PostPosted: Mon Aug 19, 2002 8:59 pm    Post subject: Reply with quote

well if i remember corretly u said he has got an amd xp 1x00+. I got an 1700+ and i began compiling on saturday. sunday evening i had a complete system with x, kde, mozilla, xmms, xine, mplayer, xchat, and some other small tools. only evolution took time till today, but just because there was some problem with aspell. but i found the solution for the problem here in the forum. so long speak short sense :)... it won't take that long, and self compiled is still the best, and imho the main reason for gentoo. if i want a distro on cd, i wolud use my SuSE 8.0 DVD. Where everything is installed in about 30 minutes.
Just my 2 cents. *g

Greetz Logon^of^HOLD
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Mon Aug 19, 2002 11:20 pm    Post subject: Reply with quote

yeah, no doubt about self-compiling...
when i said i would burn a cd, i would burn the sources... so when he installs them they are optimized for his athlon 1600+, and any other people who will install from my cd will have the sources optimized for their own cpus...
i thought you didnt understand me (cause you said that : if i want a cd i would get suse...)... well anyway, maybe you did understand... :lol:

cheers
_________________
"Slip inside the eye of your mind, don't you know you might find, a better place to play"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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