> For the complete documentation index, see [llms.txt](https://dbi-services.gitbook.io/dmk-oracle-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbi-services.gitbook.io/dmk-oracle-manual/extension/dmk_dbduplicate/installation-and-upgrade-and-de-installation.md).

# Installation & Upgrade & De-Installation

## Installation

This paragraph describes the installation

### Prerequisites

This paragraph describes all necessary steps which must be completed before you start the DMK\_DBDUPLICATE installation.

* A successful installation of DMK as it is the root component of DMK\_DBDUPLICATE.

### Software extraction

Based on the dbi services and OFA (Oracle Flexible Architecture) best practices extract the archive under ${ORACLE\_BASE}/local, as explained below: <img src="/files/38iIXM3MfVYJbuIZXx9a" alt="" data-size="line">

```
unzip dmk_dbduplicate-xx-xx-xxxx..zip
```

Typically, ${ORACLE\_BASE} match:

* “/u01/app/oracle ” on Linux/Unix
* “D:\oracle”on Microsoft Windows systems

### Install

To complete the installation you just need to re-source DMK. This can be either achieved by

* <img src="/files/gXXzRxYH3XRlL6WzINTZ" alt="" data-size="line"> restarting the PowerShell Console
* <img src="/files/PinApbQDlYP33rBp49eq" alt="" data-size="line"> sourcing DMK within your shell (alias dmk)

```
oracle@vmoraoel:/home/oracle/ [rdbms11202] dmk
oracle@vmoraoel:/home/oracle/ [rdbms11202] echo ${DMK_DBDUPLICATE}
/u01/app/oracle/local/dmk_dbduplicate
```

*Enjoy!*

## Upgrade

dbi services recommend to perform a backup of your DMK\_DBDUPLICATE package before upgrading.

The upgrade process is similar to the installation except that the prerequisites are already fulfilled:

* Extract the software as explained in chapter 3.1.2 Software extraction
* Install DMK as explained in chapter 3.1.3 Install

:warning:**Upgrades of versions prior to the 12-10 require a reinstallation.**

That’s it!

## De-installation

This paragraph describes the de-installation of the DMK\_ DBDUPLICATE toolkit.

<img src="/files/PinApbQDlYP33rBp49eq" alt="" data-size="line"> For Linux:

```
rm -rf $DMK_DBDUPLICATE
```

<img src="/files/gXXzRxYH3XRlL6WzINTZ" alt="" data-size="line"> For Windows:

```
Remove-Item $DMK_DBDUPLICATE
```
