8

When I try to install libtiff on my 64-bit Ubuntu, I get the following error:

sudo apt-get install libtiff
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libtiff is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libtiff' has no installation candidate
ubuntu@ip-10-119-97-123:/mnt$ libtiff-memcached

libtiff-memcached: command not found
Tim
  • 33,500
marwa
  • 91

6 Answers6

11

libtiff has no installation candidate. Your choices are:

  • For Ubuntu 23.04-24.10

    sudo apt install libtiff6

  • For Ubuntu 14.04-22.04

    sudo apt install libtiff5

  • For Ubuntu 12.04-13.10

    sudo apt-get install libtiff4

karel
  • 122,292
  • 133
  • 301
  • 332
5

If like me, you may be looking for the utils:

sudo apt-get install libtiff-tools
tniles
  • 284
  • 2
  • 7
3

I had a similar issue. So what solved it for me was to do:

sudo apt-get install libtiff-dev
Tukk
  • 31
1

libtiff4 was upto 13.10 and 14.04 provides libtiff5.
To install it nonetheless, go to the download page and select libtiff4_3.9.7-2ubuntu1_amd64.deb. Open terminal and, in the folder you downloaded the file, write:

sudo dpkg -i libtiff4_3.9.7-2ubuntu1_amd64.deb

libtiff5 and libtiff4 are co-installable, so it will not write over the files of libtiff5.

0

Whenever you are trying to find a package you don't know a name of but since you already knew something like libtiff to try to run

`apt-cache search libtiff`

or

apt-cache search libtiff*

This will show you all possible options which you might want to install from, The error no installation candidate simply means that it can't find exact package with that name, so you can search from all the possible packages and get what you want. hope this helps.

If this doesn't work, sure can go for dpkg packages as already shown above.

0
sudo apt-get update
sudo apt-get install libtiff4

These commands will install libtiff on your 64 bit machine. You can use http://packages.ubuntu.com/ to search for the packages you need. In this case, it is http://packages.ubuntu.com/precise/libtiff4

thefourtheye
  • 4,922
  • 2
  • 26
  • 32