LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 01-04-2011, 02:01 PM   #1
SusanMJC
LQ Newbie
 
Registered: Jan 2011
Location: Austin, TX
Distribution: Solaris 10, Ubuntu 9.10, Cygwin 1.7.7
Posts: 2

Rep: Reputation: 0
How to list all installed software on Solaris 10?


I'm wanting to list ALL installed software on a Solaris 10 system, have tried pkginfo but that just shows what's bundled with Solaris. I saw a suggestion elsewhere regarding viewing the product registry on Solaris -- if anyone knows how to do that or can suggest another approach, please inform!
 
Old 01-05-2011, 06:58 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Product registry is more of a Windows thing. There is indeed one with Solaris but you'll find there a subset of what pkginfo will report, not a superset.
It is incorrect to tell pkginfo only report Solaris bundled software. It reports all software installed using the Solaris standard SVR4 packaging format. Many freeware and some commercial software comply with it. Unfortunately, not all software comes under this format. When it is just a tarball or similar extracted somewhere, there is no definitive heuristic to identify what is installed and where. That would be the same issue with any OS by the way.
 
Old 01-05-2011, 08:32 AM   #3
SusanMJC
LQ Newbie
 
Registered: Jan 2011
Location: Austin, TX
Distribution: Solaris 10, Ubuntu 9.10, Cygwin 1.7.7
Posts: 2

Original Poster
Rep: Reputation: 0
Dear jlliagre,

Thank you very much for the clarification re pkginfo output and the use of SunOS/Solaris product registry. IMHO it seems that not having a straightforward way to get a comprehensive list of installed software is a glaring omission in system administration functionality. Folks who inherit administration of systems where a record of installations has not been maintained may find it challenging to identify what's installed.

Any suggestions on how to best approach a comprehensive identification of installed software on a Solaris 10 system will be much appreciated!

Thanks again!
 
Old 01-05-2011, 10:50 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
There is no comprehensive way with any OS I'm aware of. Installing a software might simply be copying a single executable file somewhere in a directory. How would you want the OS to guess this file is a new application that matters and should be recorded and not the side effect of an existing program ? Even the notion of software is fuzzy. It has a meaning in term of packaging but doesn't necessarily has one for the OS.
 
Old 01-31-2011, 04:39 AM   #5
suranciti
LQ Newbie
 
Registered: Jan 2011
Posts: 5

Rep: Reputation: 0
any solaris package that was installed using the pkgadd will have entries in /var/sadm/pkg and this is shown via pkginfo or pkginfo -l for longer listing. If applications were installed using tar or bin files then more often than not these dont populate the pkg database and therefore do not appear in /var/sadm/pkg.
 
Old 08-12-2011, 02:25 PM   #6
ambar.sh
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
pkginfo | grep application

pkginfo | grep application gives all the applications installed on the Solaris box
 
Old 08-12-2011, 03:54 PM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Welcome to LQ !
Quote:
Originally Posted by ambar.sh View Post
pkginfo | grep application gives all the applications installed on the Solaris box
It won't list all of them, as already explained in this very thread.
 
Old 08-12-2011, 08:23 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,314
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
The only surefire way I can think of is ls /usr/bin followed by ls /usr/sbin and perhaps by ls /opt.

I doubt it's worth the effort, as those commands would list every single little thing, including ls.

In Windows World, inventory programs were created to search for pirate software and license violations, which are not much of an issue in open source, where an insignificant percentage of software is commercially licensed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
List of software installed in fedora 12 anika.ella Linux - Newbie 5 02-01-2010 10:01 AM
About list of softwares installed in Solaris rajaniyer123 Solaris / OpenSolaris 3 05-24-2007 09:50 PM
How can I get a list of software that was installed via rpm TruongAn Linux - Software 10 10-04-2005 11:53 AM
How to list installed software on Linux? mojavex Linux - Software 1 09-16-2005 05:40 PM
How do you list what software is installed? Tiyogi Linux - Software 5 04-22-2004 08:52 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration