[newbie]how to find out a feature is installed

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default [newbie]how to find out a feature is installed

    hi,

    how can i find out if a feature (i.e. procmail) is installed?

    Guido
    --
    Guido Lenk University of Passau
    Systemadministrator 94030 Passau, Germany
    Tel.+49 (851) 509 - 3187
    Institute for Information-Systems Fax +49 (851) 509 - 3182
    and Softwaretechnique [url]www.ifis.uni-passau.de[/url]
    Guido Lenk Guest

  2. Similar Questions and Discussions

    1. INSTALLED, now HOW I FIND AND USE?
      Ok, this is probably a stupid overlook by me or something very simple..but instead of me banging my head and losing my temper i figure I would...
    2. ExtUtils::Installed can't find Prima?
      I try run the script: use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version...
    3. Undocumented feature of File::Find?
      I happened to stumble on a feature of File::Find. Is this an undocumented feature? A bug? I don't see it mentioned anywhere in the Perldocs, but...
    4. How to find out installed packages on Unix
      "Wang, Vincent" <viwang@nortelnetworks.com> wrote in message news:3EA9A873.EA35E48C@nortelnetworks.com... Try this (you'll need...
    5. How do I find out what graphics card i have installed?
      The box your laptop came with should say...or even the manufacturer's website. If you go to Control Panel/Administrative tools/Computer...
  3. #2

    Default Re: [newbie]how to find out a feature is installed

    Peter Clinch <p.j.clinch@dundee.ac.uk> schrieb:
    >That'll depend *how* it's installed. If it's gone in as a formal
    >software package then the pkginfo command will run through the database
    >of what's on the system and tell you what's there.
    >
    >However, there's no requirement for software to be added this way, so it
    >may be easiest just to use the find command, starting from either /,
    >/usr or possibly /opt. Something like
    >
    > find / -name procmail -print
    >should do, but before you do that, which could take quite a while, just do
    > which procmail
    >which will have a look in the default search path and see if such a
    >filename is in it.
    thx a lot!
    --
    Guido Lenk University of Passau
    Systemadministrator 94030 Passau, Germany
    Tel.+49 (851) 509 - 3187
    Institute for Information-Systems Fax +49 (851) 509 - 3182
    and Softwaretechnique [url]www.ifis.uni-passau.de[/url]
    Guido Lenk Guest

  4. #3

    Default Re: [newbie]how to find out a feature is installed

    Anthony Mandic <pi@hotmail.com> schrieb:
    > Ask your system administrator. He/she should know.
    >
    :-D or better :-( it's me. but i am new to solaris ;-)


    --
    Guido Lenk University of Passau
    Systemadministrator 94030 Passau, Germany
    Tel.+49 (851) 509 - 3187
    Institute for Information-Systems Fax +49 (851) 509 - 3182
    and Softwaretechnique [url]www.ifis.uni-passau.de[/url]
    Guido Lenk Guest

  5. #4

    Default Re: [newbie]how to find out a feature is installed

    Guido Lenk wrote:
    > :-D or better :-( it's me. but i am new to solaris ;-)
    Then you should know what you've installed - unless you
    inherited the system. In which case, look at pkginfo or
    check the path or use find.

    -am © 2003
    Anthony Mandic Guest

  6. #5

    Default Re: [newbie]how to find out a feature is installed

    Luca Miselli wrote:
    >>Guido Lenk wrote:
    >>
    >>
    >>>:-D or better :-( it's me. but i am new to solaris ;-)
    >>
    >> Then you should know what you've installed - unless you
    >> inherited the system. In which case, look at pkginfo or
    >> check the path or use find.
    >
    >
    > I'm not an expert but dosen't
    >
    > which procmail
    >
    > tell you if you have it installed or not?
    No. It will tell you if there is an executable file called procmail in one of the
    directories in your PATH. It would be my first attempt though.

    Others have suggested using pkginfo. This is useful if (a) the software has been instlled
    as a package and (b) you know the package name. Condition (b) no longer applies if you use
    the previously suggested `grep procmail /var/sadm/install/contents`.

    The only sure way to find every file called procmail is `find / -name procmail`. You need
    to be root. You also need to be patient.


    --
    -----BEGIN GEEK CODE BLOCK-----
    Version: 3.1
    GO/! d- s++:+ a+ C++(++++) US++++$ UB++ U*++ P+++ L+++ E--- W+++ N++ w--- O-
    M+ V- PS+ PE+ Y+ PGP t+ 5++ X R* tv+ b+ DI++ D G e(*) h++/-- r+++ y?
    ------END GEEK CODE BLOCK------

    -----------------------------------------------------
    Bob Hoekstra: APL & Unix Consultant
    Telephone: +44 1483 771028
    Mobile: +44 7710 562345
    Email: [email]Bob.Hoekstra@HoekstraSystems.ltd.uk[/email]
    -----------------------------------------------------

    Bob Hoekstra Guest

  7. #6

    Default Re: [newbie]how to find out a feature is installed

    Luca Miselli wrote:
    > I'm not an expert but dosen't
    >
    > which procmail
    >
    > tell you if you have it installed or not?
    No, it just tells you where in your PATH a program named 'procmail'
    resides.

    -am © 2003
    Anthony Mandic Guest

  8. #7

    Default Re: [newbie]how to find out a feature is installed

    Bob Hoekstra wrote:
    > Others have suggested using pkginfo. This is useful if (a) the software has
    > been instlled as a package and (b) you know the package name.
    You don't need to know the package name to use pkginfo. pkginfo
    reports a description along with the package. Even if you didn't
    know the name reading or grep'ing the description would probably
    suffice.
    > Condition (b) no longer applies if you use
    > the previously suggested `grep procmail /var/sadm/install/contents`.
    And that's only useful if it is installed as a package.
    > The only sure way to find every file called procmail is `find / -name procmail`.
    > You need to be root. You also need to be patient.
    Yes. however, there's no guarantee that something called "procmail"
    is the procmail.

    -am © 2003
    Anthony Mandic Guest

  9. #8

    Default Re: [newbie]how to find out a feature is installed

    Guido Lenk wrote:
    > :-D or better :-( it's me. but i am new to solaris ;-)
    If you haven't inherited it, then almost certainly no: procmail's not
    part of any Solaris distribution AFAIK.

    Note that it's available as a package at [url]http://sunfreeware.com/[/url], so
    since you're sysadmin you can always put a copy in yourself, and then
    you can be pretty sure it's there!

    Pete.
    --
    Peter Clinch University of Dundee
    Tel 44 1382 660111 ext. 33637 Medical Physics, Ninewells Hospital
    Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
    net [email]p.j.clinch@dundee.ac.uk[/email] [url]http://www.dundee.ac.uk/~pjclinch/[/url]

    Peter Clinch Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139