Difference between revisions of "Which"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section.)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| ftp://ftp.gnu.org/gnu/which/which-2.16.tar.gz
+
| ftp://ftp.gnu.org/gnu/which/which-{{Which-Version}}.tar.gz
 
|}
 
|}
  

Revision as of 15:15, 17 December 2006

Download Source: ftp://ftp.gnu.org/gnu/which/which-2.20.tar.gz

Introduction to Which

This package contains the GNU version of the which command.

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make

Install the package

make install

Contents

Installed Programs: which
Installed Libraries: None
Installed Directories: None

Short Descriptions

which shows the full path of (shell) commands installed in your PATH.