0

When I try to launch wine it returns following message:

/usr/cyrex/.wine: No such file or directory

My account name is not even cyrex, and I tried to change WINEPREFIX, but it only works temporarary, till I close terminal. Then everything restarts

  • 1
    What is your username? Did you change it recently? Did you try to run winecfg? – Eduardo Cola Jan 11 '16 at 17:14
  • As a workaround you could set WINEPREFIX on login. But I do agree with Eduardo, it is more interesting to see why doesn't it work by default for you. Tell also — does echo $WINEPREFIX returns anything (before you set it)? – Hi-Angel Jan 11 '16 at 23:27
-1

It will be better if you install the latest version of wine using these commands

sudo add-apt-repository ppa:ubuntu-wine/ppa

sudo apt-get update

sudo apt-get install -y wine1.7

I don't think there should be any error if you try to open wine now.Check it out though.

| improve this answer | |
  • May I know why my post was downvoted? – john400 Jan 12 '16 at 4:40
  • I didn't do it, but I guess that was because the problem have nothing to do with Wine version. And btw, wine1.7 isn't the latest, it is wine-1.9 atm. I think it is better to do apt-get install wine — without the version, to get the latest. – Hi-Angel Jan 12 '16 at 15:27
  • Yeah,actually I was just giving an alternative that if wine is not working correctly why not reinstall it.And thanks for the info..@Hi-Angel – john400 Jan 12 '16 at 18:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.