View previous topic :: View next topic |
Author |
Message |
carlos123 Guru
Joined: 12 Feb 2003 Posts: 536 Location: Alberta, Canada.
|
Posted: Tue Mar 11, 2003 3:20 am Post subject: Limiting packages emerged from output of "emerge search |
|
|
I have noticed that an "emerge search <package_name>" will sometimes return multiple packages.
For example the output from "emerge search aspell" shows me lots of packages that are available for aspell.
If I do an "emerge aspell" I am concered that packages such as the Catalan and Greek dictionaries (to name just two of many others) will get installed to my system when I don't need them.
Is there a way to limit the packages that get installed when an "emerge search <package_name>" returns so many? Will they all be installed if I do an "emerge <package_name>"?
Conversely is there a way to fine tune the unmerge process such that I can unmerge a specific dictionary installed with aspell (for example)?
Thanks.
Carlos |
|
Back to top |
|
|
rbonthond Apprentice
Joined: 24 Jun 2002 Posts: 190
|
Posted: Sun Mar 16, 2003 12:39 pm Post subject: Re: Limiting packages emerged from output of "emerge se |
|
|
carlos123 wrote: | If I do an "emerge aspell" I am concered that packages such as the Catalan and Greek dictionaries (to name just two of many others) will get installed to my system when I don't need them. |
emerge aspell will only install aspell, you have to install the dictionaries yourself, e.g:
Code: |
emerge aspell
emerge aspell-nl
|
carlos123 wrote: | Will they all be installed if I do an "emerge <package_name>"? |
no
carlos123 wrote: | Conversely is there a way to fine tune the unmerge process such that I can unmerge a specific dictionary installed with aspell (for example)? |
emerge will only emerge what you tell it to unmerge, emerge unmerge aspell-nl will only uninstall the dutch dictionary, not the others.
That also means that if you unmerge aspell, it will not unmerge the dictionaries ! try emerge --clean -p to see what are left-overs. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Mar 16, 2003 11:34 pm Post subject: Re: Limiting packages emerged from output of "emerge se |
|
|
carlos123 wrote: | Is there a way to limit the packages that get installed when an "emerge search <package_name>" returns so many? | Unlike other uses of "emerge", such as installing software, search uses regular expressions. If you wish to limit search to exactly matching, use something like: Code: | $ emerge -s ^aspell$ |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|