Results 1 to 8 of 8

Thread: which command under openSUSE / executable path

  1. #1

    Default which command under openSUSE / executable path

    Hello,

    i wanted to install a linux application but there were a lot of errors.

    additionally i asked the developer: they told me:

    However, my guess is that your openSUSE installation does not have the command "which" installed, or does not have it in the executable path.
    they software wasn't tested on openSuse by them. So they can't help me more.

    do you know how to install the which command or put in in the executable path?

    thanks alot

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,603

    Default Re: which command under openSUSE / executable path

    When I type
    Code:
    which
    in a terminal, it is there. Why shouldn't it be in your installation and why did you not do this simple test?
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    2,973
    Blog Entries
    1

    Default Re: which command under openSUSE / executable path

    Code:
    % which which
    which: shell built-in command

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,603

    Default Re: which command under openSUSE / executable path

    Code:
    henk@boven:~> which which
    /usr/bin/which
    henk@boven:~>
    @Lazy_Kent. Which shell do you use?

    In any case, enough which on the system.
    Henk van Velden

  5. #5
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    2,973
    Blog Entries
    1

    Default Re: which command under openSUSE / executable path

    I didn't know there is a difference. Now I see.
    I use zsh.

    Code:
    % rpm -qf /usr/bin/which
    util-linux-2.14.1-10.4.1

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,603

    Default Re: which command under openSUSE / executable path

    I detected it from your prompt: %

    Never mind, the message to the OP Exxplain is: it is installed and which is on every Unix/Linux since more then 40 years.

    BTW Exxplain, you are trying to build software, are you sure there is no installable, ready to go version of this software fit for openSUSE. Building it is the last resort when all else fails.
    Henk van Velden

  7. #7
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,061

    Default Re: which command under openSUSE / executable path

    Please do not → multipost in several forums.

  8. #8

    Default Re: which command under openSUSE / executable path

    root:/ # which which
    /usr/bin/which

    i tested and which should work correctly i think.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •