HealthLinks is your destination for reliable, understandable, and credible health information and expert advice that always keeps why you came to us in mind.

How do I Find a Package Version in Solaris?

104 43
    • 1). Log in to your installation of the Solaris operating system. If you have a Graphical User Interface (GUI), such as Gnome or KDE (K Desktop Environment), then navigate to "System" and then "Konsole" or "Terminal" to bring up a window with a standard black-and-white interface window. Within this window, log in as the "Root" or "Superuser" administrator. To do so, type "su root" then press the "Enter" or "Return" key. This will cause Solaris to ask you for the system's superuser (or administrator) password. Enter it and press the "Enter" or "Return" key once more to enter the administrator login.

    • 2). Make special note of the commandline prompt to be sure you have successfully logged in as the administrator. For regular users, the prompt will be a dollar sign ($) and if you are logged in as the system administrator, the prompt will be the pound or number sign (#) at the end of the text where data is entered.

    • 3). Enter the following to list the versions of all the packages on the system: "pkgchk -l" (last letter is a lowercase L representing the command 'list'), then scroll down the screen until locating the package for which you are trying to find the version. If you prefer the much shorter way without listing all packages, enter the name of the specific package at the end of the command if you know how to spell it correctly as such: "pkgchk -l name of package," replacing "name of package" with the package's actual namet. Once entered, press the "Enter" or "Return" key and the package information will appear on the screen including the version number.

Source...

Leave A Reply

Your email address will not be published.