Thus spake Stephen Liu:
> Hi Al,
> 
> Thanks for your advice.
> 
> >>>- snip -
> >>>     
> >>>
> >>How can I know they are available on net/website
> >>   
> >>
> >
> >If you know the name of the package, have a look in /usr/portage with
> >find, e.g.
> >
> >cd /usr/portage
> >find . -name 'rolo' -maxdepth 2
> >find . -name 'openoffice*' -maxdepth 2
> > 
> >
> # find . -name 'openoffice*' -maxdepth 2
> ./app-office/openoffice-bin
> ./app-office/openoffice
> 
> Then what command shall I issue to install them
> 
> 1) emerge -k openoffice
> or
> 2) ./openoffice-bin

I'd imagine it would be emerge -k openoffice... have a look on the
online package database at the descriptions of both.  Will probably give
a better indication.  2) should be emerge -k openoffice-bin I think

> 
> >Alternatively, have a trawl through the online package listing on the
> >gentoo website.
> > 
> >
> How to make such a search, what command to use?

Unfortunately, there isn't a web based search.  You can do:

emerge search <searchterm>

As another poster suggested (I didn't know this, but then I only started
using gentoo on friday!).  Once you know which section it's in, you can
go and have a look on the website for more details, e.g. with sc, type:

emerge search sc

will give you a whole list of things with 'sc' in.  In amongst these is
app-office/sc, so go to http://www.gentoo.org/dyn/pkgs/index.xml and
click on app-office, then sc.  This will give you a few details,
including the developer homepage etc.  In most cases, I think you can
bypass the clicking by doing (e.g.)
http://www.gentoo.org/dyn/pkgs/app-office/sc.xml

Actually sc is a lousy example as there a lot of things with sc in their
name, so you'll get lots of results.  In this case you might want to try

emerge search sc | egrep '^\*.*\/sc$'

or something like that.

> 
> >>>emerge -k package # try to use a precompile binary, or download and 
> >>>compile
> >>>     
> >>>
> >>During installation of Gentoo OS, I have encountered difficulty on running
> >>
> >># emerge -k kde
> >>and
> >># emerge -k xfree
> >>
> >>Each took 2+ hours respectively without completion compelling me to 
> >>reboot the PC.  The download time was short but the installation time 
> >>was endless with screen running continuously.
> >>   
> >>
> >
> >There probably aren't any binaries available for you system or
> >something, so it's compiling from source.  This takes a LONG time!  I'm
> >currently installing qt, kde and a few other bits and bobs on my fairly
> >fast PC... it's taken 2 hours so far and I don't expect it to finish for
> >a while.  Write a list of what you want to install, save it in (say)
> >emergenext.txt, then do
> >
> >emerge -p `cat emergenext.txt`
> >
> >check the results, then do the same without the -p.  Then go home for
> >the weekend.  You never know, it might be done!
> > 
> >
> I tried follow;
> 
> # emerge -p `cat mozilla`
> cat: mozilla: No such file or directory.
> 
> Whether it means mozilla not available.  OR I made an incorrect example

My apologies, I obviously didn't explain myself well enough.

Try this and see if it makes it any clearer:

echo net-www/mozilla > mylist.txt
echo net-www/w3m >> mylist.txt
echo kde >> mylist.txt
emerge -p `cat mylist.txt`

Should say that it would install a whole lot of packages!

then do:

emerge `cat mylist.txt`

and it'll go off and do it.  The advantage of this is that you can
prepare a whole lot of packages that you want it to compile and then
leave it for a long time, rather than having to be at the computer or
going back every hour or so.  Get a nice long list of everything you
want and then leave your computer to build it all over the weekend or
whatever.

> 
> >>>Root installs, user runs.
> >>>     
> >>>
> >>Where shall I untar the tarball, on which folder?  Will installation 
> >>find the right folder automatically.
> >>   
> >>
> >
> >Don't.  Let portage do the work.  Just use emerge.
> > 
> >
> What command shall be used?  I have all tarballs copied to 
> /usr/portage/packages/ALL/

emerge packagename

where packagename is something like "kde" or "mozilla" or
"app-office/sc" (without the quotes).  Adding a -k before the package
name will try and use a binary if it's available.  In many ways this
defies the point of gentoo though, as it's supposed to be a source based
distribution (makes things run faster).  Also, -k only installs binaries
if they're available, otherwise it compiles from source.

That's about all I can think of, if I've missed anything or said
anything wrong, hopefully someone more knowledgeable will pick up on it
and correct me.

I think the key thing when you're installing gentoo (which hopefully
I'll finish eventually!) is to be very very very very very very very
patient.

Hope that helps

Al


--
[EMAIL PROTECTED] mailing list

Reply via email to