Ask a Question related to Sun Solaris, Design and Development.
-
Guido Lenk #1
[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
-
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... -
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... -
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... -
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... -
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... -
Guido Lenk #2
Re: [newbie]how to find out a feature is installed
Peter Clinch <p.j.clinch@dundee.ac.uk> schrieb:
thx a lot!>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.
--
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
-
Guido Lenk #3
Re: [newbie]how to find out a feature is installed
Anthony Mandic <pi@hotmail.com> schrieb:
:-D or better :-( it's me. but i am new to solaris ;-)> Ask your system administrator. He/she should know.
>
--
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
-
Anthony Mandic #4
Re: [newbie]how to find out a feature is installed
Guido Lenk wrote:
Then you should know what you've installed - unless you> :-D or better :-( it's me. but i am new to solaris ;-)
inherited the system. In which case, look at pkginfo or
check the path or use find.
-am © 2003
Anthony Mandic Guest
-
Bob Hoekstra #5
Re: [newbie]how to find out a feature is installed
Luca Miselli wrote:
No. It will tell you if there is an executable file called procmail in one of the>>>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?
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
-
Anthony Mandic #6
Re: [newbie]how to find out a feature is installed
Luca Miselli wrote:
No, it just tells you where in your PATH a program named 'procmail'> I'm not an expert but dosen't
>
> which procmail
>
> tell you if you have it installed or not?
resides.
-am © 2003
Anthony Mandic Guest
-
Anthony Mandic #7
Re: [newbie]how to find out a feature is installed
Bob Hoekstra wrote:
You don't need to know the package name to use pkginfo. pkginfo> 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.
reports a description along with the package. Even if you didn't
know the name reading or grep'ing the description would probably
suffice.
And that's only useful if it is installed as a package.> Condition (b) no longer applies if you use
> the previously suggested `grep procmail /var/sadm/install/contents`.
Yes. however, there's no guarantee that something called "procmail"> 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.
is the procmail.
-am © 2003
Anthony Mandic Guest
-
Peter Clinch #8
Re: [newbie]how to find out a feature is installed
Guido Lenk wrote:
If you haven't inherited it, then almost certainly no: procmail's not> :-D or better :-( it's me. but i am new to solaris ;-)
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



Reply With Quote

