<!-- 
The contents of this Documentation are subject to the Public Documentation
License Version 1.01 (the "License"); you may only use this Documentation if
you comply with the terms of this License. A copy of the License is
available at http://www.opensolaris.org/os/community/documentation/license.
-->

<chapter><title>Additional Developer Information</title><highlights><para>This section provides additional, miscellaneous, information that may
be useful to the community and developers using and developing on the OpenSolaris
2009.06 platform.</para>
</highlights><sect1><title>Accessing a Windows Server from OpenSolaris 2009.06</title><para>To access a remote desktop from an installed OpenSolaris 2009.06 system,
you will need to download and install the SUNWrdesktop package from the repository.
Execute the following commands to install and run the package :</para><itemizedlist><listitem override="bullet" lang="en"><para><command>$ pfexec pkg install
SUNWrdesktop</command></para>
</listitem><listitem override="bullet" lang="en"><para><command>$ /usr/bin/rdesktop</command></para>
</listitem>
</itemizedlist>
</sect1><sect1 id="giksz"><title>Package Management Comparison </title><para>The following tables compares the common package management tasks used
by IPS with the commands used by the Solaris operating system and with the
apt-get package management software.</para><table frame="topbot" id="gimqc"><title>IPS Commands and <command>apt-get</command></title><tgroup cols="3" colsep="1" rowsep="1"><colspec colwidth="33*"/><colspec colwidth="33*"/><colspec colwidth="33*"/><thead><row><entry><para>Task</para>
</entry><entry><para>IPS Command</para>
</entry><entry><para><command>apt-get</command> Equivalent</para>
</entry>
</row>
</thead><tbody><row><entry><para>Create an image</para>
</entry><entry><para><command>pkg image-create</command></para>
</entry><entry><para><command>dpkg-build</command></para>
</entry>
</row><row><entry><para>Install a package</para>
</entry><entry><para><command>pkg install</command></para>
</entry><entry><para><command>apt-get install</command></para>
</entry>
</row><row><entry><para>Search for a package</para>
</entry><entry><para><command>pkg search</command></para>
</entry><entry><para><command>apt-cache search</command></para><para><command>dpkg <option>S</option></command></para>
</entry>
</row><row><entry><para>Update all packages</para>
</entry><entry><para><command>pkg image-update</command></para>
</entry><entry><para><command>apt-get dist-upgrade</command></para>
</entry>
</row><row><entry><para>Display state and version information</para>
</entry><entry><para><command>pkg list</command></para>
</entry><entry><para><command>dpkg &ndash;list</command></para>
</entry>
</row><row><entry><para>Display contents of a package</para>
</entry><entry><para><command>pkg contents</command></para>
</entry><entry><para><command>dpkg &ndash;contents</command></para>
</entry>
</row><row><entry><para>Display package information such as license</para>
</entry><entry><para><command>pkg info</command></para>
</entry><entry><para><command>apt-cache showpkg</command></para>
</entry>
</row><row><entry><para>Verify a package installation</para>
</entry><entry><para><command>pkg verify</command></para>
</entry><entry><para><command>debsums</command></para>
</entry>
</row><row><entry><para>Uninstall a package</para>
</entry><entry><para><command>pkg uninstall</command></para>
</entry><entry><para><command>apt-get remove</command></para>
</entry>
</row><row><entry><para>Display publisher information</para>
</entry><entry><para><command>pkg publisher</command></para>
</entry><entry><para><command>more sources.list</command></para>
</entry>
</row><row><entry><para>Add or update a publisher</para>
</entry><entry><para><command>pkg set-publisher</command></para>
</entry><entry><para>Edit <command>sources.list</command> file</para>
</entry>
</row><row><entry><para>Remove a publisher</para>
</entry><entry><para><command>pkg unset-publisher</command></para>
</entry><entry><para>Edit <command>sources.list</command> file</para>
</entry>
</row>
</tbody>
</tgroup>
</table><table frame="topbot" id="gimro"><title>IPS Commands and Solaris</title><tgroup cols="3" colsep="1" rowsep="1"><colspec colwidth="33*"/><colspec colwidth="33*"/><colspec colwidth="33*"/><thead><row><entry><para>Task</para>
</entry><entry><para>IPS Command</para>
</entry><entry><para>Solaris Equivalent</para>
</entry>
</row>
</thead><tbody><row><entry><para>Install package</para>
</entry><entry><para><command>pkg install</command></para>
</entry><entry><para><command>pkgadd <option>a</option></command></para>
</entry>
</row><row><entry><para>Display package state and version information</para>
</entry><entry><para><command>pkg list</command></para>
</entry><entry><para><command>pkginfo</command></para>
</entry>
</row><row><entry><para>Verify package installation</para>
</entry><entry><para><command>pkg verify</command></para>
</entry><entry><para><command>pkgchk <option>v</option></command></para>
</entry>
</row><row><entry><para>Display package information such as license</para>
</entry><entry><para><command>pkg info</command></para>
</entry><entry><para><command>pkginfo <option>l</option></command></para>
</entry>
</row><row><entry><para>Display contents of a package</para>
</entry><entry><para><command>pkg contents</command></para>
</entry><entry><para><command>pkgchk <option>l</option></command></para>
</entry>
</row><row><entry><para>Search for a package</para>
</entry><entry><para><command>pkg search</command></para>
</entry><entry><para><command>pkgchk <option>l</option> <option>p</option></command></para>
</entry>
</row><row><entry><para>Uninstall a package</para>
</entry><entry><para><command>pkg uninstall</command></para>
</entry><entry><para><command>pkgrm</command></para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1><sect1 id="ginwv"><title>Contributing to the <literal>pkg.opensolaris.org/contrib</literal> Repository</title><para>The <literal>pkg.opensolaris.org/contrib</literal> repository contains
packages built, reviewed, and supported by the community. See <ulink url="http://opensolaris.org/os/community/sw-porters/contributing/repodesc/" type="url"></ulink> for more information.</para>
</sect1>
</chapter>