Results 1 to 6 of 6
hello guys,
I just have a couple rpm questions. I run fedora (11) and just would like a couple questions answered please
1. When I look at a file (in ...
- 09-21-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 5
[SOLVED] some newb rpm questions
hello guys,
I just have a couple rpm questions. I run fedora (11) and just would like a couple questions answered please
1. When I look at a file (in this case 'fedora.repo') in the /etc/yum.repos.d directory, there is a line which says 'enabled=0'
Does this mean that this mean that yum does not use this rpm repository when searching for files?...
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
2. if i manually download an rpm (because i couldnt find it using the current repositories i have), how would i know what programs where installed? and how could i uninstall it? do rpm's write uninstall/install details to some file that i dont know of?
3. how do i go about adding more repositories to the yum package manager? (so that i can easily search with add/remove software)
4. Can anyone inform me of some good repositories to add? or where to find some? preferably an up-to-date repository.
Also, I dont mind using command lines etc. I just find GUIs easier to work with.
- 09-21-2009 #2
- Yes it means that the repository is disabled. If the line is "enabled="1", then the repository is enabled.
- Use for installed packages. For rpms that have not yet been installed but are downloaded somewhere on your systemCode:
rpm -ql PackageName
Code:rpm -qlp PackageName-$version.rpm
- Use a release rpm from a repository maintainer. If you install the release rpm, the repos are automatically setup. If you uninstall the release rpm, the repos are removed as well. You can also copy *.repo files to /etc/yum.repos.d.
- A good one for Fedora is RPMFusion. Remember not to mix too many repositories because this can cause package conflicts and in extreme cases result in broken installations.
Last edited by daark.child; 09-21-2009 at 05:56 PM. Reason: fix a typo
- 09-21-2009 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 5
thanks daark.child,
I usedto try and find all installed packages. But this instead gave me a list of many files, some of which said 'xxx is uninstalled' others are just 'xxx' where xxx is a pathname. This is understandable as -q is a querie and -l (ell) is is list. meaning that all packages were displayed, correct? Is there some part im missing? I dont want to querie for each rpm and check if its installed, i would like to view all rpms that are currently installed.Code:rpm -ql *
Also, I triedand found a lot of .patch files. isnt that command supposed to find .rpm's on my HDD?Code:rpm -qlp *.rpm
Also, if i used yum to install an rpm, would the correct files be updated? and would it be possible for the add/remove software package manager to display the rpm like it does with all the others (ie, could i easily uninstall it and see it in the package manager GUI?)
- 09-21-2009 #4
rpm -ql lists the files a package has installed. If you want to list all installed packages
rpm(8): RPM Package Manager - Linux man pageCode:rpm -qa
RPM Cheat Sheet Tux Training
- 09-21-2009 #5
Sorry I assumed you wanted to know the files installed by a specific rpm. Use the command posted by reed9 to find out the packages installed via rpm on your system. There is a database in /var/lib/rpm and on my system the db name is named __db.000.
- 09-21-2009 #6Just Joined!
- Join Date
- Sep 2009
- Posts
- 5
okay thanks reed0 and daark.child
it works. Sorry for my newbie questions :P


