devcontainers / devcontainers/features
common-utils: Red Hat distros are missing various commands but are available
- Lenguaje dominante
- Shell
- Estrellas
- 1.5k
- Forks
- 621
- Merge medio
- 6 d 53 min
- PR fusionados (30 d)
- 9
Descripción
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.
````
Guía de contribución
Línea de trabajo
Comienza localizando la lógica de instalación de paquetes de la feature common-utils y la lista de paquetes específica de Red Hat. Comprueba cómo se gestionan tree, bzip2, dialog y ncdu, incluido el requisito de EPEL descrito para ncdu. La tarea estará terminada cuando estos comandos estén disponibles en contenedores basados en Red Hat compatibles y la validación existente de la feature pase correctamente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- linux, shell
- Área
- devops
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100