Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StephenGennard opened this issue Jun 20, 2024 · 2 comments
Labels

Comments

@StephenGennard
Copy link

StephenGennard commented Jun 20, 2024

The following commands are missing but are available:

  • tree
  • bzip2
  • dialog
  • ncdu
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:

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.

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.
@samruddhikhandale
Copy link
Member

Hi 👋

The utilities tree, bzip2, dialog, and ncdu are commonly used in Unix-like operating systems for various tasks related to file and directory management, compression, and user interface creation in shell scripts. Feel free to open a PR if you are interested. Thanks!

StephenGennard added a commit to StephenGennard/devcontainers-features-1012 that referenced this issue Jul 3, 2024
Add tree, bzip2 and dialog
 - partial fix for devcontainers#1012
@StephenGennard
Copy link
Author

see #1029

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants