sudo apt update

sudo apt install snmpd snmp

Let's Stop snmpd:

sudo systemctl stop snmpd 

Let's Edit The Following File:

sudo nano /etc/snmp/snmpd.conf

Now Start snmpd:

sudo systemctl start snmpd