So, I’ve recently jumped to Fedora after considerable time on Ubuntu/Debian.
I’m trying to learn the ropes.
I’ve had reasonable success with dnf and some .rpm files.
I’m trying to install vice Commodore Emulator and have a .rpm file.
When doing an rpm -i of the file, I get a long list of dependencies.
I then go to look for those dependencies and see that they too have dependencies.
Is there a quicker way than manually searching and installing a seemingly neverending tree of dependencies? (This could turn into a several hour/day job to install one single application!)
Is there a magical way to have it search a repository and install all that is required?
Hi @uberlinc , welcome to the community
Please do take a look at the introductory posts in the #start-here category if you’ve not had a chance to do so yet.
Yes: use dnf
dnf install <path to rpm file>
will install the rpm, and resolve all dependencies from the repositories. This is the primary difference between rpm and dnf. rpm does not know about repositories, but dnf does. So dnf can pull in whatever dependencies are necessary from them (as long as they are present there).