how may I know whether a program is installed or not?
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how may I know whether a program is installed or not?
I have solaris 10.
I would like to know if wget installed is, but neither locate nor whereis seem to be installed.
how is one supposed to know if one program is already installed?
I think I read on a thread here yesterday that wget isn't installed in Solaris by default, and that fetch is an alternative which is installed. Might be wrong though
wget is installed (/usr/sfw/bin). but why aren't they wget entries in the manpages then? How can I change this?
when I give
Quote:
grep -w wget /var/sadm/install/content
it says:
Quote:
/usr/sfw/share/man/man1/wget.1 f none 0444 root bin 59496 19741 1105179227 SUNWsfman
and when I give
Quote:
grep -w md5sum /var/sadm/install/contents
, it gives me
Quote:
/usr/bin/gst-md5sum f none 0755 root other 12260 13175 1103148915 SUNWgnome-media
/usr/bin/gst-md5sum-0.8 f none 0755 root other 12204 50514 1103148916 SUNWgnome-media
/usr/share/man/sman1/gst-md5sum-0.8.1 f none 0755 root other 9167 53155 1103152338 SUNWgnome-media-share
/usr/share/man/sman1/gst-md5sum.1 f none 0755 root other 227 16315 1103152338 SUNWgnome-media-share
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.