Which: Difference between revisions

From CBLFS
Jump to navigationJump to search
Kalessin (talk | contribs)
I added the package description.
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="text-align: left; background-color: AliceBlue;"
{| style="text-align: left; background-color: AliceBlue;"
|-
|-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
|}
|}


----
----


== Introduction to Which ==
{{Package-Introduction|The ''which'' program searches the ''$PATH'' for the first instance of a command.}}
 
This package contains the GNU version of the which command.
 
== Dependencies ==


== Non-Multilib ==
== Non-Multilib ==
Line 27: Line 23:
'''''This package does not provide any libraries so only one installation is needed.'''''
'''''This package does not provide any libraries so only one installation is needed.'''''


=== 32Bit ===
=== 64Bit ===


Compile the package:
Compile the package:


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


Line 38: Line 34:
  make install
  make install


=== N32 ===
= Contents =


Compile the package:
{| style="text-align: left;"
|-valign="top"
! Installed Programs:
| which
|-valign="top"
! Installed Libraries:
| None
|-valign="top"
! Installed Directories:
| None
|}


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


Install the package
{| style="text-align: left;"
|-valign="top"
! which
| shows the full path of (shell) commands installed in your PATH.
|}


make install
[[Category:General Utilities]]
 
=== 64Bit ===
 
Compile the package:
 
CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make
 
Install the package
 
make install

Latest revision as of 18:07, 8 June 2009

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

Introduction to Which

The which program searches the $PATH for the first instance of a command.

Project Homepage: Unknown

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.

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.
Retrieved from "?title=Which&oldid=18420"