libboost*.so
在我的 Linux 机器上,上述所有目录中都有 boost 库(文件)。我想知道它们之间有什么区别。我可以删除重复的 so 文件吗?
答案1
差异:曼·耶尔
它显示了 Linux 文件系统层次结构中几乎每个文件/文件夹的简短而切题的信息。对于您想要了解的文件/文件夹,它说:
/usr/lib
Object libraries, including dynamic libraries, plus some executables which
usually are not invoked directly. More complicated programs may have whole
subdirectories there.
/usr/local/lib
Files associated with locally installed programs.
对于文件/文件夹/usr/lib/x86_64-linux-gnu,我(不确定,但)认为是这样:
/usr/lib/x86_64-linux-gnu
Files associated with locally installed programs for 64-bit architecture`
我可以删除重复的 so 文件吗?
我不确定删除重复项究竟会带来什么后果,但建议不要这样做。请阅读此内容。
/usr This directory is usually mounted from a separate partition.
It should hold only shareable, read-only data, so that it can
be mounted by various machines running Linux.
希望你注意到只读数据和可共享。
请随意添加更多细节。