1 |
Am Dienstag, 1. November 2011, 23:00:57 schrieb Alan McKinnon: |
2 |
> On Tue, 01 Nov 2011 14:49:30 -0500 |
3 |
> |
4 |
> Dale <rdalek1967@×××××.com> wrote: |
5 |
> > Vishnupradeep wrote: |
6 |
> > > On Tue, Nov 1, 2011 at 2:48 PM, Mick <michaelkintzios@×××××.com |
7 |
> > > |
8 |
> > > <mailto:michaelkintzios@×××××.com>> wrote: |
9 |
> > > emerge -1aDv app-portage/gentoolkit |
10 |
> > > |
11 |
> > > revdep-rebuild -v --ask |
12 |
> > > |
13 |
> > > i can't use emerge command as it is shown as command not found. can |
14 |
> > > u tell the correct path of emerge. |
15 |
> > |
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 |
> |
27 |
> That won't work. The $PATH is broken so the shell can't find ls and |
28 |
> emerge. |
29 |
> |
30 |
> Well, it won't find which either :-) |
31 |
> |
32 |
> Solution: You run which which and tell the OP which directory contains |
33 |
> which so he can run /path/towhich emerge to find out where emerge is. |
34 |
|
35 |
Or just use "type -a", because that's a builtin. |
36 |
~ $ type -a emerge |
37 |
emerge is /usr/bin/emerge |
38 |
|
39 |
Best, |
40 |
Michael |