Archives For Hugin

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 installs on most Linux, but it takes more disk space for run-time libraries!

Firstly, open terminal by searching it from the ‘Activities’ overview screen (or press Ctrl+Alt+T on keyboard):

When terminal opens, run the command below to install the daemon package first:

sudo apt update && sudo apt install flatpak

And finally install Hugin as flatpak using command:

flatpak install https://dl.flathub.org/repo/appstream/net.sourceforge.Hugin.flatpakref

As you see, the flatpak package will also install run-time libraries that take more disk space.

Option 2: Non-install AppImage package

There’s a non-install AppImage package available for Hugin. No installation required, just add executable permission and run the file will launch the tool.

Download the latest Hugin AppImage:

Then, give executable permission in file properties dialog and finally right-click run it to launch the app:

Option 2: Hugin PPA

For those prefer the classic .deb package, I’ve upload the package as well as dependencies into this Ubuntu PPA.

NOTE: Don’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!

1. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Type user password when it asks (no asterisk feedback) and hit Enter to continue.

2. Next, install the panorama photo stitcher by running the apt command below:

sudo apt install hugin

For Linux Mint and other Ubuntu based systems, you may need to run sudo apt update to refresh cache first.

How to Remove Hugin in Ubuntu 22.04

For the Flatpak package, uninstall it via command:

flatpak uninstall --delete-data net.sourceforge.Hugin

And remove unused run-times via flatpak uninstall --unused.

To remove Hugin PPA package, run the command below in terminal:

sudo apt remove --autoremove hugin

And remove the Ubuntu PPA using command:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/apps

Hugin panorama stitcher has reached the 2018.0.0 release. Here’s how to install it in Ubuntu 16.04, Ubuntu 17.10.

Hugin 2018.0 is mainly a bug fix release and introduce some minor new features.

  • Several improvements for optimizer tabs:
    • mark deselected images
    • allow changing optimizer variables for all selected images at once
    • option to ignore line cp
  • hugin_stacker: New tool to stack overlapping images with several averaging modes (e.g. mean, median).
  • Added option to disable auto-rotation of images in control point and mask editor.
  • Nona, verdandi and hugin_stacker can now write BigTIFF images (for files >4 GB). The output of BigTIFF has to manually activated on the command line.
  • Added expression parser to GUI: This allows to manipulate several image variables at once.
  • Add user-defined assistant and expose it in the GUI. It allows to set up different assistant strategies without the need to recompiling.

How to Install Hugin 2018.0 in Ubuntu:

The new release has been made into Ubuntu 18.04 main archive. For Ubuntu 16.04 and Ubuntu 17.10, you can install it temporarily via following steps while Hugin PPA is not updated.

1. Open terminal either via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. When it opens, run command to add PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Input your password (no visual feedback while typing) when it prompts and hit Enter to continue.

2. Then run commands to check updates and install Hugin 2018:

sudo apt-get update

sudo apt-get install hugin

or upgrade it via Software Updater if a previous release was installed.

Uninstall:

To remove PPA, launch Software & Updates and navigate to ‘Other Software’ tab.

To remove Hugin panorama stitcher, run command in terminal:

sudo apt-get remove --autoremove hugin hugin-tools

The 2018.0 release of the open-source Hugin Panorama photo stitcher reached the first beta release a day ago.

Changes in Hugin 2018.0 include:

  • Several improvements for optimizer tabs (mark deselected images, allow changing optimizer variables for all selected images at once, option to ignore line cp)
  • hugin_stacker: New tool to stack overlapping images.
  • Hugin: Added option to disable auto-rotation of images in control point and mask editor.
  • Nona, verdandi and hugin_stacker can now write BigTIFF images (for files >4 GB).
  • Added expression parser to GUI: This allows to manipulate several image variables at once. (This is the same as running pto_var –set from the command line.)
  • Add user-defined assistant and expose it in the GUI. It allows to set up different assistant stategies without the need to recompiling. Provide also some examples (scanned images, multi-row panoramas with orphaned images, single-shot panorama
    cameras).

Download Hugin 2018.0 Beta:

The source tarball, Windows and Mac OS packages are available for download at the link below:

Download Hugin

For Ubuntu, Hugin Packages team offers three PPAs, though the Beta build is not available at the moment.

The Hugin panorama photo stitcher has reached the 2017.0.0 release. The official Ubuntu binary packages are now available via its PPA repository for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, Ubuntu 17.10, and derivatives.

Hugin is an easy to use cross-platform panoramic imaging toolchain based on Panorama Tools. With it, you can assemble a mosaic of photographs into a complete immersive panorama, stitch any series of overlapping pictures and much more.

The latest version 2017.0.0 is mainly a bug fix release. Changes include:

  • Several fixes for working with HDR images
  • Fixes handling of masks in cpfind when images needs remapping for cp finding.
  • Sometimes unsaved changes were disregarded without asking the user. Unsaved changes should now always require user confirmation.
  • Added special assistant variant for single image projects.
  • Display of final panorama dimensions on stitcher tab.
  • Extended the user defined output sequences
  • Use wxWidgets help windows instead of default browser
  • Other small improvements and translation updates.

How to install Hugin 2017 via PPA in Ubuntu:

1. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run command to add the official PPA:

sudo add-apt-repository ppa:hugin/hugin-builds

Type in your password when prompts and hit Enter

2. Then launch Software Updater and upgrade the software after checking for updates.

How to Restore:

To revert back to the stock version of Hugin packages in your Ubuntu, purge the PPA via command:

sudo apt install ppa-purge && sudo ppa-purge ppa:hugin/hugin-builds