Running sudo apt install samtools:
do apt install samtools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
samtools
0 to upgrade, 1 to newly install, 0 to remove and 225 not to upgrade.
Need to get 562 kB of archives.
After this operation, 1,345 kB of additional disk space will be used.
Get:1
http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 samtools amd64 0.1.19-1ubuntu1 [562 kB]
Fetched 562 kB in 0s (4,638 kB/s)
Selecting previously unselected package samtools.
(Reading database ... 180021 files and directories currently installed.)
Preparing to unpack .../samtools_0.1.19-1ubuntu1_amd64.deb ...
Unpacking samtools (0.1.19-1ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up samtools (0.1.19-1ubuntu1) ...
I am able to run samtools through Termianl by typing samtools which I thought meant that it was installed correctly but I still get the following when testing the installation: