How To Install Virtualenv On Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian?
Install virtualenv
-
Debian
apt-get install virtualenvClick to copy -
Ubuntu
apt-get install virtualenvClick to copy -
Arch Linux
pacman -S virtualenvClick to copy -
Kali Linux
apt-get install virtualenvClick to copy -
CentOS
yum install virtualenvClick to copy -
Fedora
dnf install virtualenvClick to copy -
Raspbian
apt-get install virtualenvClick to copy
Create virtual isolated Python environments. Homepage: .
How to use virtualenv?
Below are few example commands for virtualenv that you can use in the terminal.
Create a new environment:virtualenv path/to/venvClick to copyCustomize the prompt prefix:virtualenv --prompt=prompt_prefix path/to/venvClick to copyStart (select) the environment:source path/to/venv/bin/activateClick to copyStop the environment:deactivateClick to copy
Installing virtualenv command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of virtualenv 2026 package in your OS.




