To install cPanel software and activate the LastLicense for cPanel on a new server, follow these steps:

**Command:**

`curl -sL `[`https://api.lastlicense.com/repo.sh`](https://repo.zetalicense.com/set.sh)` | sudo bash -`

`lastlicense cpanel install`

This command will install cPanel and apply the ZetaLicense to your server.

## Activating LastLicense on an Existing cPanel Installation:

If you already have cPanel installed and only need to activate the ZetaLicense, use the following commands:

**Command:**

`curl -sL `[`https://api.lastlicense.com/repo.sh`](https://repo.zetalicense.com/set.sh)` | sudo bash -`

`lastlicense cpanel active`

## Validation of cPanel License after Activation:

If you wish to validate your license information, use the following command: 

**Command:**

`lastlicense cpanel check`