View previous topic :: View next topic |
Author |
Message |
niamain n00b
Joined: 02 Mar 2006 Posts: 44 Location: San Diego, CA.
|
Posted: Sat Mar 11, 2006 1:18 pm Post subject: Code Listing 14: Copy over source code (step) |
|
|
# 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 |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Sat Mar 11, 2006 2:17 pm Post subject: |
|
|
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 |
|
|
niamain n00b
Joined: 02 Mar 2006 Posts: 44 Location: San Diego, CA.
|
Posted: Sat Mar 11, 2006 2:36 pm Post subject: |
|
|
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 |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Sat Mar 11, 2006 3:36 pm Post subject: |
|
|
'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 |
|
|
|