Trying to install LTspice

Try installing from the official Ubuntu repository. I have got LTspice working

LTspice

Here's how I did it.

Using the apt repository. The –install-recommends option will install all the recommended packages by winehq stable versions on your Ubuntu system.

sudo apt update
sudo apt-get install wine-stable

or

sudo apt install --install-recommends winehq-stable

Once wine is installed, check the version using

wine --version

If the above doesn't work, try the official wine installation at https://wiki.winehq.org/Ubuntu

Once wine is installed, download the windows executable file at https://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-simulator.html.

wine LTspiceXVII.exe

or

Click on LTspiceIv.exe and open it with wine. Wine will install the program and happy simulating!