How to install Phototonic in Ubuntu 17.04

How to install Phototonic in Ubuntu 17.04

Phototonic is an image viewer and organizer for Linux written in C++ and Qt5. It is a light weight with smooth user interface and does not depend on any desktop environment. It also supports several customized thumbnail layouts. This tutorial explains the installation procedure of Phototonic on Ubuntu 17.04.

To know more about the installation procedure of phototonic on Debian 8.3, visit

https://www.linuxhelp.com/how-to-install-phototonic-on-debian-8-3/

Installation procedure

To start the installation procedure, first add the repo by executing the following command in the target system.

root@linuxhelp1:~# add-apt-repository ppa:dhor/myway
 Every photographer needs some tools...
 More info: https://launchpad.net/~dhor/+archive/ubuntu/myway
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox ' /tmp/tmpmvehva6r/pubring.gpg'  created
gpg: /tmp/tmpmvehva6r/trustdb.gpg: trustdb created
gpg: key E2B7D64D93330B78: public key " Launchpad PPA for Dariusz Duma"  imported
gpg: Total number processed: 1
gpg:               imported: 1
OK

Next update the apt source by executing the apt-get update command.

root@linuxhelp1:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu zesty InRelease                     
Get:2 http://ppa.launchpad.net/dhor/myway/ubuntu zesty InRelease [15.4 kB]    
Hit:3 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease             
Hit:4 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease           
Hit:5 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu zesty InRelease
Hit:6 http://ppa.launchpad.net/thomas-schiex/blender/ubuntu zesty InRelease   
Hit:7 http://ppa.launchpad.net/webupd8team/atom/ubuntu zesty InRelease        
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu zesty InRelease        
Get:9 http://ppa.launchpad.net/dhor/myway/ubuntu zesty/main i386 Packages [2,956 B]
Get:10 http://ppa.launchpad.net/dhor/myway/ubuntu zesty/main amd64 Packages [2,952 B]
Get:11 http://ppa.launchpad.net/dhor/myway/ubuntu zesty/main Translation-en [2,080 B]
Hit:12 http://security.ubuntu.com/ubuntu zesty-security InRelease             
Fetched 23.4 kB in 3s (6,201 B/s)                    
Reading package lists... Done

The target system is updated with the required repositories. Install the phototonic application by running the following command.

root@linuxhelp1:~# apt-get install phototonic
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

While installing the phototonic application, a lock may appear hindering the installation process. Execute the rm -rf command to remove the lock on a resource and continue with the installation process.

root@linuxhelp1:~# rm -rf /var/lib/dpkg/lock

Then install phototonic package by running the following command.

root@linuxhelp1:~# apt-get install phototonic
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  libwebpdemux2 qt5-image-formats-plugins
The following NEW packages will be installed:
  libwebpdemux2 phototonic qt5-image-formats-plugins
0 upgraded, 3 newly installed, 0 to remove and 70 not upgraded.
Need to get 317 kB of archives.
After this operation, 1,182 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu zesty/main amd64 libwebpdemux2 amd64 0.5.2-1 [9,666 B]
Get:2 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 qt5-image-formats-plugins amd64 5.7.1~20161021-2build1~1 [57.4 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 phototonic amd64 1.7.20-1 [250 kB]
Fetched 317 kB in 12s (25.7 kB/s)                                             
Selecting previously unselected package libwebpdemux2:amd64.
(Reading database ... 172603 files and directories currently installed.)
Preparing to unpack .../libwebpdemux2_0.5.2-1_amd64.deb ...
Unpacking libwebpdemux2:amd64 (0.5.2-1) ...
Selecting previously unselected package qt5-image-formats-plugins:amd64.
Preparing to unpack .../qt5-image-formats-plugins_5.7.1~20161021-2build1~1_amd64.deb ...
Unpacking qt5-image-formats-plugins:amd64 (5.7.1~20161021-2build1~1) ...
Selecting previously unselected package phototonic.
Preparing to unpack .../phototonic_1.7.20-1_amd64.deb ...
Unpacking phototonic (1.7.20-1) ...
Setting up phototonic (1.7.20-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.24-9ubuntu2) ...
Setting up libwebpdemux2:amd64 (0.5.2-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up qt5-image-formats-plugins:amd64 (5.7.1~20161021-2build1~1) ...
Processing triggers for libc-bin (2.24-9ubuntu2) ...

The application is installed successfully. To open the application, type the package name in the ubuntu dashboard and click on the icon to run the application.

The application is running in Ubuntu. Now the user can use the application for various photo viewing purposes.

Wasn' t that an easy installation procedure? Phototonic loads thumbnails dynamically and enables faster browsing between large folders.

FAQ
Q
which command to install the phototonic in ubuntu?
A
Install the phototonic application by running the following command
# apt-get install phototonic
Q
what is the use of installing the phototonic in ubuntu?
A
Phototonic is an image viewer and organizer for Linux written in C++ and Qt5. It is a light weight with smooth user interface and does not depend on any desktop environment. It also supports several customized thumbnail layouts. This tutorial explains the installation procedure of Phototonic on Ubuntu 17.04.
Q
what is the program code involved in Phototonic?
A
the program code involved in Phototonic are C++ and Qt5
Q
How to install Phototonic in debian?
A
refer the below link to install Phototonic in debian
https://www.linuxhelp.com/how-to-install-phototonic-on-debian-8-3/
Q
where to open the application of Phototonic in debian?
A
The application is installed successfully. To open the application, type the package name in the ubuntu dashboard and click on the icon to run the application.