1 |
You need to read on how to install GRP packages, here is how to do it: |
2 |
Code Listing 3: Mount the Packages CD |
3 |
|
4 |
(Put the Gentoo Packages CD in the CD tray) |
5 |
# mount /mnt/cdrom |
6 |
|
7 |
|
8 |
|
9 |
Now configure Portage to use /mnt/cdrom for its prebuilt packages: |
10 |
|
11 |
Code Listing 4: Configuring Portage to use /mnt/cdrom |
12 |
|
13 |
# ls /mnt/cdrom |
14 |
|
15 |
(If there is a /mnt/cdrom/packages directory:) |
16 |
# export PKGDIR="/mnt/cdrom/packages" |
17 |
|
18 |
(Otherwise:) |
19 |
# export PKGDIR="/mnt/cdrom" |
20 |
|
21 |
Now install the packages you want. The Packages CD contains several prebuilt |
22 |
binaries, for instance KDE: |
23 |
|
24 |
Code Listing 5: Installing KDE |
25 |
|
26 |
# emerge --usepkg kde |
27 |
|
28 |
You should now be able to use emerge --usepkg gnome instead of kde as shown |
29 |
above, and you can install any packages that are on the cdrom. |
30 |
|
31 |
-----Original Message----- |
32 |
From: Henri Magnin [mailto:henri.magnin@××××.net] |
33 |
Sent: Wednesday, November 03, 2004 1:25 PM |
34 |
To: gentoo-laptop@l.g.o |
35 |
Subject: [gentoo-laptop] Basic??? problem to use Portage ? |
36 |
|
37 |
Hi |
38 |
|
39 |
I successfully installed Gentoo on a recent ASUS laptop (the basic install, |
40 |
as described in the handbook). |
41 |
|
42 |
I cannot use the on-line features of Portage since I only have a slow modem |
43 |
at home. |
44 |
So, I used an universal boot CD, started from a stage 3 tarball (all this |
45 |
downloaded from my job office location).... But also expected to have a |
46 |
graphical environment (let's say Gnome, but I have the same kind of problem |
47 |
with Kde). |
48 |
|
49 |
Initially, I saw that issuing the "emerge gnome" command required to have |
50 |
some ebuilds which were not present on my PC. |
51 |
|
52 |
...So, I downloaded an ISO image of the relevant "package CD" from my job |
53 |
(with a fast-speed connection). I burned the image as a CD, and installed |
54 |
its |
55 |
contents as follows : |
56 |
- I copied all files from the "All" subdirectory of the CD in my |
57 |
/usr/portage/distfiles folder (a lot of non-zero-length '.tbz2' files) |
58 |
- I did not deal with files in other sub-directories, since all these |
59 |
'.tbz2' |
60 |
files were zero-length |
61 |
|
62 |
The problem when I "emerge gnome" is that it tries to download the |
63 |
"gnome-mime-data-2.4.1.tar.bz2" file from many WWW locations, and fails (of |
64 |
course, I am not connected, and would like to install offline). |
65 |
|
66 |
...This while, the file "gnome-mime-date-2.4.1.tbz2" is really (and with |
67 |
non-zero length) in my /usr/portage/distfiles folder ! |
68 |
|
69 |
What did I do wrong ? Think I misunderstanded Portage, but where ? |
70 |
|
71 |
Thanks by advance |
72 |
Regards |
73 |
Henri |
74 |
|
75 |
-- |
76 |
gentoo-laptop@g.o mailing list |
77 |
|
78 |
|
79 |
-- |
80 |
gentoo-laptop@g.o mailing list |