1. How to install virtualenv: 1.1. Install pip sudo apt install python3-pip 1.2. Install virtualenv: pip3 install virtualenv 2. Using virtualenv: 2.1. Creating your virtualenv virtualenv -p python3 venv 2.2. Activating your virtualenv source venv/bin/activate 2.3. Deactivating your virtualenv deactivate