1. conda
只能使用官方的源进行安装
conda install -c conda-forge eigen
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /home/darknet/miniconda3/envs/torch110
added / updated specs:
- eigen
The following packages will be downloaded:
package | build
---------------------------|-----------------
openssl-1.1.1i | h7f98852_0 2.1 MB conda-forge
_openmp_mutex-4.5 | 1_gnu 22 KB conda-forge
certifi-2020.12.5 | py36h5fab9bb_1 143 KB conda-forge
eigen-3.3.9 | h4bd325d_1 970 KB conda-forge
_libgcc_mutex-0.1 | conda_forge 3 KB conda-forge
libstdcxx-ng-9.3.0 | h6de172a_18 4.0 MB conda-forge
libgcc-ng-9.3.0 | h2828fa1_18 7.8 MB conda-forge
python_abi-3.6 | 1_cp36m 4 KB conda-forge
ca-certificates-2020.12.5 | ha878542_0 137 KB conda-forge
libgomp-9.3.0 | h2828fa1_18 376 KB conda-forge
------------------------------------------------------------
Total: 15.6 MB
2. apt
…