我想在linux中使用分析工具。我看到一些信息说Oprofile在Ubuntu12.04中是不支持的,而备用的是perf。所以我试着安装perf。
我安装了linux-tools-common、linux-base和linux-tools。
然后在终端中键入perf,它返回:
perf not found for kernel 3.12.6
You may need to install linux-tools-3.12.6-3.12.6
但我无法安装linux-tools-3.12.6-3.12.6 (我认为它是一个错误的名称)或linux-tools-3.12.6。
以这种方式安装和使用p
我正在尝试安装一个应用程序,它需要linux头才能构建它。
问题是,当我尝试使用以下方法安装linux头时:
apt-get install linux-headers-$(uname -r)
我得到以下信息:
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-headers-4.19.0-8-amd64 : Depends: linux-compiler-gcc-8-x86 but it is not goin
我在试图运行Virtual时遇到了问题;哪个是"appropiate headers"?“?
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed.
我需要在Linux中安装f2c。给出步骤;
下载安装脚本:下载install_f2c_linux.csh。
运行安装脚本# chmod +x install_f2c_linux.csh # ./install_f2c_linux.csh
我在根目录和用户目录中运行第二步。但是,上面写着
curl: Command not found.
tar: f2c.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gunzip: No match.
f2c: No such file