This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Basic test

On Fri, 29 Apr 2005, maggi.alvermann wrote:

> René Berber wrote:
> >> I have installed cygwin, and I am able to launch the console with
> >> the promt bash2.05b$ But when entering ls or other comands, I get
> >> always bash-2.05b$ ls
> >> bash: ls: command not found
> > That's strange,  I think the command ls comes in the
> > coreutils package and that is one of the default installed
> > packages... so, unless you unselected it it, you should have it.
> > Try:
> >  cygcheck -c coreutils
> There is no result.
>  I found
> How should I set my PATH?
> This is done for you in the file /etc/profile, which is sourced by bash when you start it from the Desktop or Start Menu shortcut, created by setup.exe. The line is
> check your PATH
> In \cygwin\etc\ there is no file \etc\path
> There is only a directory \etc\profile.d with "sh" and "csh" files  for ms, openssh
> and 00org-x11base.
> There is in \etc\cygwin\defaults\etc a file profile with
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH
> export PATH
> That looks like I have to launch a X11 comand line.
> I am interested in using X11, so how may I start it?
> Thanks, Maggi

If you don't have /etc/profile, something is seriously wrong with your
installation.  If you haven't yet created any files in the Cygwin tree, I
suggest blowing it all away and reinstalling the needed packages.  Make
sure you let setup select the packages it thinks are needed, and don't
unselect them, even if you think you won't use them.

For X11, you'll need the various xorg-x11-* packages -- you'll have better
luck asking X11-specific questions on the cygwin-xfree list.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]