This config is intended to help reader to quickly setup a Django Web development environment with Python 3 and MySQL on Debian Linux 8 Jessie. The outcome will be installed Django Framework ( 1.7.1 ) and Python ( 3.4.2 ). Once completed and would like to learn more by creating your first Django app you can continue with the official Django Documentation by skipping the first part about settings up the Django environment.

Let's begin by installation of Django Framework and Python 3: The below command will install both Django Web development Framework and Python 3 packages:
# apt-get install python3-django

Your Debian Linux installation may include multiple python versions and thus also include multiple python binary executables. You can run the following ls command to find out what python binary executables are available on your system:
$ ls /usr/bin/python*
/usr/bin/python  /usr/bin/python2  /usr/bin/python2.7  /usr/bin/python3  /usr/bin/python3.4  /usr/bin/python3.4m  /usr/bin/python3m
To check what is your default python version execute:
$ python --version
Python 2.7.8

In this article we describe a installation procedure of Spotify client on Debian Linux 8 (Jessie). Looking on the Spotify for Linux on spotify.com page we can see a simple instructions which we are going to follow. However, based on the statement from spotify developer the "Spotify for Linux" version available is for an older Debian 6 Squeeze version so we will come across some issues which we will fix after the main Spotify installation.

Let's start the spotify installation by adding spotify repository
deb http://repository.spotify.com stable non-free
to our /etc/apt/sources.list. Next, install authentication key and run repository update:
# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59
# apt-get update
At this stage we are ready to install spotify client on Debian 8 Jessie by following linux command and disregarding the warning message about apt-get not being able to verify package:
# apt-get install spotify-client

When you attempt to VBoxLinuxAdditions.run script to install VirtualBox Guest Additions you may receive a following error message:
Building the main Guest Additions module ...fail!
Futher, investigation into a suggested log file may reveal:
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again.  Stop.

Having a slow Debian mirror can be frustrating and thus it is always best to choose closest mirror to your geographical location as possible. Even your best guess may not always bring good results. Fortunately netselect-apt command line tool is here to help you find the fastest mirror available.
Here is the basic idea:
finding a fastest debian mirror

As you can see on the above image 87.0 kB/s is rather disappointing. Let's try to change that using netselect-apt faster mirror locator tool. Installation is simple:
# apt-get install netselect-apt

ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.