这是我的问题:
我一直在尝试按照以下指南安装英雄联盟: https://forum.ubuntu-fr.org/viewtopic.php?id=2004999(这是法语的,因为我是法国人)。
在本教程中,有时我需要在终端中输入此命令:
sudo WINEPREFIX=/home/$VOTRE_NOM/.PlayOnLinux/wineprefix/LeagueOfLegends/ winetricks -q vcrun2005 vcrun2013 vcrun2015
我应该用我的用户名替换“$VOTRE_NOM”,这是流行的
然后我再次尝试,但在输入时:
sudo WINEPREFIX=/home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends/ winetricks -q vcrun2005 vcrun2013 vcrun2015
我首先应该输入真正的命令。
它给我这个错误输出:
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message 'wine: /home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends is not owned by you'
正如这里所问的,这是同一命令行的输出,但没有sudo
:
$ WINEPREFIX=/home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends/ winetricks -q vcrun2005 vcrun2013 vcrun2015
Executing w_do_call vcrun2005
Executing load_vcrun2005
Using native,builtin override for following DLLs:
atl80 msvcm80 msvcp80 msvcr80 vcomp
Executing winetricks_early_wine regedit /S C:\windows\Temp\_vcrun2005\override-dll.reg
Executing wine vcredist_x86.EXE /q fixme:advapi:DecryptFileA ("C:\\users\\pop\\Temp\\IXP000.TMP\\", 00000000): stub
fixme:event:wait_for_withdrawn_state window 0x2002c/8200003 wait timed out
fixme:storage:create_storagefile Storage share mode not implemented.
Executing w_do_call vcrun2013 Executing load_vcrun2013
Using native,builtin override for following DLLs:
atl120 msvcp120 msvcr120 vcomp120
Executing winetricks_early_wine regedit /S C:\windows\Temp\_vcrun2013\override-dll.reg
------------------------------------------------------
Working around wine bug 17273 -- Manually extracting dlls
------------------------------------------------------
Executing cabextract -q --directory=/home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends//dosdevices/c:/windows/temp/_vcrun2013 vcredist_x86.exe Executing cabextract -q
--directory=/home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends//dosdevices/c:/windows/temp/_vcrun2013 /home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends//dosdevices/c:/windows/temp/_vcrun2013/a2 /home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends//dosdevices/c:/windows/temp/_vcrun2013/a2: WARNING; possible 16128 extra bytes at end of file. Executing cabextract -q
--directory=/home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends//dosdevices/c:/windows/temp/_vcrun2013 /home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends//dosdevices/c:/windows/temp/_vcrun2013/a3 /home/pop/.PlayOnLinux/wineprefix/LeagueOfLegends//dosdevices/c:/windows/temp/_vcrun2013/a3: WARNING; possible 16128 extra bytes at end of file. Unknown arg vcrun2015 Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ... Executes given verbs. Each verb installs an application or changes a setting.
Options:
--force Don't check whether packages were already installed
--gui Show gui diagnostics even when driven by commandline
-k, --keep_isos Cache isos (allows later installation without disc)
--no-clean Don't delete temp directories (useful during debugging)
--no-isolate Don't install each app or game in its own bottle
-q, --unattended Don't ask any questions, just install automatically
-r, --ddrescue Retry hard when caching scratched discs
--showbroken Even show verbs that are currently broken in wine
--verify Run (automated) GUI tests for verbs, if available
-v, --verbose Echo all commands as they are executed
-h, --help Display this message and exit
-V, --version Display version and exit
Commands:
(…)
WINEPREFIX=/home/pop/.local/share/wineprefixes/foobar