devcontainers / devcontainers/features

common-utils: Red Hat distros are missing various commands but are available

Open
#1,012 2 comments 0 reactions 0 assignees View on GitHub
backlog
Dominant language
Shell
Stars
1.5k
Forks
621
Avg merge
2d 11h
Merged PRs (30d)
4

Description

The following commands are missing but are available:

- tree
- bzip2
- dialog
- ncdu

````shell
root ➜ /workspaces/HelloWorld $ sudo microdnf -y install tree bzip2 dialo
g
Package Repository Size
Installing:
bzip2-1.0.8-8.el9.x86_64 baseos 53.1 kB
dialog-1.3-32.20210117.el9.0.1.x86_64 appstream 244.6 kB
tree-1.8.0-10.el9.x86_64 baseos 56.1 kB
Transaction Summary:
Installing: 3 packages
Reinstalling: 0 packages
Upgrading: 0 packages
Obsoleting: 0 packages
Removing: 0 packages
Downgrading: 0 packages
Downloading packages...
Running transaction test...
Installing: dialog;1.3-32.20210117.el9.0.1;x86_64;appstream
Installing: tree;1.8.0-10.el9;x86_64;baseos
Installing: bzip2;1.0.8-8.el9;x86_64;baseos
Complete.
````

Validated on:

````shell
root ➜ /workspaces/HelloWorld $ sudo microdnf -y install tree bzip2 dialo
g
Package Repository Size
Installing:
bzip2-1.0.8-8.el9.x86_64 baseos 53.1 kB
dialog-1.3-32.20210117.el9.0.1.x86_64 appstream 244.6 kB
tree-1.8.0-10.el9.x86_64 baseos 56.1 kB
Transaction Summary:
Installing: 3 packages
Reinstalling: 0 packages
Upgrading: 0 packages
Obsoleting: 0 packages
Removing: 0 packages
Downgrading: 0 packages
Downloading packages...
Running transaction test...
Installing: dialog;1.3-32.20210117.el9.0.1;x86_64;appstream
Installing: tree;1.8.0-10.el9;x86_64;baseos
Installing: bzip2;1.0.8-8.el9;x86_64;baseos
Complete.
````

For ncdu, it's a bit more tricky.. but can be done.
````shell
bash-5.1# microdnf install -y epel-release
Downloading metadata...
Downloading metadata...
Downloading metadata...
Package Repository Size
Installing:
epel-release-9-7.el9.noarch extras 19.2 kB
Transaction Summary:
Installing: 1 packages
Reinstalling: 0 packages
Upgrading: 0 packages
Obsoleting: 0 packages
Removing: 0 packages
Downgrading: 0 packages
Downloading packages...
Running transaction test...
Installing: epel-release;9-7.el9;noarch;extras
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
Complete.
bash-5.1# microdnf install -y ncdu
Downloading metadata...
Downloading metadata...
Package Repository Size
Installing:
ncdu-1.20-1.el9.x86_64 epel 61.5 kB
Transaction Summary:
Installing: 1 packages
Reinstalling: 0 packages
Upgrading: 0 packages
Obsoleting: 0 packages
Removing: 0 packages
Downgrading: 0 packages
Downloading packages...
Running transaction test...
Installing: ncdu;1.20-1.el9;x86_64;epel
Complete.
````

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.