linux软件包安装问题
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux软件包安装问题相关的知识,希望对你有一定的参考价值。
[root@liyaowang 下载]# tar -xvzf nautilus-open-terminal-0.6.tar.gz
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
configure: error: Package requirements (libnautilus-extension >= 2.6.0 glib-2.0 >= 2.4.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the NAUTILUS_CFLAGS and NAUTILUS_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
将以上两个依赖关系解决了,再试。 参考技术A 将内核升至2.6吧,应该就行了!
linux -小记 问题:linux 安装epel扩展源报错
EPEL提供的软件包大多基于其对应的Fedora软件包,不会与企业版Linux发行版本的软件发生冲突或替换其文件。
epel安装对应的rpm包
centos5 32位epel源下载地址: www.lishiming.net/data/attachment/forum/epel-release-5-4_32.noarch.rpm
64位下载地址: www.lishiming.net/data/attachment/forum/epel-release-5-4_64.noarch.rpm
centos6
32位epel yum源下载地址: www.lishiming.net/data/attachment/forum/epel-release-6-8_32.noarch.rpm
64位下载地址: www.lishiming.net/data/attachment/forum/epel-release-6-8_64.noarch.rpm
安装epel,执行 yum repolist测试是否成功
报错如下
[[email protected] yum.repos.d]# yum repolist
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决方法
是编辑/etc/yum.repos.d/epel.repo,将内容调整成如下。
#baseurl
mirrorlist
改成
baseurl
#mirrorlist
以上是关于linux软件包安装问题的主要内容,如果未能解决你的问题,请参考以下文章
在linux下安装vim时,出现了下面的问题,请教高手怎么解决下面这个问题!