# Installation Guide

# Uninstalling WLOC

This section describes how to remove WLOC 10.3.

- Uninstalling WLOC in Graphical Mode
- Uninstalling WLOC in Console Mode

## Uninstalling WLOC in Graphical Mode

Installation of WLOC creates uninstall scripts in the BEA_HOME`/W` LOC_HOME`/uninstall` directory. These can be used to remove WLOC as described below.

Caution: | Do not use the uninstall scripts in `BEA_HOME/utils/uninstall` since this will remove all BEA products in that BEA Home directory.

1. Launch the uninstallation program using one of the following:

Platform | Description
--- | ---
Windows | From the Windows Start menu, select Programs> WebLogic Operations Control 10.3 > Uninstall Weblogic Operations Control. or Run `BEA_HOME\WLOC_HOME\uninstall\uninstall.cmd`
UNIX | Run `BEA_HOME/WLOC_HOME/uninstall/uninstall.sh`

2. On the Welcome window, click Next.
3. On the Choose Components window, select the components to remove and click Next.
4. On the final window, note any details about resources that were not erased from the system. These must be manually removed from disk.

## Uninstalling WLOC in Console Mode

Use the following procedure to uninstall the complete product installation, or individual components, using the command-line interface:

1. Start the uninstallation program as described in Table 5-1.

Table 5-1 Starting the Uninstallation Program in Console Mode
To start the uninstallation program on this platform . . . | Perform the following steps . . .
--- | ---
Windows | Open a Command Prompt window and go to the following directory: `BEA_HOME``\``WLOC_HOME``\uninstall` Here WLOC_HOME represents the directory in which you installed your WLOC software, typically C:\bea\wloc<version>. Enter the following command at the prompt: `uninstall -mode=console` The Welcome text is displayed.
UNIX | Go to the following directory: `BEA_HOME``/``WLOC_HOME``/uninstall` Here WLOC_HOME represents the directory in which you installed your WLOC software. At the prompt, enter the following command: `sh ./uninstall.sh -mode=console` The Welcome text is displayed.

2. Press Enter or type next to proceed to the next panel of the uninstallation program.

Note: | Instead of typing complete words when you want to enter `[Exit]`, `[Previous]`, and `[Next]`, you can use the following one-letter shortcuts: `x`, `p`, and `n`, respectively.

The Choose Components to uninstall panel is displayed.

3. Select the components you want to uninstall. The available components are displayed as follows:

    Check the WebLogic Operations Control 10.3.0.0 components you want to uninstall.

    Release 10.3.0.0
        +----WebLogic Operations Control [1] v
        |    +----wloc-controller [1.1] v
        |    +----wloc-agent [1.2] v

    Enter number exactly as it appears in brackets to toggle selection OR
     [Exit][Previous][Next]>

By default, all installed components are selected, indicating that they will be removed.

4. Press Enter or type `next` to proceed with the uninstallation process.
5. When the uninstallation process is complete, press Enter or type `exit` to complete the uninstallation and exit the uninstallation program.