Kthulu120 / liquid_dl

Liquid-dl is a simple tool for utlities such as FFMPEG, youtube-dl, and scdl. It provides a simple framework with simple point and click options allowing users to just click on what they need and use the bare minimum commands to get the results needed.
MIT License
73 stars 7 forks source link

Running liquid-dl on rpi or other debian7 #20

Closed Robiinn closed 6 years ago

Robiinn commented 6 years ago

Some of the tools and libraries used by this project run an outdated version in the debian7 repository. You can fix them by updating things manually/from the debian8 repo:

 ## Download Node and NPM
 wget https://nodejs.org/dist/v9.2.0/node-v9.2.0-linux-armv7l.tar.gz
 tar -xvf node-v9.2.0-linux-armv7l.tar.gz
 sudo mv node-v9.2.0-linux-armv7l/* /opt/node/
 cd /opt/node/bin/

 ## Place shortcuts in PATH
 sudo ln -s /opt/node/bin/node /usr/local/bin/node
 node -v
 sudo ln -s /opt/node/bin/npm /usr/local/bin/npm
 npm -v

 ## Add Debian8 repository
 sudo sh -c 'echo "deb http://ftp.uk.debian.org/debian/ jessie main non-free contrib" >> /etc/apt/sources.list'
 sudo apt-get update
 apt-cache search gcc
 apt-cache search g++
 sudo apt-get install gcc-4.8 g++-4.8

 ## Add new versions to PATH
 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
 gcc --version
 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
 g++ --version

 ## Install latest version of avconv tools from deb8
 sudo apt-get install libav-tools

 ## Finally build and configure liquid-dl
 npm install
 sudo ./node_modules/.bin/webpack --config webpack.config.js -p

 ## Flush and start
 sudo python3 manage.py flush
 sudo nohup python3 manage.py runserver 0.0.0.0:8080
Kthulu120 commented 6 years ago

Will add this into ReadME or at least link for users to more easily install the application