|
本帖最后由 Daniel_Arndt 于 2022-7-13 09:09 编辑
我安装AlmaLinux是为了使用compliance的。在此一并记录一下安装的过程。
首先,安装一些依赖,输入
- yum install gcc gcc-c++ gcc-gfortran blas lapack atlas atlas-devel
复制代码
在root用户下,用文本编辑器打开/etc/yum.repos.d/almalinux-crb.repo文件(AlmaLinux 9中,PowerTools改名叫CRB),把里面的三处“enabled=0”都改成“enabled=1”。之后安装另外两个依赖,输入
- yum install blas-devel lapack-devel
复制代码
从 https://rpmfind.net/linux/RPM/ce ... 5-6.el8.x86_64.html 下载gtkmm24-2.24.5-6.el8.x86_64.rpm,从 https://rpmfind.net/linux/RPM/ce ... 5-6.el8.x86_64.html 下载gtkmm24-devel-2.24.5-6.el8.x86_64.rpm,从 https://koji.fedoraproject.org/koji/buildinfo?buildID=506167 下载pangox-compat-0.0.2-2.el7.x86_64.rpm和pangox-compat-devel-0.0.2-2.el7.x86_64.rpm,从 https://koji.fedoraproject.org/koji/buildinfo?buildID=695339 下载gtkglext-devel-1.2.0-21.el7.x86_64.rpm和gtkglext-libs-1.2.0-21.el7.x86_64.rpm,从 https://koji.fedoraproject.org/koji/buildinfo?buildID=1188890 下载gtkglextmm-1.2.0-30.fc30.x86_64.rpm和gtkglextmm-devel-1.2.0-30.fc30.x86_64.rpm,从 https://koji.fedoraproject.org/koji/buildinfo?buildID=1187812 下载gmm-devel-5.2-3.fc30.noarch.rpm。把这几个rpm文件放到AlmaLinux 9的WSL里面的一个目录下,输入
接着,输入
- yum localinstall gtkmm24-2.24.5-6.el8.x86_64.rpm
- yum localinstall gtkmm24-devel-2.24.5-6.el8.x86_64.rpm
- yum localinstall pangox-compat-0.0.2-2.el7.x86_64.rpm
- yum localinstall gtkglext-libs-1.2.0-21.el7.x86_64.rpm
- yum localinstall gtkglextmm-1.2.0-30.fc30.x86_64.rpm
- yum localinstall pangox-compat-devel-0.0.2-2.el7.x86_64.rpm
- yum localinstall gtkglext-devel-1.2.0-21.el7.x86_64.rpm
- yum localinstall gtkglextmm-devel-1.2.0-30.fc30.x86_64.rpm
- yum localinstall gmm-devel-5.2-3.fc30.noarch.rpm
复制代码
之后把compliance源代码的压缩包放到AlmaLinux 9的WSL里面,输入
- chmod 774 compliance-3.0.2.tar.gz
复制代码
给它解压缩,输入
- tar xvf compliance-3.0.2.tar.gz
复制代码
进入解压后生成的目录,运行
- ./configure
- make
- make install
复制代码
在MobaXterm中打开AlmaLinux 9的WSL,运行compliance,一切正常。退出compliance后,命令行里面可能会有跟“/home/username/.local/share/recently-used.xbel”(里面的“username”替换成用户名)有关的输出,不影响使用。如果嫌烦的话,解决办法很简单,打开AlmaLinux 9的WSL,在普通用户下依次执行以下几个命令
- cd $HOME
- mkdir .local
- cd .local
- mkdir share
- cd share
- touch recently-used.xbel
复制代码
compliance_for_AlmaLinux_9_WSL
(3.69 MB, 下载次数 Times of downloads: 0)
compliance_for_AlmaLinux_8.4
(5.07 MB, 下载次数 Times of downloads: 0)
pangox-compat-devel-0.0.2-2.el7.x86_64.rpm
(4.96 KB, 下载次数 Times of downloads: 0)
pangox-compat-0.0.2-2.el7.x86_64.rpm
(54.73 KB, 下载次数 Times of downloads: 0)
gtkmm24-devel-2.24.5-6.el8.x86_64.rpm
(621.65 KB, 下载次数 Times of downloads: 0)
gtkmm24-2.24.5-6.el8.x86_64.rpm
(816.43 KB, 下载次数 Times of downloads: 0)
gtkglextmm-devel-1.2.0-30.fc30.x86_64.rpm
(294.24 KB, 下载次数 Times of downloads: 0)
gtkglextmm-1.2.0-30.fc30.x86_64.rpm
(46.31 KB, 下载次数 Times of downloads: 0)
gtkglext-libs-1.2.0-21.el7.x86_64.rpm
(110.15 KB, 下载次数 Times of downloads: 0)
gtkglext-devel-1.2.0-21.el7.x86_64.rpm
(129.36 KB, 下载次数 Times of downloads: 0)
gmm-devel-5.2-3.fc30.noarch.rpm
(136.57 KB, 下载次数 Times of downloads: 0)
|
|