我在红帽Linux上工作,我有一个tar.gz文件。我想将这个tar.gz文件打包到一个rpm包文件中。
In the rpm package phase, I just want to extract the tar.gz file and package all of the staff into the rpm package, when I install the rpm package in linux server, it will just simply copy all of the files into the destination folder.
I have tr
我试图通过Windows8.1操作系统将Oracle SQL Developer安装到Linux服务器上。我正在从下载软件包。
然后,我将从该站点安装Linux包。
然后,我将它从Windows8.1操作系统(下载到的操作系统)转移到Linux服务器(通过WinSCP)。
然后,我将在Putty上打开Linux服务器,并试图使用以下命令安装SQL开发人员:
rpm -Uvh sqldeveloper-4.0.3.16.84-1.noarch.rpm
于是我收到了这个错误:
rpm: RPM should not be used directly install RPM packages,
我试图创建一个RPM,只需解压缩tar,更改一些权限,然后根据进程回显一些内容。下面是有问题的.spec文件。
Summary: Linux agent V.1
Name: Agent
Version: 1.0
Release: 1
License: GPL
Source: Agent.tar.gz
Vendor: test
Packager: test
%description
Test Linux agent
%prep
if ps aux | grep "[u]cx"; then
pkill -f ucx
else
echo "Current age
我需要构建一个rpm,其中包括一个内核模块(模块将被添加到目录/lib/模块/% current _内核/ either /)我遇到的问题是,如果安装我的包的linux机器,内核将在更新后更新,则模块不会在新的内核/lib/模块/% new _内核/extra/外接/所以我想知道是否有一种构建rpm的方法,它依赖于当前内核,所以我的包要么在内核升级期间卸载,要么重新安装,谢谢Luc。
我有一个linux盒,我已经在它上编译并安装了一个更新版本的GCC (4.3.9),它存在于/usr/lib中。
我使用此编译器构建了一组库,并将其绑定到RPM中,但当我尝试安装该RPM时,会出现以下错误:
rpm -ivh my-rpm.i586.rpm
error: Failed dependencies:
libstdc++.so.6(GLIBCXX_3.4.10) is needed by my-rpm.i586
libstdc++.so.6(GLIBCXX_3.4.11) is needed by my-rpm.i586
libstdc++.s
我希望在我的风力河Linux系统上安装qemu-kvm,使用dnf,但是我遇到了这个错误-
rpmlib(BuiltInLuaScripts) <= 4.2.2-1 is needed by filesystem-3.10-1.fc30.x86_64
rpmlib(FileCaps) <= 4.6.1-1 is needed by shadow-utils-2:4.6-8.fc30.x86_64
我不确定这些特性是否需要在我的系统中启用,或者是需要安装的独立包,还是需要用这些特性构建的rpm。
我构建了一个rpm包,它依赖于perl。当我试图安装这个软件包时,它失败了:
$ rpm -ivh
error: Failed dependencies:
perl is needed by package-y.x86_64
如果我运行dnf info perl,它会显示perl没有安装,但是我能够在我的系统上找到perl:
which perl
perl: /usr/bin/perl /opt/lampp/bin/perl /usr/share/man/man1/perl.1.gz
并检查perl的版本:
$ perl --version
This is perl 5, vers