1 |
Michael Schreckenbauer wrote: |
2 |
> Am Dienstag, 1. November 2011, 23:00:57 schrieb Alan McKinnon: |
3 |
>> On Tue, 01 Nov 2011 14:49:30 -0500 |
4 |
>> |
5 |
>> Dale<rdalek1967@×××××.com> wrote: |
6 |
>>> Vishnupradeep wrote: |
7 |
>>>> On Tue, Nov 1, 2011 at 2:48 PM, Mick<michaelkintzios@×××××.com |
8 |
>>>> |
9 |
>>>> <mailto:michaelkintzios@×××××.com>> wrote: |
10 |
>>>> emerge -1aDv app-portage/gentoolkit |
11 |
>>>> |
12 |
>>>> revdep-rebuild -v --ask |
13 |
>>>> |
14 |
>>>> i can't use emerge command as it is shown as command not found. can |
15 |
>>>> u tell the correct path of emerge. |
16 |
>>> /usr/bin/emerge |
17 |
>>> |
18 |
>>> Little bit of learning here: |
19 |
>>> |
20 |
>>> root@smoker / # which emerge |
21 |
>>> /usr/bin/emerge |
22 |
>>> root@smoker / # |
23 |
>>> |
24 |
>>> Now you know where it is and how I found out where it is. Trick is |
25 |
>>> remembering a command you rarely use. |
26 |
>> That won't work. The $PATH is broken so the shell can't find ls and |
27 |
>> emerge. |
28 |
>> |
29 |
>> Well, it won't find which either :-) |
30 |
>> |
31 |
>> Solution: You run which which and tell the OP which directory contains |
32 |
>> which so he can run /path/towhich emerge to find out where emerge is. |
33 |
> Or just use "type -a", because that's a builtin. |
34 |
> ~ $ type -a emerge |
35 |
> emerge is /usr/bin/emerge |
36 |
> |
37 |
> Best, |
38 |
> Michael |
39 |
> |
40 |
> |
41 |
> |
42 |
> |
43 |
|
44 |
|
45 |
That is better. Now to remember that command. ;-) |
46 |
|
47 |
Dale |
48 |
|
49 |
:-) :-) |