input: from typing import List
  
  def install_software(software_name: str) -> List[str]:
      """Construct a bash script that installs a given software and return the list of commands.
      >>> install_software('Python 3.8.5')
      ['#!/bin/bash', 'curl -O https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz', 'tar -xzf Python-3.8.5.tgz', 'cd Python-3.8.5', './configure', 'make', 'make install']
      """
output:     commands = [
          '#!/bin/bash',
          f'curl -O https://www.python.org/ftp/python/{software_name.split()[1]}/{software_name.replace(" ", "-")}.tgz',
          f'tar -xzf {software_name.replace(" ", "-")}.tgz',
          f'cd {software_name.replace(" ", "-")}',
          './configure',
          'make',
          'make install'
      ]
      return commands