How To Install python-tifffile on Debian 9
Introduction
In this tutorial we learn how to install python-tifffile
on Debian 9.
What is python-tifffile
python-tifffile is:
Image and meta-data can be read from TIFF, BigTIFF, OME-TIFF, STK, LSM, NIH, ImageJ, MicroManager, FluoView, SEQ and GEL files.
Only a subset of the TIFF specification is supported, mainly uncompressed and losslessly compressed 2**(0 to 6) bit integer, 16, 32 and 64-bit float, grayscale and RGB(A) images, which are commonly used in bio-scientific imaging. Specifically, reading JPEG/CCITT compressed image data or EXIF/IPTC/GPS/XMP meta-data is not implemented. Only primary info records are read for STK, FluoView, MicroManager, and NIH image formats.
TIFF, the Tagged Image File Format, is under the control of Adobe Systems. BigTIFF allows for files greater than 4 GB. STK, LSM, FluoView, SEQ, GEL, and OME-TIFF, are custom extensions defined by MetaMorph, Carl Zeiss MicroImaging, Olympus, Media Cybernetics, Molecular Dynamics, and the Open Microscopy Environment consortium respectively.
There are three methods to install python-tifffile
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install python-tifffile Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python-tifffile
using apt-get
by running the following command:
sudo apt-get -y install python-tifffile
Install python-tifffile Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-tifffile
using apt
by running the following command:
sudo apt -y install python-tifffile
Install python-tifffile Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python-tifffile
using aptitude
by running the following command:
sudo aptitude -y install python-tifffile
How To Uninstall python-tifffile on Debian 9
To uninstall only the python-tifffile
package we can use the following command:
sudo apt-get remove python-tifffile
Uninstall python-tifffile And Its Dependencies
To uninstall python-tifffile
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-tifffile
Remove python-tifffile Configurations and Data
To remove python-tifffile
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-tifffile
Remove python-tifffile configuration, data, and all of its dependencies
We can use the following command to remove python-tifffile
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-tifffile
Dependencies
python-tifffile have the following dependencies:
References
Summary
In this tutorial we learn how to install python-tifffile
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.