Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
share|improve this question

libtiff has no installation candidate. Your choices are:

sudo apt-get install libtiff4

for Ubuntu 12.04, 12.10, 13.04, and 13.10 ... or

sudo apt-get install libtiff5

for Ubuntu 14.04, 15.04 and 15.10.

You can also install libtiff4 and libtiff5 from the Ubuntu Software Center.

share|improve this answer
    
When I do that it tells me "libtiff5 is already the newest version" but then when look what happens when I do this: >>> from libtiff import TIFF Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'libtiff' – Dirk Haupt Feb 11 at 21:12
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.

share|improve this answer

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

sudo apt-get install libtiff-tools
share|improve this answer
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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.