Software installation on Debian 7 Wheezy                              


      …Please note:

·         The following is a command line approach to setting up Debian 7 Wheezy with the necessary dependencies required for this software to run.

·         These instructions are provided as a convenience and courtesy to you. Generally, it is not my responsibility to teach you how to install and configure packages on a Linux system.

·         If you need any further help, you may contact me directly for paid support (charged at my hourly rate).


1. Install Web server, PHP & cURL

# apt-get install apache2 php5 libapache2-mod-php5 php5-cli curl libcurl3 php5-curl

2. Install Text editor NANO

# apt-get install nano

(Ctrl + O = Save, Ctrl + X = quit nano)

3. Create a phpinfo.php file and put it into www home directory of your Domain

# nano /var/www/phpinfo.php

Add the following to the file:  <?php phpinfo (); ?>

Save and close file in text editor.

Open phpinfo.php in browser ( to verify Apache/PHP are working.

4. Edit Sources

# nano /etc/apt/sources.list.d/

Add the following to the file: 

# Debian Multimedia Repository
deb wheezy main non-free
deb wheezy-backports main

Save and close file in text editor.

# apt-get update
# apt-get install deb-multimedia-keyring
# apt-get update

5. Install Codecs

For 32bit Systems:

# apt-get install w32codecs

For 64bit Systems:

# apt-get install w64codecs

6. Install FFmpeg

# apt-get install ffmpeg

7. Install ffmpeg-php PHP extension

# apt-get install php5-ffmpeg

Restart Web server:

# /etc/init.d/apache2 restart

8. Add FFmpeg presets for x264 Codec (optional)

# cd /usr/share/ffmpeg
# wget

Extract ffmpeg.presets.tar.gz:

# tar xfvz ffmpeg.presets.tar.gz

9. Install ‘id3v2’ package for editing metadata of some downloaded/converted file types

# apt-get install id3v2

10. Set permissions for software.xml

Software.xml is automatically generated and updated, but it needs write permissions.

Set folder “var” and “www” to chmod 0777.

11. Additional notes

Ensure PHP is running as an Apache Module (MOD-PHP)! (via control panel, if installed)

Via the php.ini (or corresponding control panel interface, if installed):

·         Set  PHP “open_basedir” directive to “none”.

·         Ensure the following lines exist in PHP config:


You're done !! Debian 7 Wheezy is now ready for you to install and configure the YouTube-to-Mp3 Converter software, per the provided documentation.