[mysql@test922 ~]$ rpm --install --prefix linuxqq-v1.0.2-beta1.i386.rpm
error: linuxqq is not relocatable
经查找,可以使用下面的命令查看rpm包是否可以重定位,也就是安装到另一个目录。
# rpm -qpi linuxqq-v1.0.2-beta1.i386.rpm |head
Name : linuxqq Relocations: (not relocatable)
Version : v1.0.2 Vendor: Tencent Inc.
Release : beta1 Build Date: 2009年01月05日 星期一 17时31分44秒
Install Date: (not installed) Build Host: localhost.localdomain
Group : Internet Source RPM: linuxqq-v1.0.2-beta1.src.rpm
Size : 6346491 License: Commercial
Signature : (none)
Packager : @Home
Summary : QQ for Linux v1.0.2 Beta1
Description :
从结果看到
Relocations: (not relocatable)
是无法修改安装目录的,也就是不能重定位,只有去掉 --prefix参数了。
分享到:
相关推荐
2、执行安装 rpm -ivh ffmpeg-6.0-1.el7.centos.x86_64.rpm --nodeps --force 3、安装完成后,目录在/usr/local/ffmpeg /usr/local/ffmpeg/bin/ffmpeg [root@localhost /usr/local/ffmpeg/bin]# ./ffmpeg ffmpeg ...
## 解压gcc ```bash tar -xvf gcc-rpms.tar.gz ``` ## rpm安装gcc ```bash ...Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=...
rpm -Uvh --force --nodeps *.rpm 2、首先进入到lib目录下,不然会缺失很多依赖,很麻烦的 rpm -Uvh --force --nodeps *.rpm 3、安装zlib-1.2.11.tar.gz 解压,进入目录后,执行 ./configure --prefix=/usr/...
./configure --prefix=/application/nginx-1.6.3 --user=nginx --group=nginx --with-http_ssl_module --with-http_stub_status_module make make install ln -s /application/nginx-1.6.3/ /application/nginx...
rpm -Uvh --force --nodeps *.rpm 2、将libtool-2.4.2.tar.gz与pcre-8.35.tar.gz分别解压,进入文件夹 ./configure --prefix=/usr/local/对应路径名 make && make install 3、解压nginx-1.13.9.tar.gz,进入目录...
#./configure --prefix=/usr/local/openssh --sysconfdir=/etc/ssh --with-pam --with-ssl-dir=/usr/local/openssl --with-md5-passwords --mandir=/usr/share/man --with-zlib=/usr/local/zlib # make && make ...
进入 rpm 包,运行 yum localinstall *.rpm -y 解压python tar -xvf $base_dir/software/Python-3.7.3.tgz 进入Python-3.7.3目录 ./configure --prefix="/usr/local/Python-3.7.3" make && make install #删除原来的...
mysql采用rpm方式安装 rpm -ivh MySQL-server-5.0.37-0.i386.rpm rpm -ivh MySQL-client-5.0.37-0.i386....#./configure --prefix=/usr/local/apache2 --sysconfdir=/etc/httpd --enable-module=so #make;make install
2、/tmp/ntp-4.2.8p10/configure --prefix=/usr --bindir=/usr/sbin --sysconfdir=/etc --enable-linuxcaps --with-lineeditlibs=readline --enable-all-clocks --enable-parse-clocks --enable-clockctl ...
[root@localhost openssl-1.1.1c]# ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl enable-ec_nistp_64_gcc_128 [root@localhost openssl-1.1.1c]# make && make install 时间有点久。 ...
[root]#rpm -ivh bash-4.2.46-20.el7_2.src.rpm [root]#cd $HOME/rpmbuild/SPECS [root]#rpmbuild -bp bash.spec 此时,源代码已经安装到了$HOME/rpmbuild/BUILD目录 c).移动bash的源代码到/usr/src [root]#cd $...
./configure --prefix=/opt/nginx-1.18.0 make make install cd /opt tar -czvf nginx-1.18.0.tar.gz nginx-1.18.0 cd /opt/nginx-1.18.0/sbin ./nginx -c conf/nginx.conf ./nginx -s stop
有时候为了方便源码包的安装,我们需要自己订制软件包的需求,我们会把一些源码包按照我们的需求来做成rpm包,当有了源码包就可以直接编译得到二进制安装包和其他任意包。spec file是制作rpm包最核心的部分,rpm包的...
it somewhere else just pass --prefix: python setup.py install --prefix=/usr/local To build an RPM package: python setup.py bdist_rpm # The .rpm will end up in the 'dist' directory To build a ...
rpm -hiv libdvbpsi-devel-0.1.7-1.el4.rf.i386.rpm 需要什么rpm可到http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/中下载 (三) 编译VLC 1. configure ./configure --prefix=/usr --enable-debug --disable-...
确认已经安装了zlib、freetype、libpng和jpeg-6b等lib的开发包,可以用rpm -aq查询,如果没有的请先安装。 /*------------------- 观察配置后给出来的支持图形格式,看看该图形格式支持是否是yes,如果不是,那么...
gcc V4.0.0 for AIX V5.3 (gcc-4.0.0-1.aix5.3.ppc.rpm) gcc-c++ V4.0.0 for AIX V5.3 (gcc-cplusplus-4.0.0-1.aix5.3.ppc.rpm) libgcc V4.0.0 for AIX V5.3 (libgcc-4.0.0-1.aix5.3.ppc.rpm) libstdc++ V4.0.0 for ...
鉴于目前绝大部分服务器因为没有注册的yum或者因不通外网等问题导致无法使用yum update -y bash 命令进行漏洞修复,如采用RPM包升级修复漏洞又存在各服务器系统有的是32位有的是64位或者bash的版本不一样导致需要...
使用--prefix = / usr / local对其进行配置。 它适用于Apple Silicon。如何安装用自制软件安装ghostscript ./configure --prefix = / usr / local / 制作sudo make install(不要担心最后的错误) 确保/usr/local/...
[root@db nginx]# ./configure --prefix=/usr/local/nginx [root@db nginx-1.8.1]# make [root@db nginx-1.8.1]# make install 开放防火墙的这个端口 vi /etc/sysconfig/iptables 添加:-A INPUT -m state --state ...