Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 28759  / 3 Years ago, sun, may 30, 2021, 3:26:46

I have Ubuntu installed on a rather small SSD. I want to be able to install Windows programs using Wine, but they have to be installed on the HDD.



By default, Wine creates a folder in the home directory /home/<user>/.wine where the installed Windows programs are saved. I want to change this to another location, such as /media/HDD/.wine



Is there any possibility to achieve this in a simple way?


More From » wine

 Answers
2

I looked in the "configure Wine" window, but to change the C directory is greyed out:


enter image description here


Simple solution: a link


What simply works however is:



  • Move the folder drive_c from ~/.wine/ to any accesible location of your choice (The c-drive is probably what you really want to move, since applications are stored in that directory)



  • Make a link from there into the folder ~/.wine/:


      ln -s /path/to/the_other_location/drive_c ~/.wine



That should simply work (and it does on my system)


[#21596] Monday, May 31, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tersle

Total Points: 342
Total Questions: 109
Total Answers: 99

Location: Kazakhstan
Member since Mon, Sep 26, 2022
2 Years ago
;