can not install any program through wine

5,406

Shouldn't that be sudo chown -R agha:agha ~/.wine -R? Also, never run a wine program with sudo. If that doesn't work, delete the existing prefix and create a new one with sudo rm ~/.wine -R; winecfg.

Share:
5,406

Related videos on Youtube

agha rehan abbas
Author by

agha rehan abbas

Updated on September 18, 2022

Comments

  • agha rehan abbas
    agha rehan abbas over 1 year

    i am currently using ubuntu 14.04 LTS 64-bit version in my pc and i have installed wine software to run some .exe format files of windows in linux but it doesnt happen whenever i right click on the available file and select the option to install open it through wine it says access denied as shown in this image enter image description here

    and when i tried to install subway surfers through this terminal command i get this error enter image description here

    is there any solution for this question *edit enter image description here enter image description here

    • thorstorm
      thorstorm almost 10 years
      you souldn't run wine with sudo. Does your .exe file have execution priviliges (right click, properties, permissions)?
    • agha rehan abbas
      agha rehan abbas almost 10 years
      i cannot get the way to install it as i click on run with wine it opens it location i have shown this in my edited question
    • agha rehan abbas
      agha rehan abbas almost 10 years
      hoe to get it done
    • thorstorm
      thorstorm almost 10 years
      If you want a simpler way of using wine, I suggest you install "Play on Linux" which gives a graphical way of installing things.
  • agha rehan abbas
    agha rehan abbas almost 10 years
    but how should i install that program as both the terminal command show the same error saying wine is not owned by you
  • agha rehan abbas
    agha rehan abbas almost 10 years
    is there any other way to handle that
  • mmstick
    mmstick almost 10 years
    I don't know what you might be doing wrong with wine, but you might as well delete the existing wine prefix and create a new one. sudo rm ~/.wine -R; winecfg You just install a program like one would normally do -> open the exe of the installer with wine without running sudo.
  • agha rehan abbas
    agha rehan abbas almost 10 years
    when i open it through wine installer it location is opened not but it doesnt gets installed