{"id":589,"date":"2015-05-30T11:09:34","date_gmt":"2015-05-30T16:09:34","guid":{"rendered":"http:\/\/ebixio.com\/blog\/?p=589"},"modified":"2019-01-23T18:58:25","modified_gmt":"2019-01-23T23:58:25","slug":"digikam-4-10-on-ubuntu-14-04","status":"publish","type":"post","link":"http:\/\/ebixio.com\/blog\/2015\/05\/30\/digikam-4-10-on-ubuntu-14-04\/","title":{"rendered":"DigiKam 4.10 on Ubuntu 14.04"},"content":{"rendered":"<p>These are the steps I found are required to install DigiKam v4.10 on Ubuntu. In my case I ran into problems with libavcodec (ffmpeg\/libav) and issues stemming from the ffmpeg project fork. YMMV.<\/p>\n<p>First install digikam:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nadd-apt-repository ppa:philip5\/extra\r\napt-get update\r\napt-get install digikam\r\n<\/pre>\n<p>At this point everything should have worked nicely. Unfortunately digikam (version: 4:4.10.0-trusty~ppa3) wouldn&#8217;t start up. Running it from the command line showed that I was missing libavcodec.so.53. To confirm:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nldd \/usr\/bin\/digikam | grep libavcodec\r\n<\/pre>\n<p>The normal solution to this would have been:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\napt-get install libavcodec-extra-53\r\n<\/pre>\n<p>But life is not that simple. Ubuntu deprecated and removed libavcodec-extra-53 and claims libav-tools should be used instead. libav-tools however doesn&#8217;t include a libavcodec.so.53 file, so after a bit of hunting around, I decided to just build it from source. Here are the steps:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ngit clone git:\/\/source.ffmpeg.org\/ffmpeg.git\r\ncd ffmpeg\r\ngit checkout -b ver53 dd453f\r\n.\/configure --prefix=\/usr\/local --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avdevice --disable-swresample --disable-swscale --disable-postproc --disable-avfilter --enable-shared --disable-debug --enable-gpl --enable-x11grab\r\nmake\r\nsudo su -\r\ncheckinstall\r\nldconfig\r\n<\/pre>\n<p>After this, digikam started up properly.<\/p>\n<h4>Notes:<\/h4>\n<p><code lang=\"bash\" inline=\"on\">gitk --all libavcodec\/version.h<\/code> shows that after the <strong>dd453f<\/strong> commit the libavcodec version changes to 54, so that&#8217;s why that commit was used.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are the steps I found are required to install DigiKam v4.10 on Ubuntu. In my case I ran into problems with libavcodec (ffmpeg\/libav) and issues stemming from the ffmpeg project fork. YMMV. First install digikam: add-apt-repository ppa:philip5\/extra apt-get update apt-get install digikam At this point everything should have worked nicely. Unfortunately digikam (version: 4:4.10.0-trusty~ppa3) [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-589","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/posts\/589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/comments?post=589"}],"version-history":[{"count":4,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/posts\/589\/revisions"}],"predecessor-version":[{"id":704,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/posts\/589\/revisions\/704"}],"wp:attachment":[{"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/media?parent=589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/categories?post=589"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ebixio.com\/blog\/wp-json\/wp\/v2\/tags?post=589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}