# System & Anon Updates

When installing or upgrading the Anon package to version anon-0.4.9.7 and above, necessary steps to agree to the [Terms and Conditions](https://www.anyone.io/terms) must be applied, for these operations to succeed successfully. We offer different methods to accept the agreement, either manually or in advance.

### Using APT package manager

Update list of available packages

```shell
sudo apt-get update
```

Upgrade to the latest Anon package.

```sh
sudo apt-get --only-upgrade install anon
```

Accept the terms and conditions by highlighting `<Yes>` and hit **Enter**.

<figure><img src="https://content.gitbook.com/content/AA9P3lN6X0LnMGWCOpyt/blobs/C5utcC4z9dxQolnnF2er/accept-terms-ui.png" alt="" width="563"><figcaption></figcaption></figure>

***

### How to accept the Terms and Conditions prior to installing or upgrading the Anon binary.

#### Preseed debconf database

Apply the debconf preseed:

```bash
sudo echo "anon anon/terms boolean true" | debconf-set-selections
```

Verify that the debconf preseed has applied properly:

```bash
sudo debconf-show anon
```

***

### Agree to terms and conditions with a parameter in anonrc

Add the parameter `AgreeToTerms 1` in the **anonrc** file, normally located `/etc/anon/anonrc`.&#x20;

***

### Ansible playbook

Add the configuration to your playbook:

{% code title="playbook.yaml" %}

```yaml
- name: Accept terms and conditions
  ansible.builtin.debconf:
    name: anon
    question: anon/terms
    value: "true"
    vtype: select
```

{% endcode %}
