input: 
  def install_software(software_version: str) -> str:
      """Constructs a Bash script that can install a given software version.
      The script should download the latest version of the software, extract the file,
      configure it, compile it, and then install it. The output should be the complete
      Bash script.
      >>> 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 latest version of {software_version}
  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"""
      return script