Find rpm package which provides a particular binary file or library file 1. Method 1 : using rpm command 1. Use below rpm commands to find which rpm package provide a particular file. # rpm -q --whatprovides [file name] For example, to find which rpm package provides /etc/hosts ...
3)- -oldpackage:降级选项 4)- -force:强制升级 ps:1.不要对内核进行升级操作,linux支持多内核版本并存,可以直接安装新版本内核 2.如果某源程序包的配置文件安装后被修改过,升级时,新版本的程序提供的同一个配置文件不会覆盖原有版本的配置文件,而是把新版本的配置文件重命名(FILENAME.rpmnew)后提供。 5.卸...
--pkgid query/verify package(s) with package identifier --hdrid query/verify package(s) with header identifier --triggeredby query the package(s) triggered by the package --whatrequires query/verify the package(s) which require a dependency --whatprovides 查询/验证提供相关依赖的软件包 --noma...
localinstall Install a local RPM makecache Generate the metadata cache provides Find what package provides the given value reinstall reinstall a package repolist Display the configured software repositories resolvedep Determine which package provides the given dependency search ...
baseurl=file:///yum/repo/ gpgcheck=0 3.3 apt 和 apt-get 的区别 Let’s see which apt command replaces which apt-get and apt-cache command options. apt command the command it replaces function of the command apt install apt-get install ...
can install the RPM package with the following command:rpm -ivh <package name>. Note the-voption will show verbose output and the-hwill show the hash marks, which represents action of the progress of the RPM upgrade. Lastly, we run another RPM query to verify the package will be ...
The python3 package provides the "python3" executable: the reference interpreter for the Python language, version 3. The majority of its standard library is provided in the python3-libs package, which should be installed automatically along with python3. ...
# which wget/usr/bin/wget# rpm -qf /usr/bin/wgetwget-1.14-15.el7_4.1.x86_64# rpm -qf /etc/zabbix/zabbix_agentd.confzabbix-agent-4.0.0-2.el7.x86_64 ps:如何查询命令或文件是那个包提供的 rpm -qf 有一个弊端: 只能查看系统中已经存在的命令和文件--->对应的软件包?
sudo rpm -ivh [package_name] The command includes the options: -i- Installs packages. -v- Showsverboseoutput. -h- Prints hash marks, which are visual indicators that show the installation process progress. The package has to be compatible with the machine system architecture. For instance, ...
This is not problem ofrpm. Packagepamon RHEL5 doesn't providepam(x86-32). Have a look at output of commandrpm -q --provides pamin RHEL5 and RHEL6. For Red Hat Enterprise Linux 6: Raw # rpm -q --provides --nosignature -p pam-1.1.1-17.el6.i686.rpm | grep 'pam(x86-32)' ...