That's not recommended, as conda is supposed to take full care of the dependency environment. Do what is done in the accepted answer, this will work. Make a new environment and install samtools into this one, that is always a good idea to avoid cross-environment contamination and avoid overloading individual envs. By the way, what you suggest only works if you have root permission, which on e.g. a HPC will never be the case.