LTSpice
LTSpice is a commonly used circuit simulation software, but there are only Windows version and Mac version, and Wine needs to be used to run under Linux. The following explains how to install the latest LTSpice 17.1.8 under Ubuntu
Install
Download the LTSpice installation file
Download address: https://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-simulator.html
Select Download for Windows 10 64-bit and forward Version 17.1.8 , the downloaded file is LTspice64.msi
Install Wine
audo apt install wine-stable
Install LTSpice via Wine
wine msiexec /i LTspice64.msi
By default, the next step is to install, and the last step needs to wait for a while. When the installation ends, Wine will report an error when extracting the icon, which can be ignored.
Wine will create two files LTspice.link and LTspice.desktop on the desktop. These two files are useless under Ubuntu and can be deleted. They
will also be created under the user directory .local/share/applications/wine/Programs/LTspice/ Create three files Check for updates.desktop, Uninstall LTspice 17.1.8.0.desktop and LTspice.desktop, these three are application shortcuts required by Ubuntu and need to be kept
Run LTSpice via Wine
command line
Execute this command to start LTSpice, you need to replace milton in the command with your own user name
wine ~/.wine/drive_c/users/milton/"Local Settings"/"Application Data"/Programs/ADI/LTspice/LTspice.exe
If you are not sure whether the path is correct, you can confirm it with the ll command
$ ll ~/.wine/drive_c/users/milton/"Local Settings"/"Application Data"/Programs/ADI/LTspice/LTspice.exe
-rwxrwxr-x 1 milton milton 33157872 Mar 14 17:14 '/home/milton/.wine/drive_c/users/milton/Local Settings/Application Data/Programs/ADI/LTspice/LTspice.exe'*
app shortcut
Press the Win key to bring up the shortcut input box, enter LTSpice, and the application will appear, press Enter or click to run
running interface
use
For the use of LTSpice, please refer to the previous LTspice XVII usage notes https://www.cnblogs.com/milton/p/14883680.html