{"id":39188,"date":"2022-04-27T13:30:23","date_gmt":"2022-04-27T13:30:23","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=39188"},"modified":"2022-04-27T13:30:23","modified_gmt":"2022-04-27T13:30:23","slug":"hugin-panorama-stitcher-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/04\/hugin-panorama-stitcher-ubuntu-22-04\/","title":{"rendered":"How to Install Hugin Panorama Stitcher in Ubuntu 22.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-thumbnail wp-image-36587\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>The hugin package is removed from Ubuntu 22.04 repository. For those need this free open-source panorama stitcher, here are <b>3 alternative methods<\/b> to install it back. Just choose the one that you prefer.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-panorama-switcher.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-panorama-switcher-600x331.webp\" alt=\"\" width=\"600\" height=\"331\" class=\"alignnone size-large wp-image-36588\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-panorama-switcher-600x331.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-panorama-switcher-300x165.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-panorama-switcher-768x423.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/hugin-panorama-switcher.webp 1208w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Option 1: Hugin Flatpak package<\/h3>\n<p>The panoramic photo stitcher is available as the universal Flatpak package than runs in sandbox.<\/p>\n<p><b>Flatpak package installs on most Linux, but it takes more disk space for run-time libraries!<\/b><\/p>\n<p>Firstly, open terminal by searching it from the &#8216;Activities&#8217; overview screen (or press Ctrl+Alt+T on keyboard):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy.png\" alt=\"\" width=\"522\" height=\"299\" class=\"alignnone size-full wp-image-38555\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy.png 522w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy-300x172.png 300w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/p>\n<p>When terminal opens, run the command below to install the daemon package first:<\/p>\n<pre>sudo apt update && sudo apt install flatpak<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp\" alt=\"\" width=\"600\" height=\"229\" class=\"alignnone size-large wp-image-39141\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-300x115.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-768x294.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp 777w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>And finally install Hugin as flatpak using command:<\/p>\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/net.sourceforge.Hugin.flatpakref<\/pre>\n<p>As you see, the flatpak package will also install run-time libraries that take more disk space.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/flatpak-hugin-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" class=\"alignnone size-large wp-image-39190\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/flatpak-hugin-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/flatpak-hugin-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/flatpak-hugin-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/flatpak-hugin.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3>Option 2: Non-install AppImage package<\/h3>\n<p>There&#8217;s a non-install AppImage package available for Hugin. <b>No installation required, just add executable permission and run the file will launch the tool.<\/b><\/p>\n<p>Download the latest Hugin AppImage:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/github.com\/aferrero2707\/hugin-appimage\/releases\/tag\/continuous\" target=\"_blank\" rel=\"noreferrer noopener\">Download Hugin AppImage<\/a><\/div>\n<\/div>\n<p>Then, give executable permission in file properties dialog and finally right-click run it to launch the app:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/hugin-appimage.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/hugin-appimage-600x382.webp\" alt=\"\" width=\"600\" height=\"382\" class=\"alignnone size-large wp-image-39191\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/hugin-appimage-600x382.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/hugin-appimage-300x191.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/hugin-appimage-768x489.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/hugin-appimage.webp 1116w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Option 2: Hugin PPA<\/h3>\n<p>For those prefer the classic <code>.deb<\/code> package, I&#8217;ve upload the package as well as dependencies into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/apps\" rel=\"noopener\" target=\"_blank\">Ubuntu PPA<\/a>.<\/p>\n<p><b>NOTE: Don&#8217;t know why Ubuntu 22.04 removed the package, but it still present in all Debian repositories. And the package in this PPA is just a backport from Debian Unstable. Use it at your own risk!<\/b> <\/p>\n<p>1. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/apps<\/pre>\n<p><i>Type user password when it asks (no asterisk feedback) and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/jammy-appsppa-600x319.webp\" alt=\"\" width=\"600\" height=\"319\" class=\"alignnone size-large wp-image-39192\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/jammy-appsppa-600x319.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/jammy-appsppa-300x160.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/jammy-appsppa-768x408.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/jammy-appsppa.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>2. Next, install the panorama photo stitcher by running the apt command below:<\/p>\n<pre>sudo apt install hugin<\/pre>\n<p>For Linux Mint and other Ubuntu based systems, you may need to run <code>sudo apt update<\/code> to refresh cache first.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-hugin-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" class=\"alignnone size-large wp-image-39193\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-hugin-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-hugin-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-hugin-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-hugin.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3>How to Remove Hugin in Ubuntu 22.04<\/h3>\n<p>For the Flatpak package, uninstall it via command:<\/p>\n<pre>flatpak uninstall --delete-data net.sourceforge.Hugin<\/pre>\n<p>And remove unused run-times via <code>flatpak uninstall --unused<\/code>.<\/p>\n<p>To remove Hugin PPA package, run the command below in terminal:<\/p>\n<pre>sudo apt remove --autoremove hugin<\/pre>\n<p>And remove the Ubuntu PPA using command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/apps<\/pre>","protected":false},"excerpt":{"rendered":"<p>The hugin package is removed from Ubuntu 22.04 repository. For those need this free open-source panorama stitcher, here are 3 alternative methods to install it back. Just choose the one that you prefer. Option 1: Hugin Flatpak package The panoramic photo stitcher is available as the universal Flatpak package than runs in sandbox. Flatpak package [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36587,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1473],"class_list":["post-39188","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-hugin"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/39188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=39188"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/39188\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/36587"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=39188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=39188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=39188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}