# Uninstall on Linux

This section will help you perform a complete uninstallation of WebSpellChecker Server on a Linux-based environment.

1\. [Stop AppServer](https://docs.wproofreader.com/v6.12.0/deployment/installation/linux/pages/IA2KNQLXDh85TwDivL4y#mainappservercommands-stopappserverwindowslinux2.stopappserver) if it is running.

2\. Uninstall the existing copy of the application as described below.

If you have any custom settings and/or dictionaries that you plan to reuse, you need to back up them before uninstalling, migrating, and upgrading.

For example:

* If you have already changed any values of the [AppServer parameters](/v6.12.0/deployment/configuration/application-server/appserver-parameters.md) in AppServerX.xml configuration file, you may need to transfer these settings to a new server. Otherwise, these parameters values can become incompatible.
* Back up the **CustomDictionaries** folder (\<WebSpellChecker\_Installation\_Path>/AppServer/CustomDictionaries) with global custom dictionaries and its CustDictConfig.xml configuration file.
* Back up the **UserDictionaries** folder (\<WebSpellChecker\_Installation\_Path>/AppServer/UserDictionaries) with all personal user dictionaries created by end users.
* Back up the **StyleGuide** folder (\<WebSpellChecker\_Installation\_Path>/AppServer/StyleGuide/client) with global style guide rules.

a. Deactivate a license. Refer to the [License Deactivation on Linux](/v6.12.0/deployment/licensing/license-deactivation-on-linux.md) guide for details.

Please note that if you want to install your application package on a different server, you need to deactivate your license first.

b. Run the **rm -rf** command to remove the application files:

```
sudo rm -rf <WebSpellChecker_Installation_Path>/WebSpellChecker
```

```
sudo rm -rf /var/lib/WebSpellChecker
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wproofreader.com/v6.12.0/deployment/installation/linux/uninstall-on-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
