Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Code Listing 14: Copy over source code (step)
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
niamain
n00b
n00b


Joined: 02 Mar 2006
Posts: 44
Location: San Diego, CA.

PostPosted: Sat Mar 11, 2006 1:18 pm    Post subject: Code Listing 14: Copy over source code (step) Reply with quote

# mkdir /mnt/gentoo/usr/portafe/distfiles
# cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles

i did this but all i get back is this

cp: cannot stat `/mnt/cdrom/distfiles/*' : No such file or dir.

i think it is because for some reason i can not get thing off the cdrom like the stage or the portage i had to dl online anyone know what i should do?


thx for any help


I look here dir /mnt/cdrom
and the only files that are on there are

Getting_Online.txt, README.txt, image.squashfs, isolinux, livecd

i am totaly missing this distfiles dir do i need it or what?


- NiamaiN <---- gentoo/linux NOOB
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Sat Mar 11, 2006 2:17 pm    Post subject: Reply with quote

The distfiles folder contains files that have been downloaded from the internet. If you have a decent internet connection and don't mind letting Portage / emerge download required files, you do not need to put anything into distfiles, i.e. you can skip this copy distfiles step. Otherwise, you can try to locate the distfiles folder on your CD by using 'find', e.g.
Code:
find /mnt/cdrom -name "distfiles"
. Most likely you will find this only on CD/DVD images that are meant for offline install.
Back to top
View user's profile Send private message
niamain
n00b
n00b


Joined: 02 Mar 2006
Posts: 44
Location: San Diego, CA.

PostPosted: Sat Mar 11, 2006 2:36 pm    Post subject: Reply with quote

i already DL'ed the portage from the internet not sure what you mean by leting it emerge it though...

last step i did was this not sure if this is what you mean.

# tar xvjf /mnt/cdrom/snapshots/portage-<date>.tar.bz2 -C /mnt/gentoo/usr
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Sat Mar 11, 2006 3:36 pm    Post subject: Reply with quote

'emerge' is part of Portage; it is the tool that lets you install any software, for example KDE, or mplayer, or whatever. To install software, emerge will try to download the source packages from the internet. The downloaded source code tarballs will be put into the 'distfiles' folder. They can be deleted after installation, and will be re-downloaded when you re-install the package. In other words, you do not need to copy files into the distfiles folder, it just means that files that are not there will be downloaded when required, that's all.
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