Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1783903

Summary: Does coreutils really depend on ncurses?
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: coreutilsAssignee: Kamil Dudka <kdudka>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: admiller, fedoraproject, jamartis, jarodwilson, kdudka, kzak, ooprala, ovasik, p, sebastian.kisela, svashisht, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-06 13:33:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1269538, 1734342    

Description Peter Robinson 2019-12-16 08:57:39 UTC
It doesn't look like coreutils 8.31 depends on ncurses any longer. Is there a reason that it depends on ncurses? Could it be made a weak dependency?

Comment 1 Kamil Dudka 2019-12-16 09:46:44 UTC
/etc/profile.d/colorls.{csh,sh} use /usr/bin/tput which is installed by ncurses.  See bug #469277.

You can install coreutils-single instead of coreutils to get rid of ncurses as well as other unnecessary dependencies.

Comment 2 Peter Robinson 2019-12-16 14:03:07 UTC
(In reply to Kamil Dudka from comment #1)
> /etc/profile.d/colorls.{csh,sh} use /usr/bin/tput which is installed by
> ncurses.  See bug #469277.
> 
> You can install coreutils-single instead of coreutils to get rid of ncurses
> as well as other unnecessary dependencies.

Other than the profile.d/colorls.* what else doesn't coreutils-single provide?

Comment 3 Pádraig Brady 2019-12-16 22:38:04 UTC
All utils are compiled to a single binary (like busybox).
sha*sum are slower as doesn't depend on openssl
expr/factor limited to machine width ints as doesn't depend on gmp

Comment 4 Kamil Dudka 2020-01-06 13:33:20 UTC
This was a question, not a bug of the coreutils package.  Closing...