input: from typing import Any
  
  def install_software(software_name: str, version: str) -> Any:
      """Construct a Bash script to install a given software version.
      >>> install_software('Python', '3.8.5')
      '''
      #!/bin/bash
      # Download latest version of Python
      curl -O https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
  
      # Extract the tgz file
      tar -xzf Python-3.8.5.tgz
  
      # Move into the Python directory
      cd Python-3.8.5
  
      # Run the configure script
      ./configure
  
      # Compile and install
      make
      make install
      '''
      """
output:     script = f"""
      #!/bin/bash
      # Download latest version of {software_name}
      curl -O https://www.python.org/ftp/{software_name.lower()}/{version}/{software_name}-{version}.tgz
  
      # Extract the tgz file
      tar -xzf {software_name}-{version}.tgz
  
      # Move into the {software_name} directory
      cd {software_name}-{version}
  
      # Run the configure script
      ./configure
  
      # Compile and install
      make
      make install
      """
      return script