How to Install .tar.gz file using python (Ubuntu 18.04LTS)?

Hi all,

How do I install this file: http://www.dohm.com.au/coca/downloads/CoCa_Linux.tar.gz
using Python (I think I have to).

The file is downloaded from this site: http://www.dohm.com.au/coca/

Cheers
Peter

  1. Extract the archive to a folder of your choice.
  2. Go into that folder and run the main script like that:
python2 CoCa_Linux.py || python3 CoCa_Linux.py

I presume, this is Python 2 code, but if that doesn’t work, the script will be re-run with Python 3.

Depending on how the script was written, it may require command line arguments, to run properly.

1 Like