{"id":283,"date":"2014-10-26T05:34:08","date_gmt":"2014-10-26T04:34:08","guid":{"rendered":"http:\/\/www.dereckson.be\/blog\/?p=283"},"modified":"2014-10-26T06:26:19","modified_gmt":"2014-10-26T05:26:19","slug":"install-final-term-on-debian","status":"publish","type":"post","link":"https:\/\/www.dereckson.be\/blog\/2014\/10\/26\/install-final-term-on-debian\/","title":{"rendered":"Install Final Term on Debian"},"content":{"rendered":"<p><a title=\"Final Term\" href=\"http:\/\/finalterm.org\/\"><strong>Final Term<\/strong><\/a> is a new terminal application, <a title=\"Commits\" href=\"https:\/\/github.com\/p-e-w\/finalterm\/commits\/master\">currently under development<\/a>,\u00a0 written in <a href=\"https:\/\/live.gnome.org\/Vala\">Vala<\/a> and built on top of <a href=\"http:\/\/www.gtk.org\">GTK+ 3<\/a>, <a href=\"http:\/\/blogs.gnome.org\/clutter\/\">Clutter<\/a> and <a href=\"https:\/\/github.com\/clutter-project\/mx\">Mx<\/a>.<\/p>\n<figure id=\"attachment_329\" aria-describedby=\"caption-attachment-329\" style=\"width: 897px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.dereckson.be\/blog\/wp-content\/uploads\/2014\/10\/FinalTerm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-329 size-full\" src=\"https:\/\/www.dereckson.be\/blog\/wp-content\/uploads\/2014\/10\/FinalTerm.png\" alt=\"Screenshot of Final Term on Debian Jessie.\" width=\"897\" height=\"598\" srcset=\"https:\/\/www.dereckson.be\/blog\/wp-content\/uploads\/2014\/10\/FinalTerm.png 897w, https:\/\/www.dereckson.be\/blog\/wp-content\/uploads\/2014\/10\/FinalTerm-300x200.png 300w\" sizes=\"auto, (max-width: 897px) 100vw, 897px\" \/><\/a><figcaption id=\"caption-attachment-329\" class=\"wp-caption-text\">Screenshot of Final Term on Debian Jessie. The bottom bar is from tmux.<\/figcaption><\/figure>\n<p>If you can install it easily under Ubuntu <a title=\"Daily PPA package for Final Term on Launchpad\" href=\"https:\/\/launchpad.net\/~finalterm\/+archive\/ubuntu\/daily\">through a PPA package<\/a>, it&#8217;s not the case for every OS. It&#8217;s packaged for <a href=\"http:\/\/copr.fedoraproject.org\/coprs\/mattdm\/finalterm\/\">Fedora and downstream<\/a>. It&#8217;s also available in Linux distribution with alternative packages repositories for second-class citizen or denizens packages <a href=\"https:\/\/aur.archlinux.org\/packages\/finalterm-git\/\">in Arch AUR<\/a>,\u00a0and for Gentoo as <a href=\"http:\/\/git.overlays.gentoo.org\/gitweb\/?p=proj\/sunrise-reviewed.git;a=tree;f=x11-terms\/finalterm;hb=HEAD\">a Project SunRise ebuild<\/a>. These links have been prepared as writing time, and they don&#8217;t really look as permanent URLs.<\/p>\n<p>Let&#8217;s see how to install it on Debian.<\/p>\n<p><!--more--><\/p>\n<h2>Install\u00a0 Final Term on Debian Wheezy<\/h2>\n<p>If you&#8217;re under <strong>Debian Wheezy or below<\/strong>, the relevant packages doesn&#8217;t provide a recent glib version, and upgrade this unique package would trigger too many dependencies (GNOME for example), so it could be interesting to <a title=\"How to upgrade Debian stable (Wheezy) to testing (Jessie)?\" href=\"http:\/\/unix.stackexchange.com\/a\/90391\/31579\">update all the system to Jessie, the current testing version<\/a>.<\/p>\n<h2>Install\u00a0 Final Term on Debian Jessie<\/h2>\n<p>If you&#8217;re under <strong>Jessie<\/strong> or an up to date <strong>Sid<\/strong>, all is fine.<\/p>\n<h2>Installation procedure<\/h2>\n<h3>Required dependencies<\/h3>\n<p>The following dependencies are needed to compile Final Term:<\/p>\n<ul>\n<li>valac<\/li>\n<li>cmake<\/li>\n<li>intltool<\/li>\n<li>libnotify-dev<\/li>\n<li>libclutter-gtk-1.0-dev <small>(this one will pull a lot of dependencies)<\/small><\/li>\n<li>libmx-dev <small>(will pull a few other lib dependencies too)<\/small><\/li>\n<li>libkeybinder-3.0-dev<small> (not available on Wheezy)<\/small><\/li>\n<li>libgee-0.8-dev <small>(not available onWheezy)<\/small><\/li>\n<\/ul>\n<p>In a oneliner, this means:<\/p>\n<pre>apt-get install valac cmake intltool libnotify-dev libclutter-gtk-1.0-dev libmx-dev libkeybinder-3.0-dev libgee-0.8-dev<\/pre>\n<p>So the blocker for Debian Wheezy are libgee-dev and libkeybinder-dev. For example, 0.8 is required for libgee (0.6 offered). You could consider to install a <a href=\"https:\/\/launchpad.net\/~vala-team\/+archive\/ubuntu\/ppa\/+packages\">0.8 .deb on testing or Ubuntu PPA<\/a>, but they require an up to date glib version, so it&#8217;s probably not a good solution.<\/p>\n<p><strong>Note:<\/strong> libunity-dev isn&#8217;t required, as you don&#8217;t need to integrate with the Unity launcher.<\/p>\n<h3>Compile Final Term<\/h3>\n<p>Final Term source is available on GitHub and compiles easily with Vala:<\/p>\n<p><code>git clone https:\/\/github.com\/p-e-w\/finalterm.git<br \/>\nmkdir finalterm\/build<br \/>\ncd finalterm\/build<br \/>\ncmake ..<br \/>\nmake<br \/>\n<\/code><\/p>\n<p>Stop at the <code>cmake ..<\/code> step the time needed\u00a0 ensure you have all the dependencies.<\/p>\n<p>You now have in your build folder a compiled finalterm executable and all the support files.<\/p>\n<h3>Install it<\/h3>\n<p>To install it with \/usr\/local as prefix (the default setting):<\/p>\n<pre>cmake -P cmake_install.cmake<\/pre>\n<p>To install it into another folder as prefix, set the CMAKE_INSTALL_PREFIX:PATH variable. For example to use \/usr as prefix and so get the executable in \/usr\/bin:<\/p>\n<pre>cmake -DCMAKE_INSTALL_PREFIX:PATH=\/usr\r\ncmake -P cmake_install.cmake<\/pre>\n<h3>Package it<\/h3>\n<p>The <a href=\"http:\/\/copr-be.cloud.fedoraproject.org\/results\/mattdm\/finalterm\/\">Fedora package build logs<\/a> could be useful to understand the logic. It&#8217;s from this log I extracted the installation command and how to customize the prefix for example.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Final Term is a new terminal application, currently under development,\u00a0 written in Vala and built on top of GTK+ 3, Clutter and Mx. If you can install it easily under Ubuntu through a PPA package, it&#8217;s not the case for every OS. It&#8217;s packaged for Fedora and downstream. It&#8217;s also available in Linux distribution with [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[202,203,205,204],"class_list":["post-283","post","type-post","status-publish","format-standard","hentry","category-sysadmin","tag-debian","tag-final-term","tag-howto","tag-terminal"],"_links":{"self":[{"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/posts\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":13,"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"predecessor-version":[{"id":326,"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/posts\/283\/revisions\/326"}],"wp:attachment":[{"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dereckson.be\/blog\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}