{"id":11688,"date":"2019-09-16T09:55:50","date_gmt":"2019-09-16T07:55:50","guid":{"rendered":"https:\/\/nzbusenet.com\/install-couchpotato-via-command-line-ubuntu\/"},"modified":"2023-07-23T12:44:32","modified_gmt":"2023-07-23T10:44:32","slug":"install-couchpotato-via-command-line","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/install-couchpotato-via-command-line\/","title":{"rendered":"Install CouchPotato via command line Ubuntu &#8211; download movies"},"content":{"rendered":"\n<figure class=\"wp-block-image is-style-default\"><a href=\"https:\/\/nzbusenet.com\/wp-content\/uploads\/2012\/11\/couchporato.png\"><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"162\" src=\"https:\/\/nzbusenet.com\/wp-content\/uploads\/2012\/11\/couchporato-250x162.png\" alt=\"couchporato logo\" class=\"wp-image-1203\" title=\"\" srcset=\"https:\/\/nzbusenet.com\/wp-content\/uploads\/2012\/11\/couchporato-250x162.png 250w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2012\/11\/couchporato-150x97.png 150w, https:\/\/nzbusenet.com\/wp-content\/uploads\/2012\/11\/couchporato.png 320w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/figure>\n\n<p>In this CouchPotato Ubuntu manual. We are going to install CouchPotato via command line. On the lunix distribution Ubuntu. Next we will configure CouchPotato to download the desired films from the newsgroups.<\/p>\n\n<h2 class=\"wp-block-heading\">Install requirements CouchPotato<\/h2>\n\n<p>Before we install CouchPotato, Git and Python must be installed. If that is not yet the case. Then you can do that via the commands below. Usually Git and Python are already installed. Because you also need Python for SickBeard or other programs.<\/p>\n<div class='code-block code-block-8' style='margin: 8px 0; clear: both; width: 700px; height: 250px;'>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4833496329174552\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- nzbusenetinberichten2021 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:700px;height:250px\"\n     data-ad-client=\"ca-pub-4833496329174552\"\n     data-ad-slot=\"6745544931\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get install git<\/p>\n\n\n\n<p>sudo apt-get install git-core python<\/p>\n<\/blockquote>\n\n<p>For both commands out. And enter your <strong>root password<\/strong>for each command. And then <strong>Enter<\/strong>.<\/p>\n\n<h2 class=\"wp-block-heading\">Install CouchPotato via command line<\/h2>\n\n<p>Now We are going to download CouchPotato. And we place it in the &#8220;.couchpotato&#8221; folder. Beware! The dot. The dot ensures that the folder is hidden.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd ~<br \/>git clone git:\/\/github.com\/RuudBurger\/CouchPotatoServer.git .couchpotato<\/p>\n<\/blockquote>\n\n<p>After CouchPotato has been downloaded. You can start CouchPotato with the following command.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>python .couchpotato\/CouchPotato.py<\/p>\n<\/blockquote>\n\n<p>CouchPotato is now installed. You can now access CouchPotato via &#8220;http:\/\/localhost:5050&#8221;.<\/p>\n\n<h2 class=\"wp-block-heading\">Start CouchPotato automatically when Ubuntu starts<\/h2>\n\n<p>To ensure that no old startup script is present. This is not necessary with a fresh Ubuntu installation.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo rm \/etc\/init.d\/couchpotato<br \/>sudo rm \/etc\/default\/couchpotato<br \/>sudo update-rc.d -f couchpotato remove<\/p>\n<\/blockquote>\n\n<p>Go to the CouchPotato folder.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd ~\/.couchpotato\/init<\/p>\n<\/blockquote>\n\n<p>We copy now. The startup script.<\/p>\n\n<p>sudo cp ~\/.couchpotato\/init\/ubuntu \/etc\/init.d\/couchpotato<br \/>sudo chmod +x \/etc\/init.d\/couchpotato<\/p>\n\n<p>We are going to edit the startup script.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano ~\/.couchpotato\/init\/ubuntu.default<\/p>\n<\/blockquote>\n\n<p>Adjust the rules below. Beware <strong>CP_USER <\/strong>Change this to your own username.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>CP_HOME=\/home\/user\/.couchpotato\/<br \/>CP_DATA=\/home\/user\/.couchpotato\/<br \/>CP_USER=user<br \/>CP_PIDFILE=\/home\/user\/.couchpotato\/couchpotato.pid<\/p>\n<\/blockquote>\n\n<p>Press the <strong>CTR + X<\/strong> key simultaneously. And then the <strong>y<\/strong> key to save this file.<\/p>\n\n<p>Copy the CouchPotato init.d file<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo cp ~\/.couchpotato\/init\/ubuntu.default \/etc\/default\/couchpotato<\/p>\n<\/blockquote>\n\n<p>Now make the file executable.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chmod +x \/etc\/default\/couchpotato<\/p>\n<\/blockquote>\n<div class='code-block code-block-8' style='margin: 8px 0; clear: both; width: 700px; height: 250px;'>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4833496329174552\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- nzbusenetinberichten2021 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:700px;height:250px\"\n     data-ad-client=\"ca-pub-4833496329174552\"\n     data-ad-slot=\"6745544931\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div>\n\n\n<p>Update autostart for CocuhPotato.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo update-rc.d couchpotato defaults<\/p>\n<\/blockquote>\n\n<p>You&#8217;re done now. You can test this by restarting Ubuntu with the following.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo reboot<\/p>\n<\/blockquote>\n\n<p>Now you can access CouchPotato via http:\/\/localhost:5050 and you can start configuring CouchPotato.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In this CouchPotato Ubuntu manual. We are going to install CouchPotato via command line. On the lunix distribution Ubuntu. Next we will configure CouchPotato to download the desired films from the newsgroups. Install requirements CouchPotato <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/install-couchpotato-via-command-line\/\" title=\"Install CouchPotato via command line Ubuntu &#8211; download movies\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":50765,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[562],"tags":[],"class_list":{"0":"post-11688","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-couchpotato-tutorial-overview"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2013\/10\/CouchPotato-installeren-via-command-line-Ubuntu-films-downloaden.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/11688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/users\/12223"}],"replies":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/comments?post=11688"}],"version-history":[{"count":0,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/11688\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/50765"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=11688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=11688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=11688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}