sudo apt-get wolfram-engine, but this time I got E: Invalid operation wolfram-engine.
Try
sudo apt-get install wolfram-engine