input: def install_software(software_name: str, version: str) -> str:
      """
      Construct a Bash script that can install a given software of a specified version.
      The script should download the source, extract it, configure, compile, and install.
      
      >>> install_software("Python", "3.8.5")
      '#!/bin/bash\n\n# Download latest version of Python\ncurl -O https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz\n\n# Extract the tgz file\ntar -xzf Python-3.8.5.tgz\n\n# Move into the Python directory\ncd Python-3.8.5\n\n# Run the configure script\n./configure\n\n# Compile and install\nmake\nmake install'
      """
output:     script = f"""#!/bin/bash
  
  # Download the specified version of {software_name}
  curl -O https://www.example.com/{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