Tuesday, July 17, 2012

How to install virtualenv on Ubuntu

Hello, Java the cat here. Today I'm going to teach you how to install virtualenv on Ubuntu!


Anyway, open up the terminal and type this:
sudo apt-get install python-setuptools
That command will install python-setuptools so that we can make use of easy-install, which in turn, is what we're going to use to install virtualenv. :3 


Wait for the package to finish installing and then type this: 
sudo easy-install virtualenv
That command obviously installs  virtualenv. Mewhohoho~
And that's it for the installation! Now, we're going to start using virtualenv.

Make a directory for your virtualenv. Name it anything.
mkdir myProject
Next, cd to that directory and create your virtualenv.
cd myProj
virtualenv myEnv
Your virtualenv is now created. To activate it, simply type:
source myenv/bin/activate
You are now inside your virtualenv, and you can now start installing whatever package you need to create your project, application, etc. :3







Obligatory "First Post"

Here's my photo:
Aren't I cute? Anyway, my name's Java (but most people call me "ming"), and I'm owned by Kimbu and Pamu. Meeow~