Javascript required
Skip to content Skip to sidebar Skip to footer

How to Check Installed Packages in Solaris 10

Home Forums Reviews Tutorials Articles Register
Go Back LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
Reload this Page How to list all installed software on Solaris 10?
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, 03: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, 07:58 AM #2

jlliagre

Moderator

Registered: Feb 2004

Location: Outside Paris

Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL

Posts: 9,784

Rep: Reputation: 492 Reputation: 492 Reputation: 492 Reputation: 492 Reputation: 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, 09: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, 11:50 AM #4

jlliagre

Moderator

Registered: Feb 2004

Location: Outside Paris

Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL

Posts: 9,784

Rep: Reputation: 492 Reputation: 492 Reputation: 492 Reputation: 492 Reputation: 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, 05: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, 03: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, 04:54 PM #7

jlliagre

Moderator

Registered: Feb 2004

Location: Outside Paris

Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL

Posts: 9,784

Rep: Reputation: 492 Reputation: 492 Reputation: 492 Reputation: 492 Reputation: 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, 09:23 PM #8

frankbell

LQ Guru

Contributing Member

Registered: Jan 2006

Location: Virginia, USA

Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with

Posts: 17,801

Blog Entries: 28

Rep: Reputation: 5542 Reputation: 5542 Reputation: 5542 Reputation: 5542 Reputation: 5542 Reputation: 5542 Reputation: 5542 Reputation: 5542 Reputation: 5542 Reputation: 5542 Reputation: 5542

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


Forum Rules


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

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

All times are GMT -5. The time now is 09:26 PM.


Contact Us - Advertising Info - Rules - Privacy - LQ Merchandise - Donations - Contributing Member - LQ Sitemap -

Main Menu
  • Linux Forum
  • Search
  • LQ Tags
  • Linux Tutorials
  • LQ Job Marketplace
  • LQ Deals
  • Linux Wiki
  • Distro Reviews
  • Book Reviews
  • Download Linux
  • Social Groups
  • LQ Blogs

(Con't)

Advertisement

My LQ
  • Login
  • Register
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
  • LQ Calendar
  • LQ Rules
  • LQ Sitemap
  • Site FAQ
  • View New Posts
  • View Latest Posts
  • Zero Reply Threads
  • LQ Wiki Most Wanted
  • Jeremy's Blog
  • Report LQ Bug
Syndicate
RSS1  Latest Threads
RSS1  LQ News

Twitter: @linuxquestions

How to Check Installed Packages in Solaris 10

Source: https://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-list-all-installed-software-on-solaris-10-a-854194/