lainchan / Ω

PlayOnLinux and .NET Framework 4

word · 2017-04-19 19:49
Until /sci/ or /tech/ return, or if they ever return at all, I'd like to share something with the Lainchan community here. If you are on Linux and need to install .NET Framework 4 within Wine, I have found out how. If you run the install script in PlayOnLinux, it likely returns an error message because of file mismatches. I think I know a workaround. Download the .NET Framework 4 file. >https://www.microsoft.com/en-us/download/details.aspx?id=17718 >Download the stand-alone file, not the web installer. In PlayOnLinux, make a 32 bit virtual drive, use Wine version 2.5 and configure wine as Windows 7. >This may work for 64 bit POL virtual drives and it may work with the 64 bit version of .NET Framework 4, but I have not tested this. Now, if you are using Ubuntu or Mint, set each of these files to 0. >/proc/sys/kernel/yama/ptrace_scope >/etc/sysctl.d/10-ptrace.conf Now, run the .NET Framework 4 .exe in the virtual drive. It should install and work, and any applications that use it should work. I have had no problems. This may be common knowledge to many of you, but for those like me who do not know, I hope this helps.
Donna Hawthorne · 2017-04-19 19:50
>/proc/sys/kernel/yama/ptrace_scope >/etc/sysctl.d/10-ptrace.conf Set each file to 0 with root access. >sudo nano /proc/sys/kernel/yama/ptrace_scope >sudo nano /etc/sysctl.d/10-ptrace.conf Edit them and set the 1 to 0.
Meddler · 2017-04-22 09:51
Nice, lain. If you can, edit the wiki with the information so that others can use it as well. http://wiki.playonlinux.com/index.php/Home
Zero Cool · 2017-04-22 10:10
>>147 >using nano
Tequila · 2017-04-22 12:57
>>195 >bashing someone for the editor he uses that's so passe unless you use emacs, you have no right to
Nguoi La · 2017-04-24 20:28
>>195 >>197 What's wrong with nano? I've always liked it.
Mitnick · 2017-04-24 20:48
>>147 Before you do this you might want to read up on what ptrace is, and why disabling ptrace protection globally might not be such a great idea.
Faye Valentine · 2017-04-24 21:37
>>321 >https://en.wikipedia.org/wiki/Ptrace From what I read, its just a debugging tool. Elaborate why someone shouldn't disable it.
Technician · 2017-04-24 23:12
>>324 It's not disabling ptrace, it's disabling ptrace protection. This is a security risk, as it allows processes to look at memory they usually shouldn't be looking at. https://wiki.archlinux.org/index.php/Security#ptrace_scope
Bob Arctor · 2017-04-24 23:24
>>320 it's not "featureful enough" or "efficient" for True Hackers is my guess I love it because >edits your text and text-based files >important shortcuts are listed right there >Ctrl-G to list extra shortcuts >regex Find option available
Molly Millions · 2017-04-24 23:46
>>328 I agree. Nano has done me very well. OP did nothing wrong using it.
Bob Arctor · 2017-04-24 23:48
>>326 OP is right, this will install .NF4 if you really really need to. Honestly, I see no harm in it, or at least not enough to hurt the typical gamer user. That really who all OP is trying to help probably, the gamer guys trying to run games that use .NF4.
Dujour · 2017-04-25 00:42
>>331 Just because they're gamers doesn't mean they need to be any less aware of the security implications of disabling protections. I'm not telling anyone not to do it - it won't affect my security, and therefore is not my problem - I'm saying you shouldn't run unknown commands blindly, and should always be aware of the risks involved with whatever changes you make to your system.
Nanashi No Gombe · 2017-04-25 15:45
>>332 >Just because they're gamers doesn't mean they need to be any less aware of the security implications of disabling protections. Now tell that to the Windows 10 guys playing stuff off Steam.