System Administration Guide, Volume 1

Adding and Removing Packages Using Admintool

The Solaris operating environment includes Admintool, which is a graphical user interface for performing several administration tasks, including adding and removing software packages. Specifically, you can use Admintool to:

How to Add Packages With Admintool

  1. Log in to the installed system and become superuser.

    At the shell prompt, type:


    $ su
    

    Unless you are a member of the UNIX sysadmin group (group 14), you must become superuser on your system to add or remove software packages with Admintool.

  2. Load a CD into the CD-ROM drive.

    Volume Manager will automatically mount the CD.

  3. Start Admintool.


    # admintool &
    

    The Users window is displayed.

  4. Choose Software from the Browse menu.

    The Software window is displayed.

  5. Choose Add from the Edit menu.

    The Set Source Media window might appear. If so, specify the path to the installation media and click OK. The default path is a mounted SPARC Solaris CD.

    The Add Software window is displayed.

    Graphic
  6. Select the software you want to install on the local system.

    In the Software portion of the window, click the check boxes corresponding to the software you want to install.

  7. Click Add.

    A Command Tool window appears for each package being installed, displaying the installation output.

    The Software window refreshes to display the packages just added.

How to Remove Packages With Admintool

  1. Log in to the installed system and become superuser.

    At the shell prompt, type:


    $ su
    

    Unless you are a member of the UNIX sysadmin group (group 14), you must become superuser on your system to add or remove software packages with Admintool.

  2. Start Admintool.


    # admintool &
    
  3. Choose Software from the Browse menu.

    The Software window is displayed.

    Graphic
  4. Select the software you want to remove from the local system.

  5. Choose Delete from the Edit menu.

    A warning pop-up window is displayed to confirm whether you really want to delete the software.

  6. Click Delete to confirm that you want to remove the software.

    For each package that is being deleted, a Command Tool window is displayed that asks for confirmation, again, before deleting the software. Type y, n, or q. If you choose to delete the software, the output from the removal process is displayed.