{"id":10035,"date":"2019-06-05T08:25:47","date_gmt":"2019-06-05T06:25:47","guid":{"rendered":"https:\/\/nzbusenet.com\/install-lidarr-ubuntu-via-the-command-line\/"},"modified":"2026-02-11T21:50:30","modified_gmt":"2026-02-11T20:50:30","slug":"lidarr-install-ubuntu-via-the-command-line","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/lidarr-install-ubuntu-via-the-command-line\/","title":{"rendered":"Install Lidarr Ubuntu via command line to download music"},"content":{"rendered":"\n<p>In this Lidarr install Ubuntu tutorial. We are going to install Lidarr on a Ubuntu Computer. So that your music is automatically downloaded from the newsgroups.<\/p>\n\n<p>Mono 5.8 or higher is required. Therefore, we are going to install this.<\/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<h2 class=\"wp-block-heading\">Install Lidarr Mono Ubuntu<\/h2>\n\n<p>We need a newer version of Mono. The standard Mono version that comes with Ubuntu. Is too old for Lidarr.<\/p>\n\n<p>We need to pick up the right key for Mono.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-key adv &#8211;keyserver hkp:\/\/keyserver.ubuntu.com:80 &#8211;recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF<\/p>\n<\/blockquote>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>echo &#8220;deb http:\/\/download.mono-project.com\/repo\/ubuntu xenial main&#8221; | sudo tee \/etc\/apt\/sources.list.d\/mono-official.list<\/p>\n<\/blockquote>\n\n<p>It is needed. That we do an update.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get update<\/p>\n<\/blockquote>\n\n<p>Now we are going to install Mono.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get install mono-devel<\/p>\n<\/blockquote>\n\n<p>Mono is now installed on your Ubuntu.<\/p>\n\n<h2 class=\"wp-block-heading\">Install Lidarr Ubuntu<\/h2>\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>Download the Lidar.tar.gz. Look at this site https:\/\/github.com\/lidarr\/Lidarr\/releases for the correct version.<\/p>\n\n<p>Download Lidarr. Pay close attention! It&#8217;s important to change the version number to the correct version you want to install. Make sure you choose the most recent version. <\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo wget https:\/\/github.com\/lidarr\/Lidarr\/releases\/download\/v0.5.0.583\/Lidarr.develop.0.5.0.583.linux.tar.gz<\/p>\n<\/blockquote>\n\n<p>Now we need to unpack Lidarr. Dit doen we door het gedownloade <code>Lidarr.tar.gz<\/code> bestand te extraheren naar de gewenste locatie op je systeem. <\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo tar -xzvf Lidarr.develop.0.5.0.583.linux.tar.gz<\/p>\n<\/blockquote>\n\n<p>Now let&#8217;s start Lidarr.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo mono &#8211;debug \/opt\/Lidarr\/Lidarr.exe<\/p>\n<\/blockquote>\n\n<p>Lidarr is now available on port 8686. You can now access Lidarr on http:\/\/localhost:8686.<\/p>\n\n<h2 class=\"wp-block-heading\">Start Lidarr automatically<\/h2>\n\n<p>To run Lidarr as a service on your system, you need to create a Lidarr service file. This file ensures that Lidarr starts automatically when your system boots and provides a standardized way to manage the application. <\/p>\n\n<p>Create a Lidarr user, and group.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>useradd -s \/bin\/false -d \/var\/lib\/lidarr\/ -r -m -U lidarr<\/p>\n<\/blockquote>\n\n<p>Now we set the correct permissions for the Lidarr folder so that the application can function correctly and access the necessary files.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>chown -R lidarr:lidarr \/opt\/Lidarr<br \/>chmod -R a=,a+X,u+rw,g+r \/opt\/Lidarr<\/p>\n<\/blockquote>\n\n<p>Create a service file for Lidarr.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano lidarr.service<\/p>\n<\/blockquote>\n\n<p>The following must be in this file.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>[Unit]<br \/>Description=Lidarr Daemon<br \/>After=network.target<\/p>\n\n\n\n<p>[Service]<br \/>User={User account for Lidarr}<br \/>Group={Group account for Lidarr}<br \/>Type=simple<br \/>ExecStart=\/usr\/bin\/mono \/opt\/Lidarr\/Lidarr.exe -nobrowser<br \/>TimeoutStopSec=20<br \/>KillMode=process<br \/>Restart=on-failure<br \/>[Install]<br \/>WantedBy=multi-user.target<\/p>\n<\/blockquote>\n\n<p>Save the file with <strong>ctrl + x<\/strong>. And <strong>y<\/strong> to confirm.<\/p>\n\n<p>Now move the service file to the correct location.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>mv lidarr.service \/etc\/systemd\/system\/<\/p>\n<\/blockquote>\n\n<p>We&#8217;ll be adding the Lidarr service to the system so it can be managed and started automatically along with the system. This allows Lidarr to run reliably without manual intervention. <\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>systemctl enable lidarr.service<\/p>\n<\/blockquote>\n\n<p>We start the Lidarr service.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>systemctl start lidarr.service<\/p>\n<\/blockquote>\n\n<p>You have now completed the installation of Lidarr on Ubuntu. And Lidarr is now started automatically during the startup of Ubuntu.<\/p>\n\n<p><strong>Lidarr tutorial Ubuntu<\/strong><\/p>\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/nzbusenet.com\/en\/lidarr-tutorial\/\">Lidarr tutorial<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/nzbusenet.com\/en\/lidarr-install-ubuntu-via-the-command-line\/\">Install Lidarr Ubuntu<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/nzbusenet.com\/en\/lidarr-configure-ubuntu-with-nzbget\/\">Configuring Lidarr Ubuntu<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/nzbusenet.com\/en\/ubuntu-lidarr-music-download\/\">Ubuntu Lidarr Music Download<\/a>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In this Lidarr install Ubuntu tutorial. We are going to install Lidarr on a Ubuntu Computer. So that your music is automatically downloaded from the newsgroups. Mono 5.8 or higher is required. Therefore, we are <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/lidarr-install-ubuntu-via-the-command-line\/\" title=\"Install Lidarr Ubuntu via command line to download music\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":49272,"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":[716],"tags":[],"class_list":{"0":"post-10035","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-lidarr-tutorial"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2019\/05\/Lidarr-installeren-Ubuntu-via-de-command-line-om-muziek-te-downloaden.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/10035","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=10035"}],"version-history":[{"count":2,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/10035\/revisions"}],"predecessor-version":[{"id":58036,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/10035\/revisions\/58036"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/49272"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=10035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=10035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=10035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}