Re: Install packages with just what is needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 28 Nov 2015 09:07:57 -0600, anlarye wrote:

> ​Is there a way to install a package with just the bare minimum required
> packages?

You may want to learn about runtime requirements and RPM package dependencies
before starting a topic with such a question.

> I am running a XFCE spin of Fedora 23. I wanted to install kvirc on the
> box. But when I go through dnf install kvirc, the list ends up being about
> 38 additional packages. I doubt that all of them are needed for kvirc to
> run.
> 
> So how do I get kvirc and just what it needs in order to work properly?

What does it need?
How do you tell?

Let's take a brief look at the packages:

  Information for RPM kvirc-4.2.0-16.fc23.x86_64.rpm
  http://koji.fedoraproject.org/koji/rpminfo?rpmID=6418864

Scroll a bit down to the column (at the left side) which says "Requires".
Almost all of those are automatic dependencies on shared libraries required
at runtime. The package tools find the packages which provide those "things"
the kvirc package requires. Look at the package source file:

  http://pkgs.fedoraproject.org/cgit/kvirc.git/plain/kvirc.spec

It adds no manual dependencies. There are no "explicit Requires" tags in the
spec file except for a conditional line to require a minimum version of KDE 4.

So, which dependencies do you think are _not_ needed?
Perhaps you have in mind libraries, which may be searched for at runtime and would
be linked with only when the program wants to call out to the library interface
actually?
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux