install CouchPotato Ubuntu via command line to download movies

In this tutorial, install CouchPotato Ubuntu. We are going to install CouchPotato on a system, with Ubuntu. We will then configure CouchPotato in this way. Films are downloaded automatically with the NZBGet program. Before you start this tutorial. The NZBGet program should already be installed. And be working on your Ubunu computer. Is this not yet the case. Then, first see the tutorialInstalling NZBGet Ubuntu.

Install CouchPotato Ubuntu

Make a connection to your computer with Ubuntu. This is possible, for example with Putty.

Now we will update the software list.

sudo apt-get update

We now need to install the required software. Like Git and Pyhon.

sudo apt-get install git

sudo apt-get install git-core python

Now we will download CouchPotato. And place it in the “.couchpotato” folder. Pay attention! The dot ensures that the folder is hidden.

cd ~
git clone git://github.com/RuudBurger/CouchPotatoServer.git .couchpotato

If you have downloaded CouchPotato. Then you can start CouchPotato via the command below.

python .couchpotato/CouchPotato.py

You can now access CouchPotato via http://localhost:5050

Start CouchPotato automatically

To ensure that there is no old boot script present. Run the commands below. This is not necessary with a fresh Ubuntu installation.

sudo rm /etc/init.d/couchpotato
sudo rm /etc/default/couchpotato
sudo update-rc.d -f couchpotato remove

Go to the CouchPotato folder.

cd ~/.couchpotato/init

Copy startup script.

sudo cp ~/.couchpotato/init/ubuntu /etc/init.d/couchpotato
sudo chmod +x /etc/init.d/couchpotato

Now edit the startup script.

sudo nano ~/.couchpotato/init/ubuntu.default

Find and replace. Change this. Note CP_USER must be your own username.

Press CTR + X key. And then the ykey. To save this file.

CP_HOME=/home/user/.couchpotato/
CP_DATA=/home/user/.couchpotato/
CP_USER=user
CP_PIDFILE=/home/user/.couchpotato/couchpotato.pid

Now copy the CouchPotato init.d script.

sudo cp ~/.couchpotato/init/ubuntu.default /etc/default/couchpotato

We now need to make sure that the file is executable.

sudo chmod +x /etc/default/couchpotato

Update autostart now. With CocuhPotato.

sudo update-rc.d couchpotato defaults

You’re done now. And you can test this. By restarting Ubuntu with the following.

sudo reboot

Now you can access CouchPotato via http://localhost:5050 .And you can start configuring CouchPotato.

CouchPotato tutorial Ubuntu

  1. CouchPotato tutorial
  2. Install Ubuntu CouchPotato
  3. Configure Couchpotato to automatically download movies
  4. Download movies with CouchPotato via an app

Be the first to comment

Leave a Reply