I am trying to find some recently installed rpms on my redhat linux system, Does RPM provide any way to do this?
I have tried
#rpm -qa
But it only provides installed rpms. What are the options available for this?
You should try
#rpm -qa --last
it provide a detailed summary of installed rpms with date and time stamp.
Hope it helps you.
#rpm -qa --last | more
If you mean rpm not installed but available on yum repos, you can use
yum list available
Related
I did rpm -qa and didn't found the package but when when I did yum list I found the package. why so and which command is useful in finding the installed packages in Linux?
I personally don't use yum or rpm to handle package management on my machine (running Debian 10 currently with XFCE) but I use the command apt list --installed to check my installed packages. Then you can grep for whatever specific stuff you are looking for.
You could also check out this article. It's well written and has a lot of good info.
https://itsfoss.com/list-installed-packages-ubuntu/
I am looking for a way to identify on how to get a list all installed application including those applications on Linux which is not installed by any RPM package or YUM package.
I have installed Oracle Database using .sh and [My company application agent] one more application when I try to search for those application using
rpm -qa | grep 'application name' or using rpm -qa | sort |less
Or
yum list installed
Those applications were missing from the list. I am not sure why this is missing.
Could you please help me to find out this.
This is for Linux server.
rpm -qa
yum list installed
I am expecting the output of all installed application including those which are installed from .sh and .pkg or any third party application.
Is there a way to list the 3rd party softwares installed in Centos?
I have tried using rpm -qa
but it contains the native packages also.
I am looking for something similar like Installed section in "Software Center in GUI mode" in CLI mode.
I do not have CentOS install. So I will show it how I will do that on my Fedora:
$ rpm -qi rpm |grep Vendor
Vendor : Fedora Project
This will get me who is vendor of rpm package. You may have there something like CentOS. Get that string. And then:
$ rpm -qa --qf '%{name} %{vendor}\n' | grep -v 'Fedora Project'
This will print all installed packages which are not from vendor "Fedora Project".
Will Mercurial work on Redhat Linux? I tried, yum install mercurial, with no success. I tried downloading a tar ball from Mercurial site but it failed when I tried to install. Does Mercurial work at all on Redhat?
Here's instructions for obtaining RPM packages for Linux systems.
Here is a discussion describing many methods for obtaining Mercurial in Red Hat.
On Rhel 7.2 i performed below command and it worked like charm :)
sudo rpm -ivh https://www.mercurial-scm.org/release/centos7/RPMS/x86_64/mercurial-3.4-0.x86_64.rpm
Mercurial project provides RPM packages starting from version 3.4.
I am trying to install dbus-1.1.2-12.el5.i386 but I get the error
" dbus-libs = 1.1.2-12.el5 is needed by dbus-1.1.2-12.el5.i386" :-(
So I downloaded "dbus-libs-1.1.2-12.el5.i386.rpm" in the same directory and ran the
command rpm -ivh dbus-1.1.2-12.el5.i386 again, but I still got the same error. On searching on Forums I found that RPM takes care of dependecies if they are present in the same Directory. but it does not work with -ivh option ??
Steve B is correct:
yum install dbus-libs
yum install dbus
yum will also allow you to do "whatprovides" for a package:
yum whatprovides dbus-libs
This will show you if you have another version of dbus-libs "installed" on your system, it spools out what repos provide the package and is any are provided (installed) locally.
Also helpful is:
rpm -q dbus
which will show any packages that are locally install as will:
rpm -q dbus-libs
or
rpm -qa | grep 'dbus'
You may find that you already have an eariler version of dbus installed, which case:
yum -y update dbus
Hope this helps.
http://www.of-networks.co.uk
You need to install the dependant RPMs before installing dbus. You should also know that this is the hard way, these days RPM-based distributions usually have a dependancy managment system so that you don't need to do this by hand. e.g. on Redhat/Fedora/Centos you can just type "yum install mypackagename".