Tim's IT-Blog

Just a blog about IT and IT-Problems…

Search a Solaris Package by filename to install

by admin_import on 08/07/2008

If you are searching for a solaris package that containts a wanted to install file, there is no function for this task like dpkg in Debian. But can use grep on very easy way:

$ # MOUNT SOLARIS DVD/CD
$ mount /dev/... /mnt/Solaris_10

$ # NOW SEARCH for example a special german locate file
$ grep 'de_DE.ISO8859-1.so.3' /mnt/Solaris_10/Product/*/pkgmap

For ready installed packages

$ grep 'de_DE.ISO8859-1.so.3' /var/sadm/install/contents

That’s all 🙂