{"id":666,"date":"2014-05-28T05:42:02","date_gmt":"2014-05-28T12:42:02","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=666"},"modified":"2014-05-28T05:42:02","modified_gmt":"2014-05-28T12:42:02","slug":"solaris-10-which-package-do-i-need","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/solaris-10-which-package-do-i-need\/","title":{"rendered":"Solaris 10 which package do I need"},"content":{"rendered":"

In Solaris 11 package management got a lot better and is almost as good as APT in the Linux world.\u00a0 In Solaris 10 not so much.\u00a0 A lot of times I find myself comparing systems and trying to track down which package I need for a specific binary.\u00a0 The pkgchk command can help here:<\/p>\n

Example:<\/span><\/strong><\/p>\n

\r\n# pkgchk -l -p \/usr\/bin\/pdftops\r\nPathname: \/usr\/bin\/pdftops\r\nType: regular file\r\nExpected mode: 0755\r\nExpected owner: root\r\nExpected group: other\r\nExpected file size (bytes): 22316\r\nExpected sum(1) of contents: 15618\r\nExpected last modification: May 17 22:40:06 2012\r\nReferenced by the following packages:\r\n        SUNWevince\r\nCurrent status: installed\r\n<\/pre>\n

And of course install from CDROM as follow. <\/p>\n

\r\n# pkgadd -d \/mnt\/Solaris_10\/Product\/ SUNWevince\r\n<\/pre>\n

Be warned here your nightmare starts when the package management starts pointing out all the dependencies.<\/p>\n","protected":false},"excerpt":{"rendered":"

In Solaris 11 package management got a lot better and is almost as good as APT in the Linux world.\u00a0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=666"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/666\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}