Just thought I would contribute this since figuring it all out was a super confusing process consisting of a few hundred google searches. It's likely it was just me, but maybe there are a few other people like me who will benefit from being able to avoid the process. This was a clean Ubuntu 18.04 install. Probably most people do not have that luxury.
Install Updates and Required Packages
sudo apt-get update sudo apt-get install gcc sudo apt-get install make sudo apt-get install libbz2-dev sudo apt-get install zlib1g-dev sudo apt-get install libncurses5-dev sudo apt-get install libncursesw5-dev sudo apt-get install liblzma-dev
cd /usr/bin wget https://github.com/samtools/htslib/releases/download/1.9/htslib-1.9.tar.bz2 tar -vxjf htslib-1.9.tar.bz2 cd htslib-1.9 make
cd .. wget https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2 tar -vxjf samtools-1.9.tar.bz2 cd samtools-1.9 make
cd .. wget https://github.com/samtools/bcftools/releases/download/1.9/bcftools-1.9.tar.bz2 tar -vxjf bcftools-1.9.tar.bz2 cd bcftools-1.9 make
Export To Path And Refresh
export PATH="$PATH:/usr/bin/bcftools-1.9" export PATH="$PATH:/usr/bin/samtools-1.9" export PATH="$PATH:/usr/bin/htslib-1.9" source ~/.profile