Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Solaris Package Management

  • 16-01-2014 09:23PM
    #1
    Registered Users, Registered Users 2 Posts: 847 ✭✭✭


    I'm completely new to Solaris but i'm working on a project involving documenting package management in Unix. I need to figure out where, if at all, does Solaris store the local data of installed/available packages? dpkg and RPM store either a local textfile or a local database file that can be easily read in /var/lib/, but I can't find similar for Solaris. Any tips?

    Thanks!


Comments

  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    The RPM/dpkg/yum equivalent on solaris is called pkgadd.

    You can find the man page here


  • Registered Users, Registered Users 2 Posts: 847 ✭✭✭Proxy


    syklops wrote: »
    The RPM/dpkg/yum equivalent on solaris is called pkgadd.

    You can find the man page here
    From the man page:
    FILES
    /var/sadm/install/logs/
    Location where pkgadd logs an instance of software installation.

    I think this is what I was looking for, thanks!


  • Registered Users, Registered Users 2 Posts: 339 ✭✭duffman85


    Solaris 10 keeps track of packages in /var/sadm/pkg/<Package Name>

    If you dig down into /var/sadm/pkg/<Package Name>/save/pspool/ directory you can see the pkginfo and pkgmap files which have the package details - revision,architecture etc. and the list of all the files installed by the package - pkgmap

    Also, have a look at the pkginfo,pkgadd,pkgrm,pkgchk commands


  • Registered Users, Registered Users 2 Posts: 5,131 ✭✭✭opus


    Wow that's a blast from the past, like the posters say above the 'pkginfo' command is your friend.

    I don't remember there being anything like the 'yum list available' command though as Solaris didn't have any online sources or at least it didn't back in the day anyway :)


  • Registered Users, Registered Users 2 Posts: 33 Giuseppe90


    Solaris 11 from what I have read has introduced IPS (Image Packaging System). Seems to be more down the line of YUM etc. although I have only briefly researched it myself.

    http://www.oracle.com/technetwork/server-storage/solaris11/technologies/ips-323421.html


  • Advertisement
Advertisement