I'm trying to install wmp10 through Wine so I can use the digital library accessing programme Overdrive. (Installing wmp10 through PlayOnLinux doesn't enable the DRM that allows Overdrive to work, hence the need to install it through Wine. Also, wmp isn't available through the GUI version of Winetricks that I have.)
Apparently I need to create a "clean wineprefix" first, but I don't know how to do that. Running the following code didn't work:
WINEPREFIX=~/.wine.tmp wineprefixcreate
Can someone give some very simple instructions showing how to make a clean wineprefix? And how to then install wmp10 from within the new prefix?
Ubuntu 14.04, XFCE interface, Wine 1.7.38, 32-bit
Thank you
Best Answer
If you plan on having more than one alternative prefix, I'd recommend keeping a directory of prefixes (e.g.,
~/.wine/wineprefix/<nameofprefix>
). In your case of only needing one prefix, let's call our alternative wineprefix ".wine-w-wmp
":The wineprefix part tells the
wine
program which virtual drive to use.wine winecfg
is the actual command, which will bring up the virtual drive's configuration. However, winecfg will notice that no virtual drive exists at this new location and will create one. Wine "bottles"/"wineprefixes" and "virtual drives" are used interchangeably--they refer to a new instance ofwine
, like separate computers with their own setup. So this is your clean wineprefix.In your case, to install Windows Media Player 10, download it from their website, and if the file is in your Downloads folder, run:
Then install as usual.
If you're planning to type
WINEPREFIX=<directory of prefix>
at the start of each wine command, you might want to just set that wineprefix as the default. (When run without "WINEPREFIX=",wine
looks to its default wineprefix at~/.wine
.) To change the default (at least until your next restart), run:(If you want this command to stick between new Terminal instances, add the above line to your
~/.bashrc
and then runsource ~/.bashrc
to reload the file in your current instance.)