Microsoft .NET Framework 3.0 Tips

Installation fails on Ubuntu 12.04

Installation of .NET 3.0 and 3.5 will fail on Ubuntu 12.04 due to a known bug which can easily be worked around by running the following command in terminal:

$ echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope

and then try running the installation of .NET, again. If this works, you can make this change permanent by editing the ptrace conf file in sysctl:

$ sudo gedit /etc/sysctl.d/10-ptrace.conf

"gedit" can be replaced with your text editor of choice

and changing

kernel.yama.ptrace_scope = 1

to

kernel.yama.ptrace_scope = 0

If you don't wish to make this change permanent, you'll just need to run the first command, above, after each reboot of your machine when appropriate.

Important Information Tips are provided by the CrossOver Community and Advocates. They are not intended to be used for official CodeWeavers Support. For that, please visit our official support pages.
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM4NzIzMjIwLCJjc3JmX3Rva2VuIjoiUVRObVJrdkxHYnBoUTdDSyIsImdkcHIiOjB9