在Windows上安装新的Ubuntu 12.04
在apt-get upgrade之后,控制台显示:
The following packages have been kept back:
linux-image-extra-virtual linux-image-virtual linux-tools linux-virtual
(...)
83 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 64.5 MB of archives.
After this operation, 714
我正在逐步了解Linux中的Mono开发。我正在尝试调用Linux C库。理论上,会告诉我如何做到这一点,但是当我在Fedora2.2.2(Fedora13)中输入下面的代码时,我在"private static extern int getpid();“中得到了一个"Parsing Error (CS8025)”。此外,帮助系统无法工作。
using System;
using System.Runtime.InteropServices;
[DllImport("libc.so")]
private static extern int getpid();