delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/27/21:04:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Mark Geisert <mark AT maxrnd DOT com>
Subject: Re: bash command not found
Date: Sat, 28 Jun 2008 01:04:24 +0000 (UTC)
Lines: 30
Message-ID: <loom.20080628T004817-237@post.gmane.org>
References: <c01b80a50806271547i549137eeoa4537d554de372cc AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Puneet Singh Lamba writes:
> Could someone please help me understand why bash returns a "command
> not found" when I do either of the following?
> 
> ls | more
> 
> perl
> 
> Note that I have the complete set of libraries/tools installed for
> Cygwin version 1.5.25-14 (Setup.exe version 2.573.2.2).

That seems unlikely.  You may have the complete set that is installed by 
default but not absolutely everything.  'less' is the pager installed by 
default; if you really want 'more' you would need to install the 'util-linux' 
package.  'perl' is in its own package not installed by default, so you would 
need to install the 'perl' package too.

Launch Cygwin's setup.exe, advance through the dialogs by clicking Next until 
you get to the "Select Packages" dialog.  Click the View button to cycle 
through the various lists of Cygwin packages.  When you get to the "Not 
Installed" list, scroll down to where it shows 'perl'.  If it says "Skip" in 
the New column for that line, click on Skip until it shows the version you want 
to install.  Scroll further down the list to where it shows 'util-linux'.  Do 
the same with it.  Click Next as needed and these two packages (and any 
necessary others) will be installed.  Voila.

..mark





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019