[SOLVED] Problem with WINE install (and LTSpice) under Linux? 32-bit?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Problem with WINE install (and LTSpice) under Linux? 32-bit?
I have never wanted to run WINE, but after weeks of stubbornly strugggling with the gEDA suite, I finally decided to give WINE and LTSpice a try. There is just far too little support for gEDA, and so much more readily available support for LTSpice.
I started (after updating) with:
sudo apt-get install wine
The system loaded both wine and wine64-bin, which I assumed was correct since I'm running 64-bit Linux (Debian).
But when I attempted to run LTSpice I get a warning message saying I should instead be running wine-bin:i386. Re-reading the WINE FAQ I now see "that Wine for 64-bit actually runs in 32-bit mode" (except for the experimental 64-bit version).
OK, so I remove wine64-bin, then follow the warning message's menu of steps which include
sudo dpkg --add-architecture i386
and then try:
sudo apt-get install wine-bin:i386
At this point apt-get shows me a long list of dependencies it wants to load and that it will also need to remove libc-bin!
Huh? That does not seem like a smart thing to do.
So what am I doing wrong? I see lots of posts suggesting how easy WINE and LTSpice are to install and use, so I must be doing something wrong.
Normal wine and windows programs are 32bit. Wine64 still has little software and is mad anyhow.
You need a multilib system (64 & 32 bit libs). gEDA may be your choice. I'm in the same field (Electronics) and don't use much of it. There's several front ends for spice, Kicad is good, pcb is quick, and xcircuit even has autoroute, iirc. I also loathe the Athena widget set. EveNot to be ignored is the implementation on n Xilinx ISE has a reasonable simulator. You don't have to go near wine to run this stuff. There's linux versions of nearly everything. And the things that need windows (National Instruments, PCAD, etc are so tied up with licensing they never run under wine anyhow.
Yea, I prefer gEDA suite, but there is not a lot of community support for it right now. I use ngspice, gschem, and pcd, (a little), but I think I will try LTSpice as well since it is so much easier to get help with it, particularly on this board. I'm just a hobyist and a lot of these programs (and electronics) are still over my head... But learning is fun!
ok. you're going with wine. I'll presume your user has run winecfg. If you have a screwed up install in ~/.wine, it may be better to run
rm -rf ~/.wine
To test wine, run 'winemine' or 'winefile' which are built in and should work. Get winetricks, which is a script for fixing things in wine. Run 'winetricks gecko corefonts' at a minimum. That installs the installer, and the core fonts. Now check ltspice on appdb.winehq.org and see what your chances are.
Lastly, try the install in an xterm. If it spews too much, run
wine /path/to/ltspice_installer 1>1.txt 2>2.txt
EDIT: I downloaded it and it installed here with zero issues. I very much suspect your wine install.
1.txt will be program output, 2.txt will be program errors. Wine runs a bit like a family of teenagers getting out of the house. Inside there's hassle, rudeness, internecine savagery, theft, shouting, screaming etc, and then they all file out into the car all silent & polite like butter wouldn't melt in their mouths :-/.
If you get nothing meaningful, go the long road
WINEDEBUG=+msi wine /path/to/ltspice_installer >wine.log 2&1. That WILL be big.
Last edited by business_kid; 12-29-2012 at 04:23 AM.
This dragged on for several weeks... but I finally found out that I needed to do a dist-upgrade, for some reason, before the wine install went right. Thanks again to business_kid for the tips- I never would have known about winetricks otherwise :-)
There are two distros aimed specifically at Electronics.
1. Fedora's Electronic Spin. I have it, and it has nearly everything compiled and behaving geda, simulators, pcb programs ides (Pic, atmel mps430, arm) - it really is quite well featured. It's biggest disadvantage is that it is Fedora, and Fedora 18 has met a lot of criticism over it's installer. I had my own war - bug dutifully filed and ensuing argument with maintainer won. I got running by booting a slackware kernel with it and I only updated once. I'm just not ready for the hassle updating a second time (Which you should, it is said). Fedora is a 'you try before they buy' distro for RHEL. Going online is not automatic and I keep it that offline, and just work in it. For electronics, it's probably the best around. I live in Slackware.
2. The other is a suse distro done as an image (usable on usb keys, etc) only 32 bit but has a lot of stuff also. No longer maintained. I tried it then deleted, because Fedora had it all.