running centos (or rhel) 7.6, I have the base Centos (or RHEL) repositories installed, along with EPEL and ELREPO and NUX.
I use the gnome software gui and search on some software, FreeMat or MP3/H264 codecs for example, and install them.
In the future, I can do an rpm -qa and get a list of all rpm's installed.
Is there a way for a given installed rpm, to find out which defined repositories under /etc/yum.repos.d/ it came from?
And also once registered and doing the RHEL optional rpm activation described on the Fedora EPEL website my redhat.repo file is some 4000+ lines. The main ones that are enabled are
[rhel-7-server-extras-rpms]
[rhel-7-server-optional-rpms]
[rhel-ha-for-rhel-7-server-rpms]
[rhel-7-server-rpms]
... and so on.
Is there a way to tell which of those (assuming those are separate "repositories" ?) an rpm came from?
how to tell which repository and installed rpm came from?
Re: how to tell which repository and installed rpm came from?
Like yum list gnome-software for example? If it's installed then it will be listed with e.g. @base at the end of the line when you yum list it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: how to tell which repository and installed rpm came from?
nice!
Code: Select all
yum list gnome-software
Installed Packages
gnome-software.x86_64 3.28.2-3.el7 @anaconda/7.6
Available Packages
gnome-software.i686 3.22.7-1.el7 rhel-7-server-e4s-optional-rpms
yum list FreeMat
Installed Packages
freemat.x86_64 4.1.1-1 @nux-dextop
yum list tpm2-tools
Installed Packages
tpm2-tools.x86_64 3.0.4-2.el7 @rhel-7-server-rpms
yum list python36-numpy-f2py
Installed Packages
python36-numpy-f2py.x86_64 1.10.4-7.el7 @epel
Re: how to tell which repository and installed rpm came from?
@anaconda means that it was installed when you first installed the system.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke