'getting error when trying to install python3-venv in vagrant ubuntu bionic64

I am trying to install virtual environment in ubuntu (apt-get install python3-venv) syntax correct can you resolve my problem why i am getting below error

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source