{"id":765,"date":"2024-04-17T22:55:15","date_gmt":"2024-04-17T20:55:15","guid":{"rendered":"https:\/\/blog.gentz.com.de\/bloggentz\/?p=765"},"modified":"2024-04-17T22:57:10","modified_gmt":"2024-04-17T20:57:10","slug":"tutorial-update-installing-tvheadend-on-ubuntu-22-04-lts","status":"publish","type":"post","link":"https:\/\/gentz.cloud\/?p=765","title":{"rendered":"TUTORIAL UPDATE: Installing TVHeadend on Ubuntu 22.04"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Based on the previous post <a href=\"https:\/\/blog.gentz.com.de\/bloggentz\/?p=407\" data-type=\"post\" data-id=\"407\">TUTORIAL: Installing TVHeadend on Ubuntu 20.04 LTSR<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The TVHeadend needed an update, so I updated the entire system to Ubuntu 22.04. I found help for this in a <a href=\"https:\/\/www.linuxsat-support.com\/thread\/153679-oscam-icam-tvheadend\/\" target=\"_blank\" rel=\"noreferrer noopener\">forum<\/a>. To save you the trouble of reading through it, I&#8217;ll summarize the solution briefly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this, we need the file <a href=\"https:\/\/www.linuxsat-support.com\/thread\/153679-oscam-icam-tvheadend\/?postID=684146#post684146\">libdvbcsa.patch<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, enter the following in the CLI:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt-get -y install automake cmake libtool git build-essential pkg-config gettext libavahi-client-dev zlib1g-dev wget bzip2 git-core liburiparser-dev debhelper ccache dvb-apps libssl-dev libpcre2-dev python3 python3-requests libtheora-dev libiconv-hook-dev libiconv-hook1 libhdhomerun-dev libavfilter-dev libswscale-dev libavcodec-dev libavutil-dev libavformat-dev libx264-dev libx265-dev libvpx-dev libopus-dev libvorbis-dev libva-dev\n\ngit clone https:\/\/github.com\/glenvt18\/libdvbcsa.git\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Now, the patch file needs to be placed in the &#8220;libdvbcsa&#8221; folder, and then you can proceed from here:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncd libdvbcsa\ngit config apply.whitespace nowarn\ngit apply libdvbcsa.patch\n.\/bootstrap\n.\/configure\nmake\nsudo make install\ncd\n\nsudo apt-get install libdvbcsa-dev #otherwise tvheadend won&#039;t be build#\n\ngit clone https:\/\/github.com\/tvheadend\/tvheadend.git\ncd tvheadend\n\n#building#\n\nAUTOBUILD_CONFIGURE_EXTRA=&quot;\\\n  --python=python3 \\\n  --disable-ffmpeg_static \\\n  --enable-bundle \\\n  --enable-ccache \\\n  --disable-libfdkaac_static \\\n  --disable-libopus_static \\\n  --disable-libtheora_static \\\n  --disable-libvorbis_static \\\n  --disable-libvpx_static \\\n  --disable-libx264_static \\\n  --disable-libx265_static \\\n  --disable-hdhomerun_static \\\n  --enable-hdhomerun_client \\\n  --enable-dvbcsa \\\n  --enable-libtheora \\\n  --enable-libav \\\n  --enable-libopus \\\n  --enable-libvorbis \\\n  --enable-libvpx \\\n  --enable-libx264 \\\n  --enable-libx265 \\\n  --disable-libfdkaac \\\n  --disable-pngquant \\\n  --disable-dvben50221 \\\n  --disable-dvbscan \\\n  --release&quot; .\/Autobuild.sh -t raspiosbookworm-aarch64\n\ncd\n\nsudo apt-get remove libdvbcsa-dev \n#don&#039;t know if this is nessesary, works also without removing#\n\nsudo cp \/usr\/local\/lib\/libdvbcsa.so.1.0.1 \/usr\/lib\/aarch64-linux-gnu\n\n#finally installing tvheadend#\n\nsudo dpkg -i *.deb\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><br>Done, after that, the TVHeadend server will be ready in the latest version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Based on the previous post TUTORIAL: Installing TVHeadend on Ubuntu 20.04 LTSR The TVHeadend needed an update, so I updated the entire system to Ubuntu 22.04. I found help for this in a forum. To save you the trouble of reading through it, I&#8217;ll summarize the solution briefly. For this, we need the file libdvbcsa.patch.<\/p><\/div>\n<div class=\"blog-btn\"><a href=\"https:\/\/gentz.cloud\/?p=765\" class=\"home-blog-btn\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-765","post","type-post","status-publish","format-standard","hentry","category-tips-ricks"],"_links":{"self":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=765"}],"version-history":[{"count":3,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/765\/revisions"}],"predecessor-version":[{"id":770,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/765\/revisions\/770"}],"wp:attachment":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}