http://bugs.winehq.org/show_bug.cgi?id=2411
Summary: can not install easily as normal user Product: Wine Version: 20040716 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-tools AssignedTo: wine-bugs@winehq.org ReportedBy: jerome.bouat@wanadoo.fr
Each time I try to install the new wine release, I use the wineinstall script. But I do not want to install wine as root. Instead, here is what I do :
1. in tools/wineinstall, modify install dir from /usr/local to /usr/local/wine
2. as root : rm -rf /usr/local/wine /home/wine mkdir -m a+w /usr/local/wine /home/wine
3. as normal user : run tools/wineinstall and say "no" when the script ask me if I will give the root password
4. make install (ldconf fails as expected)
5. as root : [root@localhost j]# cd /home/wine [root@localhost wine]# tree . |-- Program Files | `-- Common Files `-- windows |-- Cookies |-- History |-- Program Files | `-- Common Files |-- Start Menu | `-- Programs | `-- Startup |-- Temporary Internet Files |-- command | `-- start.exe -> /home/j/tmp/wine-20040716/programs/start.exe.so |-- fonts |-- inf | `-- wine.inf |-- notepad.exe -> /home/j/tmp/wine-20040716/programs/notepad.exe.so |-- profiles | `-- Administrator |-- regedit.exe -> /home/j/tmp/wine-20040716/programs/regedit.exe.so |-- rundll32.exe -> /home/j/tmp/wine-20040716/programs/rundll32.exe.so |-- system | |-- control.exe -> /home/j/tmp/wine-20040716/programs/control.exe.so | |-- help.exe -> /home/j/tmp/wine-20040716/programs/winhelp.exe.so | |-- notepad.exe -> /home/j/tmp/wine-20040716/programs/notepad.exe.so | |-- progman.exe -> /home/j/tmp/wine-20040716/programs/progman.exe.so | |-- regsvr32.exe -> /home/j/tmp/wine-20040716/programs/regsvr32.exe.so | |-- wcmd.exe -> /home/j/tmp/wine-20040716/programs/wcmd.exe.so | |-- winmine.exe -> /home/j/tmp/wine-20040716/programs/winemine.exe.so | `-- winver.exe -> /home/j/tmp/wine-20040716/programs/winver.exe.so |-- system.ini |-- temp |-- uninstall.exe -> /home/j/tmp/wine-20040716/programs/uninstaller.exe.so |-- win.ini |-- winebrowser.exe -> /home/j/tmp/wine-20040716/programs/winebrowser.exe.so |-- winhelp.exe -> /home/j/tmp/wine-20040716/programs/winhelp.exe.so `-- winhlp32.exe -> /home/j/tmp/wine-20040716/programs/winhelp.exe.so
18 directories, 19 files
And for each bad link : [root@localhost wine]# ln -sf /usr/local/wine/lib/wine/notepad.exe.so notepad.exe [root@localhost wine]#
6. as root : chmod -R a-w /usr/local/wine
I will never install a beta version as root. I will not evolve on this point. Could you make installation as normal user easier ?