Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
elearning:workbooks:redhat:rh124:l106 [2024/09/25 08:00] – created admin | elearning:workbooks:redhat:rh124:l106 [2024/10/24 10:48] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
- | ======LCF502 | + | ======RH12407 |
=====Contenu du Module===== | =====Contenu du Module===== | ||
- | * **LCF502 | + | * **RH12407 |
* Contenu du Module | * Contenu du Module | ||
- | * LAB #1 - Compiler à partir des sources | + | * LAB #1 - La commande rpm |
- | * 1.1 - ./configure | + | * 1.1 - Configuration |
- | * 1.2 - make | + | * 1.2 - Utilisation |
- | * 1.3 - make check | + | * LAB #2 - La commande dnf |
- | * 1.4 - make install | + | * 2.1 - Présentation |
- | * LAB #2 - La commande rpm | + | * 2.2 - Configuration |
- | * 2.1 - Configuration | + | * 2.3 - Dépôts |
- | * 2.2 - Utilisation | + | * 2.4 - Rechercher des Paquets |
- | * LAB #3 - La commande dnf | + | * 2.5 - Obtenir de l' |
+ | * 2.6 - Installer un Paquet | ||
+ | * 2.7 - Mettre à jour des Paquets | ||
+ | * 2.8 - Supprimer des Paquets | ||
+ | * 2.9 - L' | ||
+ | * 2.10 - Le Dépôt Application Stream | ||
+ | * LAB #3 - Les Bibliothèques Partagées | ||
* 3.1 - Présentation | * 3.1 - Présentation | ||
- | * 3.2 - Configuration | ||
- | * 3.3 - Dépôts | ||
- | * 3.4 - Rechercher des Paquets | ||
- | * 3.5 - Obtenir de l' | ||
- | * 3.6 - Installer un Paquet | ||
- | * 3.7 - Mettre à jour des Paquets | ||
- | * 3.8 - Supprimer des Paquets | ||
- | * LAB #4 - Les Bibliothèques Partagées | ||
- | * 4.1 - Présentation | ||
* Introduction | * Introduction | ||
* Stockage | * Stockage | ||
* ld-linux.so.2 | * ld-linux.so.2 | ||
- | * 4.2 - La Commande ldd | + | * 3.2 - La Commande ldd |
- | * 4.3 - Le fichier / | + | * 3.3 - Le fichier / |
- | * 4.4 - La Commande ldconfig | + | * 3.4 - La Commande ldconfig |
- | =====LAB #1 - Compiler à partir des sources===== | + | =====LAB #1 - La commande rpm===== |
- | + | ||
- | Historiquement il était nécessaire d' | + | |
- | + | ||
- | Pour comprendre ce qui est la compilation d'un logiciel, commencez par télécharger le logiciel hello : | + | |
- | + | ||
- | < | + | |
- | [root@centos8 ~]# wget https:// | + | |
- | --2021-04-20 16: | + | |
- | Resolving ftp.gnu.org (ftp.gnu.org)... 209.51.188.20, | + | |
- | Connecting to ftp.gnu.org (ftp.gnu.org)|209.51.188.20|: | + | |
- | HTTP request sent, awaiting response... 200 OK | + | |
- | Length: 389363 (380K) [application/ | + | |
- | Saving to: ‘hello-2.1.1.tar.gz’ | + | |
- | + | ||
- | hello-2.1.1.tar.gz | + | |
- | + | ||
- | 2021-04-20 16:56:19 (941 KB/s) - ‘hello-2.1.1.tar.gz’ saved [389363/ | + | |
- | </ | + | |
- | + | ||
- | Ensuite désarchivez le logiciel : | + | |
- | + | ||
- | < | + | |
- | [root@centos8 ~]# tar xvf hello-2.1.1.tar.gz | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | hello-2.1.1/ | + | |
- | </ | + | |
- | + | ||
- | Changez de répertoire : | + | |
- | + | ||
- | < | + | |
- | [root@centos8 ~]# cd hello-2.1.1/ | + | |
- | </ | + | |
- | + | ||
- | A l' | + | |
- | + | ||
- | < | + | |
- | [root@centos8 hello-2.1.1]# | + | |
- | Copyright 1994, 1995, 1996, 1999, 2000, 2001 Free Software Foundation, | + | |
- | Inc. | + | |
- | + | ||
- | This file is free documentation; | + | |
- | unlimited permission to copy, distribute and modify it. | + | |
- | + | ||
- | Basic Installation | + | |
- | ================== | + | |
- | + | ||
- | These are generic installation instructions. | + | |
- | + | ||
- | The `configure' | + | |
- | various system-dependent variables used during compilation. | + | |
- | those values to create a `Makefile' | + | |
- | It may also create one or more `.h' files containing system-dependent | + | |
- | definitions. | + | |
- | you can run in the future to recreate the current configuration, | + | |
- | file `config.log' | + | |
- | debugging `configure' | + | |
- | + | ||
- | It can also use an optional file (typically called `config.cache' | + | |
- | and enabled with `--cache-file=config.cache' | + | |
- | the results of its tests to speed up reconfiguring. | + | |
- | disabled by default to prevent problems with accidental use of stale | + | |
- | cache files.) | + | |
- | --Plus--(11%) | + | |
- | </ | + | |
- | + | ||
- | La procédure expliquée est celle utilisée pour la plupart des installations manuelles, à savoir la saisie des quatre commandes suivantes. | + | |
- | + | ||
- | ====1.1 - ./ | + | |
- | + | ||
- | <WRAP center round important> | + | |
- | **Important** : **configure** est un script chargé de créer les **// | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | [root@centos8 hello-2.1.1]# | + | |
- | checking for a BSD-compatible install... / | + | |
- | checking whether build environment is sane... yes | + | |
- | checking for gawk... gawk | + | |
- | checking whether make sets ${MAKE}... yes | + | |
- | checking for gcc... gcc | + | |
- | checking for C compiler default output... a.out | + | |
- | checking whether the C compiler works... yes | + | |
- | checking whether we are cross compiling... no | + | |
- | checking for suffix of executables... | + | |
- | checking for suffix of object files... o | + | |
- | checking whether we are using the GNU C compiler... yes | + | |
- | checking whether gcc accepts -g... yes | + | |
- | checking for style of include used by make... GNU | + | |
- | checking dependency style of gcc... gcc3 | + | |
- | checking for strerror in -lcposix... no | + | |
- | checking how to run the C preprocessor... gcc -E | + | |
- | checking for ANSI C header files... yes | + | |
- | checking for sys/ | + | |
- | checking for sys/ | + | |
- | checking for stdlib.h... yes | + | |
- | checking for string.h... yes | + | |
- | checking for memory.h... yes | + | |
- | checking for strings.h... yes | + | |
- | checking for inttypes.h... yes | + | |
- | checking for stdint.h... yes | + | |
- | checking for unistd.h... yes | + | |
- | checking for string.h... (cached) yes | + | |
- | checking fcntl.h usability... yes | + | |
- | checking fcntl.h presence... yes | + | |
- | checking for fcntl.h... yes | + | |
- | checking sys/file.h usability... yes | + | |
- | checking sys/file.h presence... yes | + | |
- | checking for sys/ | + | |
- | checking sys/param.h usability... yes | + | |
- | checking sys/param.h presence... yes | + | |
- | checking for sys/ | + | |
- | checking for working alloca.h... yes | + | |
- | checking for alloca... yes | + | |
- | checking for struct stat.st_blksize... yes | + | |
- | checking for msgfmt... / | + | |
- | checking for gmsgfmt... / | + | |
- | checking for xgettext... / | + | |
- | checking for msgmerge... / | + | |
- | checking build system type... x86_64-unknown-linux | + | |
- | checking host system type... x86_64-unknown-linux | + | |
- | checking for ranlib... ranlib | + | |
- | checking for gcc option to accept ANSI C... none needed | + | |
- | checking for an ANSI C-conforming const... yes | + | |
- | checking for inline... inline | + | |
- | checking for off_t... yes | + | |
- | checking for size_t... yes | + | |
- | checking for stdlib.h... (cached) yes | + | |
- | checking for unistd.h... (cached) yes | + | |
- | checking for getpagesize... yes | + | |
- | checking for working mmap... yes | + | |
- | checking whether we are using the GNU C Library 2.1 or newer... yes | + | |
- | checking for ld used by GCC... /bin/ld | + | |
- | checking if the linker (/bin/ld) is GNU ld... yes | + | |
- | checking for shared library run path origin... done | + | |
- | checking for iconv... yes | + | |
- | checking argz.h usability... yes | + | |
- | checking argz.h presence... yes | + | |
- | checking for argz.h... yes | + | |
- | checking limits.h usability... yes | + | |
- | checking limits.h presence... yes | + | |
- | checking for limits.h... yes | + | |
- | checking locale.h usability... yes | + | |
- | checking locale.h presence... yes | + | |
- | checking for locale.h... yes | + | |
- | checking nl_types.h usability... yes | + | |
- | checking nl_types.h presence... yes | + | |
- | checking for nl_types.h... yes | + | |
- | checking malloc.h usability... yes | + | |
- | checking malloc.h presence... yes | + | |
- | checking for malloc.h... yes | + | |
- | checking stddef.h usability... yes | + | |
- | checking stddef.h presence... yes | + | |
- | checking for stddef.h... yes | + | |
- | checking for stdlib.h... (cached) yes | + | |
- | checking for string.h... (cached) yes | + | |
- | checking for unistd.h... (cached) yes | + | |
- | checking for sys/ | + | |
- | checking for feof_unlocked... yes | + | |
- | checking for fgets_unlocked... yes | + | |
- | checking for getc_unlocked... yes | + | |
- | checking for getcwd... yes | + | |
- | checking for getegid... yes | + | |
- | checking for geteuid... yes | + | |
- | checking for getgid... yes | + | |
- | checking for getuid... yes | + | |
- | checking for mempcpy... yes | + | |
- | checking for munmap... yes | + | |
- | checking for putenv... yes | + | |
- | checking for setenv... yes | + | |
- | checking for setlocale... yes | + | |
- | checking for stpcpy... yes | + | |
- | checking for strcasecmp... yes | + | |
- | checking for strdup... yes | + | |
- | checking for strtoul... yes | + | |
- | checking for tsearch... yes | + | |
- | checking for __argz_count... yes | + | |
- | checking for __argz_stringify... yes | + | |
- | checking for __argz_next... yes | + | |
- | checking for iconv declaration... | + | |
- | | + | |
- | checking for nl_langinfo and CODESET... yes | + | |
- | checking for LC_MESSAGES... yes | + | |
- | checking for bison... no | + | |
- | checking whether NLS is requested... yes | + | |
- | checking whether included gettext is requested... no | + | |
- | checking for GNU gettext in libc... yes | + | |
- | checking for perl... perl | + | |
- | configure: creating ./ | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | config.status: | + | |
- | </ | + | |
- | + | ||
- | ====1.2 - make==== | + | |
- | + | ||
- | <WRAP center round important> | + | |
- | **Important** : **make** sert à appeler des commandes créant des fichiers nécessaires à l' | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | [root@centos8 hello-2.1.1]# | + | |
- | make all-recursive | + | |
- | make[1]: Entering directory `/ | + | |
- | Making all in contrib | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `all' | + | |
- | make[2]: Leaving directory `/ | + | |
- | Making all in doc | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `all' | + | |
- | make[2]: Leaving directory `/ | + | |
- | Making all in intl | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `all' | + | |
- | make[2]: Leaving directory `/ | + | |
- | Making all in po | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `all' | + | |
- | make[2]: Leaving directory `/ | + | |
- | Making all in src | + | |
- | make[2]: Entering directory `/ | + | |
- | source=' | + | |
- | depfile=' | + | |
- | depmode=gcc3 /bin/sh ../depcomp \ | + | |
- | gcc -DLOCALEDIR=\"/ | + | |
- | source=' | + | |
- | depfile=' | + | |
- | depmode=gcc3 /bin/sh ../depcomp \ | + | |
- | gcc -DLOCALEDIR=\"/ | + | |
- | source=' | + | |
- | depfile=' | + | |
- | depmode=gcc3 /bin/sh ../depcomp \ | + | |
- | gcc -DLOCALEDIR=\"/ | + | |
- | source=' | + | |
- | depfile=' | + | |
- | depmode=gcc3 /bin/sh ../depcomp \ | + | |
- | gcc -DLOCALEDIR=\"/ | + | |
- | gcc -g -O2 -o hello hello.o version.o getopt.o getopt1.o | + | |
- | make[2]: Leaving directory `/ | + | |
- | Making all in man | + | |
- | make[2]: Entering directory `/ | + | |
- | perl help2man --name=" | + | |
- | make[2]: Leaving directory `/ | + | |
- | Making all in m4 | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `all' | + | |
- | make[2]: Leaving directory `/ | + | |
- | Making all in tests | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `all' | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | </ | + | |
- | + | ||
- | ====1.3 - make check==== | + | |
- | + | ||
- | <WRAP center round important> | + | |
- | **Important** : **make check** permet de vérifier si la commande **make** a bien fonctionné. | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | [root@centos8 hello-2.1.1]# | + | |
- | Making check in contrib | + | |
- | make[1]: Entering directory `/ | + | |
- | make[1]: Nothing to be done for `check' | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making check in doc | + | |
- | make[1]: Entering directory `/ | + | |
- | make[1]: Nothing to be done for `check' | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making check in intl | + | |
- | make[1]: Entering directory `/ | + | |
- | make[1]: Nothing to be done for `check' | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making check in po | + | |
- | make[1]: Entering directory `/ | + | |
- | make[1]: Nothing to be done for `check' | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making check in src | + | |
- | make[1]: Entering directory `/ | + | |
- | make[1]: Nothing to be done for `check' | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making check in man | + | |
- | make[1]: Entering directory `/ | + | |
- | make[1]: Nothing to be done for `check' | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making check in m4 | + | |
- | make[1]: Entering directory `/ | + | |
- | make[1]: Nothing to be done for `check' | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making check in tests | + | |
- | make[1]: Entering directory `/ | + | |
- | make check-TESTS | + | |
- | make[2]: Entering directory `/ | + | |
- | PASS: hello-1 | + | |
- | PASS: world-1 | + | |
- | PASS: nothing-1 | + | |
- | ================== | + | |
- | All 3 tests passed | + | |
- | ================== | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | make[1]: Entering directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | </ | + | |
- | + | ||
- | ====1.4 - make install==== | + | |
- | + | ||
- | <WRAP center round important> | + | |
- | **Important** : **make install** sert à installer le logiciel. | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | [root@centos8 hello-2.1.1]# | + | |
- | Making install in contrib | + | |
- | make[1]: Entering directory `/ | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `install-exec-am' | + | |
- | make[2]: Nothing to be done for `install-data-am' | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making install in doc | + | |
- | make[1]: Entering directory `/ | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `install-exec-am' | + | |
- | /bin/sh ../ | + | |
- | mkdir -p -- / | + | |
- | / | + | |
- | | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making install in intl | + | |
- | make[1]: Entering directory `/ | + | |
- | if test " | + | |
- | && | + | |
- | /bin/sh `case " | + | |
- | / | + | |
- | @LIBTOOL@ --mode=install \ | + | |
- | / | + | |
- | else \ | + | |
- | : ; \ | + | |
- | fi | + | |
- | if test ' | + | |
- | test yes != no || /bin/sh `case " | + | |
- | temp=/ | + | |
- | dest=/ | + | |
- | if test -f / | + | |
- | orig=/ | + | |
- | sed -f ref-add.sed $orig > $temp; \ | + | |
- | / | + | |
- | rm -f $temp; \ | + | |
- | else \ | + | |
- | if test yes = no; then \ | + | |
- | orig=charset.alias; | + | |
- | sed -f ref-add.sed $orig > $temp; \ | + | |
- | / | + | |
- | rm -f $temp; \ | + | |
- | fi; \ | + | |
- | fi; \ | + | |
- | /bin/sh `case " | + | |
- | test -f / | + | |
- | && orig=/ | + | |
- | || orig=./ | + | |
- | temp=/ | + | |
- | dest=/ | + | |
- | sed -f ref-add.sed $orig > $temp; \ | + | |
- | / | + | |
- | rm -f $temp; \ | + | |
- | else \ | + | |
- | : ; \ | + | |
- | fi | + | |
- | if test " | + | |
- | /bin/sh `case " | + | |
- | / | + | |
- | / | + | |
- | dists=" | + | |
- | for file in $dists; do \ | + | |
- | / | + | |
- | / | + | |
- | done; \ | + | |
- | chmod a+x / | + | |
- | dists=" | + | |
- | for file in $dists; do \ | + | |
- | if test -f $file; then dir=.; else dir=.; fi; \ | + | |
- | / | + | |
- | / | + | |
- | done; \ | + | |
- | dists=" | + | |
- | for file in $dists; do \ | + | |
- | rm -f / | + | |
- | done; \ | + | |
- | else \ | + | |
- | : ; \ | + | |
- | fi | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making install in po | + | |
- | make[1]: Entering directory `/ | + | |
- | /bin/sh `case " | + | |
- | mkdir -p -- / | + | |
- | installing ca.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing da.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing de.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing de_DE.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing el.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing eo.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing es.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing et.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing fi.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing fr.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing gl.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing he.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing hr.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing hu.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing id.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing it.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing ja.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing ko.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing lv.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing nb.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing nl.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing nn.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing pl.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing pt.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing pt_BR.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing ru.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing sk.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing sl.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing sv.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing tr.gmo as / | + | |
- | mkdir -p -- / | + | |
- | installing uk.gmo as / | + | |
- | if test " | + | |
- | /bin/sh `case " | + | |
- | for file in Makefile.in.in Makevars remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot | + | |
- | / | + | |
- | / | + | |
- | done; \ | + | |
- | else \ | + | |
- | : ; \ | + | |
- | fi | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making install in src | + | |
- | make[1]: Entering directory `/ | + | |
- | make[2]: Entering directory `/ | + | |
- | /bin/sh ../ | + | |
- | / | + | |
- | make[2]: Nothing to be done for `install-data-am' | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making install in man | + | |
- | make[1]: Entering directory `/ | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `install-exec-am' | + | |
- | /bin/sh ../ | + | |
- | mkdir -p -- / | + | |
- | / | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making install in m4 | + | |
- | make[1]: Entering directory `/ | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `install-exec-am' | + | |
- | make[2]: Nothing to be done for `install-data-am' | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | Making install in tests | + | |
- | make[1]: Entering directory `/ | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `install-exec-am' | + | |
- | make[2]: Nothing to be done for `install-data-am' | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | make[1]: Entering directory `/ | + | |
- | make[2]: Entering directory `/ | + | |
- | make[2]: Nothing to be done for `install-exec-am' | + | |
- | make[2]: Nothing to be done for `install-data-am' | + | |
- | make[2]: Leaving directory `/ | + | |
- | make[1]: Leaving directory `/ | + | |
- | </ | + | |
- | + | ||
- | Il convient maintenant de tester le nouveau logiciel : | + | |
- | + | ||
- | < | + | |
- | [root@centos8 hello-2.1.1]# | + | |
- | Hello, world! | + | |
- | </ | + | |
- | + | ||
- | Le logiciel hello a été correctement installé. | + | |
- | + | ||
- | =====LAB #2 - La commande rpm===== | + | |
Afin de faciliter l' | Afin de faciliter l' | ||
Ligne 771: | Ligne 41: | ||
< | < | ||
- | [root@centos8 hello-2.1.1]# | + | [root@redhat9 |
- | [root@centos8 | + | |
Usage: rpm [OPTION...] | Usage: rpm [OPTION...] | ||
Query/ | Query/ | ||
-a, --all query/ | -a, --all query/ | ||
- | -f, --file | + | -f, --file |
+ | --path | ||
-g, --group | -g, --group | ||
-p, --package | -p, --package | ||
Ligne 783: | Ligne 53: | ||
--hdrid | --hdrid | ||
--triggeredby | --triggeredby | ||
- | --whatconflicts | + | --whatconflicts |
--whatrequires | --whatrequires | ||
--whatobsoletes | --whatobsoletes | ||
Ligne 792: | Ligne 62: | ||
--whatenhances | --whatenhances | ||
--nomanifest | --nomanifest | ||
+ | |||
+ | Query/ | ||
+ | -c, --configfiles | ||
+ | -d, --docfiles | ||
+ | -L, --licensefiles | ||
+ | -A, --artifactfiles | ||
+ | --noghost | ||
+ | --noconfig | ||
+ | --noartifact | ||
Query options (with -q or --query): | Query options (with -q or --query): | ||
- | -c, --configfiles | ||
- | -d, --docfiles | ||
- | -L, --licensefiles | ||
- | -A, --artifactfiles | ||
--dump | --dump | ||
-l, --list | -l, --list | ||
Ligne 848: | Ligne 123: | ||
--target=CPU-VENDOR-OS | --target=CPU-VENDOR-OS | ||
--macros=< | --macros=< | ||
+ | --load=< | ||
--noplugins | --noplugins | ||
--nodigest | --nodigest | ||
Ligne 894: | Ligne 170: | ||
</ | </ | ||
- | ====2.1 - Configuration==== | + | ====1.1 - Configuration==== |
Le fichier de configuration principal de la commande rpm est **/ | Le fichier de configuration principal de la commande rpm est **/ | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
#/*! \page config_rpmrc Default configuration: | #/*! \page config_rpmrc Default configuration: | ||
# \verbatim | # \verbatim | ||
Ligne 955: | Ligne 231: | ||
optflags: parisc -O2 -g -mpa-risc-1-0 | optflags: parisc -O2 -g -mpa-risc-1-0 | ||
optflags: hppa1.0 -O2 -g -mpa-risc-1-0 | optflags: hppa1.0 -O2 -g -mpa-risc-1-0 | ||
- | optflags: hppa1.1 -O2 -g -mpa-risc-1-0 | + | --More--(10%) |
- | optflags: hppa1.2 -O2 -g -mpa-risc-1-0 | + | [q] |
- | --More--(11%) | + | |
</ | </ | ||
Ligne 963: | Ligne 238: | ||
Par exemple, la directive **buildarchtranslate: | Par exemple, la directive **buildarchtranslate: | ||
- | ====2.2 - Utilisation==== | + | ====1.2 - Utilisation==== |
Afin de connaître la liste des paquets installés sur la machine, il convient de saisir la commande suivante dans une console en tant que root : | Afin de connaître la liste des paquets installés sur la machine, il convient de saisir la commande suivante dans une console en tant que root : | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | dracut-squash-049-95.git20200804.el8_3.4.x86_64 | + | fonts-filesystem-2.0.5-7.el9.1.noarch |
- | gnutls-dane-3.6.14-8.el8_3.x86_64 | + | xkeyboard-config-2.33-2.el9.noarch |
- | mtr-0.92-3.el8.x86_64 | + | abattis-cantarell-fonts-0.301-4.el9.noarch |
- | fontpackages-filesystem-1.44-22.el8.noarch | + | yelp-xsl-40.2-1.el9.noarch |
- | dhcp-libs-4.3.6-41.el8.x86_64 | + | mozilla-filesystem-1.9-30.el9.x86_64 |
- | alsa-lib-1.2.3.2-1.el8.x86_64 | + | google-noto-fonts-common-20201206-4.el9.noarch |
- | geolite2-city-20180605-1.el8.noarch | + | foomatic-db-filesystem-4.0-72.20210209.el9.noarch |
- | cockpit-ws-224.2-1.el8.x86_64 | + | adobe-mappings-cmap-20171205-12.el9.noarch |
- | python3-dbus-1.2.4-15.el8.x86_64 | + | subscription-manager-rhsm-certificates-20220623-1.el9.noarch |
- | libvirt-daemon-config-network-6.0.0-28.1.module_el8.3.0+755+88436ea4.x86_64 | + | libreport-filesystem-2.15.2-6.el9.noarch |
- | samba-client-libs-4.12.3-12.el8.3.x86_64 | + | adobe-mappings-cmap-deprecated-20171205-12.el9.noarch |
- | libICE-1.0.9-15.el8.x86_64 | + | adobe-source-code-pro-fonts-2.030.1.050-12.el9.1.noarch |
- | bind-license-9.11.20-5.el8_3.1.noarch | + | dejavu-sans-mono-fonts-2.37-18.el9.noarch |
- | dnf-4.2.23-4.el8.noarch | + | dejavu-sans-fonts-2.37-18.el9.noarch |
- | at-spi2-core-2.28.0-1.el8.x86_64 | + | langpacks-core-font-en-3.0-16.el9.noarch |
- | libssh-config-0.9.4-2.el8.noarch | + | google-droid-sans-fonts-20200215-11.el9.2.noarch |
- | bzip2-libs-1.0.6-26.el8.x86_64 | + | thai-scalable-fonts-common-0.7.2-5.el9.noarch |
- | python3-syspurpose-1.27.16-1.el8.x86_64 | + | redhat-indexhtml-9-4.el9_2.noarch |
- | perl-Unicode-Normalize-1.25-396.el8.x86_64 | + | poppler-data-0.4.9-9.el9.noarch |
- | centos-linux-release-8.3-1.2011.el8.noarch | + | mobile-broadband-provider-info-20210805-2.el9.noarch |
- | sssd-krb5-2.3.0-9.el8.x86_64 | + | man-pages-overrides-9.0.0.0-1.el9.noarch |
- | perl-MIME-Base64-3.15-396.el8.x86_64 | + | hunspell-filesystem-1.7.0-11.el9.x86_64 |
- | glibc-langpack-en-2.28-127.el8.x86_64 | + | hplip-common-3.21.2-6.el9.x86_64 |
- | libcollection-0.7.0-39.el8.x86_64 | + | gawk-all-langpacks-5.1.0-6.el9.x86_64 |
- | vim-filesystem-8.0.1763-15.el8.noarch | + | adwaita-cursor-theme-40.1.1-3.el9.noarch |
- | perl-Sys-Virt-6.0.0-1.module_el8.3.0+555+a55c8938.x86_64 | + | adobe-mappings-pdf-20180407-10.el9.noarch |
- | elfutils-libelf-0.180-1.el8.x86_64 | + | vim-filesystem-8.2.2637-20.el9_1.noarch |
- | vim-enhanced-8.0.1763-15.el8.x86_64 | + | rhsm-icons-6-1.el9.noarch |
- | kernel-modules-4.18.0-147.8.1.el8_1.x86_64 | + | filesystem-3.16-2.el9.x86_64 |
- | perl-Encode-2.97-3.el8.x86_64 | + | urw-base35-fonts-common-20200910-6.el9.noarch |
- | audit-libs-3.0-0.17.20191104git1c2f876.el8.x86_64 | + | basesystem-11-13.el9.noarch |
- | grub2-pc-2.02-90.el8_3.1.x86_64 | + | quota-nls-4.06-6.el9.noarch |
- | perl-libnet-3.11-3.el8.noarch | + | publicsuffix-list-dafsa-20210518-3.el9.noarch |
+ | pkgconf-m4-1.7.3-10.el9.noarch | ||
+ | popt-1.18-8.el9.x86_64 | ||
+ | xz-libs-5.2.5-8.el9_0.x86_64 | ||
+ | libxcrypt-4.4.18-3.el9.x86_64 | ||
+ | bzip2-libs-1.0.8-8.el9.x86_64 | ||
+ | libzstd-1.5.1-2.el9.x86_64 | ||
+ | libpng-1.6.37-12.el9.x86_64 | ||
+ | libcap-ng-0.8.2-7.el9.x86_64 | ||
+ | libicu-67.1-9.el9.x86_64 | ||
+ | libunistring-0.9.10-15.el9.x86_64 | ||
+ | libgpg-error-1.42-5.el9.x86_64 | ||
+ | libseccomp-2.5.2-2.el9.x86_64 | ||
+ | lcms2-2.12-3.el9.x86_64 | ||
+ | readline-8.1-4.el9.x86_64 | ||
+ | libwayland-client-1.21.0-1.el9.x86_64 | ||
+ | libwayland-server-1.21.0-1.el9.x86_64 | ||
+ | jansson-2.14-1.el9.x86_64 | ||
+ | libxkbcommon-1.0.3-4.el9.x86_64 | ||
+ | libwayland-egl-1.21.0-1.el9.x86_64 | ||
+ | keyutils-libs-1.6.3-1.el9.x86_64 | ||
+ | libdhash-0.5.0-53.el9.x86_64 | ||
+ | libXau-1.0.9-8.el9.x86_64 | ||
--More-- | --More-- | ||
+ | [q] | ||
</ | </ | ||
Ligne 1008: | Ligne 306: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | 802 | + | 1218 |
</ | </ | ||
Ligne 1015: | Ligne 313: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | platform-python-setuptools-39.2.0-6.el8.noarch | + | gnome-initial-setup-40.4-3.el9.x86_64 |
- | python3-setuptools-wheel-39.2.0-6.el8.noarch | + | setup-2.13.7-10.el9.noarch |
- | setup-2.12.2-6.el8.noarch | + | python3-setuptools-wheel-53.0.0-12.el9_4.1.noarch |
- | cryptsetup-libs-2.3.3-2.el8.x86_64 | + | python3-setuptools-53.0.0-12.el9_4.1.noarch |
- | cryptsetup-2.3.3-2.el8.x86_64 | + | cryptsetup-libs-2.6.0-3.el9.x86_64 |
+ | cryptsetup-2.6.0-3.el9.x86_64 | ||
+ | ibus-setup-1.5.25-5.el9.noarch | ||
</ | </ | ||
- | Afin de connaître les détails du paquet **setup-2.8.71-4.el7.noarch**, il convient de saisir la commande suivante : | + | Afin de connaître les détails du paquet **setup-2.13.7-10.el9.noarch**, il convient de saisir la commande suivante : |
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
Name : setup | Name : setup | ||
- | Version | + | Version |
- | Release | + | Release |
Architecture: | Architecture: | ||
- | Install Date: Mon 19 Apr 2021 11:50:02 AM EDT | + | Install Date: Wed 25 Sep 2024 11:52:00 AM CEST |
Group : System Environment/ | Group : System Environment/ | ||
- | Size : 724837 | + | Size : 725932 |
License | License | ||
- | Signature | + | Signature |
- | Source RPM : setup-2.12.2-6.el8.src.rpm | + | Source RPM : setup-2.13.7-10.el9.src.rpm |
- | Build Date : Fri 15 May 2020 01:20:15 AM EDT | + | Build Date : Wed 07 Feb 2024 09:44:23 AM CET |
- | Build Host : aarch64-02.mbox.centos.org | + | Build Host : x86-64-01.build.eng.rdu2.redhat.com |
- | Relocations : (not relocatable) | + | Packager |
- | Packager | + | Vendor |
- | Vendor | + | |
URL : https:// | URL : https:// | ||
Summary | Summary | ||
Ligne 1052: | Ligne 351: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
/ | / | ||
/etc/bashrc | /etc/bashrc | ||
Ligne 1069: | Ligne 368: | ||
/ | / | ||
/etc/motd | /etc/motd | ||
+ | /etc/motd.d | ||
/ | / | ||
/etc/passwd | /etc/passwd | ||
Ligne 1084: | Ligne 384: | ||
/etc/subgid | /etc/subgid | ||
/etc/subuid | /etc/subuid | ||
+ | /run/motd | ||
+ | /run/motd.d | ||
+ | / | ||
+ | / | ||
+ | / | ||
/ | / | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | / | ||
</ | </ | ||
Ligne 1094: | Ligne 398: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | setup-2.12.2-6.el8.noarch | + | setup-2.13.7-10.el9.noarch |
</ | </ | ||
- | Pour connaître | + | Pour n' |
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /etc/motd | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /run/motd | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Pour n' | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# rpm -qd setup | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Pour n' | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# rpm -q --scripts setup | ||
+ | postinstall scriptlet (using < | ||
+ | for i, name in ipairs({" | ||
+ | | ||
+ | end | ||
+ | if posix.access("/ | ||
+ | os.execute("/ | ||
+ | end | ||
+ | </ | ||
+ | |||
+ | Pour visualiser le journal des modifications du paquet, utilisez les options **-q** et **--changelog** : | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# rpm -q --changelog setup | ||
+ | * Wed Feb 07 2024 Martin Osvald < | ||
+ | - csh.login: Add csh.local into foreach loop (RHEL-17226) | ||
+ | |||
+ | * Wed Dec 21 2022 Martin Osvald < | ||
+ | - make setup protected package (# | ||
+ | |||
+ | * Thu Nov 24 2022 Martin Osvald < | ||
+ | - Set default umask for non-login shell only if it is set to 0 (# | ||
+ | |||
+ | * Mon May 09 2022 Martin Osvald < | ||
+ | - Move / | ||
+ | - tcsh sets variable p to /usr/sbin from / | ||
+ | - bashrc: Don't set up VTE-specific PROMPT_COMMAND (# | ||
+ | </ | ||
+ | |||
+ | Pour connaître les fichiers modifiés depuis l' | ||
+ | |||
+ | < | ||
+ | # rpm -qV setup | ||
.M....G.. | .M....G.. | ||
</ | </ | ||
Ligne 1119: | Ligne 497: | ||
| Manquant | Fichier manquant | | | Manquant | Fichier manquant | | ||
- | <WRAP center round important> | + | <WRAP center round important |
**Important** : Un paquet rpm est un fichier cpio modifié. Pour pouvoir extraire le contenu d'un src.rpm et explorer l' | **Important** : Un paquet rpm est un fichier cpio modifié. Pour pouvoir extraire le contenu d'un src.rpm et explorer l' | ||
</ | </ | ||
- | =====LAB #3 - La commande dnf===== | + | =====LAB #2 - La commande dnf===== |
- | ====3.1 - Présentation==== | + | ====2.1 - Présentation==== |
- | **dnf** est une abréviation de **Dandified YUM**. Historiquement, | + | **dnf** est une abréviation de **Dandified YUM**. Historiquement, |
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | -rwxr-xr-x. 1 root root 1954 Aug 4 2020 / | + | lrwxrwxrwx. 1 root root 5 Oct 26 2023 /usr/bin/yum -> dnf-3 |
- | [root@centos8 | + | [root@redhat9 |
- | lrwxrwxrwx. 1 root root 5 Aug 4 2020 /usr/bin/yum -> dnf-3 | + | lrwxrwxrwx. 1 root root 5 Oct 26 2023 /usr/bin/dnf -> dnf-3 |
- | [root@centos8 | + | [root@redhat9 |
- | lrwxrwxrwx. 1 root root 5 Aug 4 2020 /usr/bin/dnf -> dnf-3 | + | -rwxr-xr-x. 1 root root 2094 Oct 26 2023 / |
</ | </ | ||
Ligne 1155: | Ligne 533: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
+ | Updating Subscription Management repositories. | ||
usage: dnf [options] COMMAND | usage: dnf [options] COMMAND | ||
Ligne 1165: | Ligne 544: | ||
check-update | check-update | ||
clean | clean | ||
- | deplist | + | deplist |
distro-sync | distro-sync | ||
downgrade | downgrade | ||
Ligne 1200: | Ligne 579: | ||
debuginfo-install | debuginfo-install | ||
download | download | ||
+ | groups-manager | ||
+ | kpatch | ||
needs-restarting | needs-restarting | ||
+ | offline-distrosync | ||
+ | offline-upgrade | ||
playground | playground | ||
repoclosure | repoclosure | ||
Ligne 1207: | Ligne 590: | ||
repomanage | repomanage | ||
reposync | reposync | ||
+ | system-upgrade | ||
+ | uploadprofile | ||
General DNF options: | General DNF options: | ||
Ligne 1222: | Ligne 607: | ||
disable plugins by name | disable plugins by name | ||
--releasever RELEASEVER | --releasever RELEASEVER | ||
- | override the value of $releasever in config and repo | + | override the value of $releasever in config and repo files |
- | | + | |
--setopt SETOPTS | --setopt SETOPTS | ||
--skip-broken | --skip-broken | ||
-h, --help, --help-cmd | -h, --help, --help-cmd | ||
show command help | show command help | ||
- | --allowerasing | + | --allowerasing |
- | | + | -b, --best |
- | -b, --best | + | |
- | | + | |
--nobest | --nobest | ||
-C, --cacheonly | -C, --cacheonly | ||
Ligne 1242: | Ligne 624: | ||
-e ERRORLEVEL, --errorlevel ERRORLEVEL | -e ERRORLEVEL, --errorlevel ERRORLEVEL | ||
error output level | error output level | ||
- | --obsoletes | + | --obsoletes |
- | | + | |
- | | + | |
--rpmverbosity [debug level name] | --rpmverbosity [debug level name] | ||
debugging output level for rpm | debugging output level for rpm | ||
-y, --assumeyes | -y, --assumeyes | ||
--assumeno | --assumeno | ||
- | --enablerepo [repo] | + | --enablerepo [repo] |
- | globs, can be specified multiple times. | + | --disablerepo [repo] |
- | --disablerepo [repo] | + | |
- | | + | |
--repo [repo], --repoid [repo] | --repo [repo], --repoid [repo] | ||
- | enable just specific repositories by an id or a glob, | + | enable just specific repositories by an id or a glob, can be specified multiple times |
- | | + | --enable |
- | --enable | + | --disable |
- | | + | |
- | --disable | + | |
- | | + | |
-x [package], --exclude [package], --excludepkgs [package] | -x [package], --exclude [package], --excludepkgs [package] | ||
exclude packages by name or glob | exclude packages by name or glob | ||
Ligne 1265: | Ligne 641: | ||
disable excludepkgs | disable excludepkgs | ||
--repofrompath [repo,path] | --repofrompath [repo,path] | ||
- | label and path to an additional repository to use | + | label and path to an additional repository to use (same path as in a baseurl), can be specified multiple times. |
- | | + | --noautoremove |
- | | + | |
- | --noautoremove | + | |
- | | + | |
--nogpgcheck | --nogpgcheck | ||
--color COLOR | --color COLOR | ||
Ligne 1284: | Ligne 657: | ||
--security | --security | ||
--advisory ADVISORY, --advisories ADVISORY | --advisory ADVISORY, --advisories ADVISORY | ||
- | Include packages needed to fix the given advisory, in | + | Include packages needed to fix the given advisory, in updates |
- | | + | |
--bz BUGZILLA, --bzs BUGZILLA | --bz BUGZILLA, --bzs BUGZILLA | ||
- | Include packages needed to fix the given BZ, in | + | Include packages needed to fix the given BZ, in updates |
- | | + | |
--cve CVES, --cves CVES | --cve CVES, --cves CVES | ||
- | Include packages needed to fix the given CVE, in | + | Include packages needed to fix the given CVE, in updates |
- | | + | |
--sec-severity {Critical, | --sec-severity {Critical, | ||
- | Include security relevant packages matching the | + | Include security relevant packages matching the severity, in updates |
- | | + | |
--forcearch ARCH Force the use of an architecture | --forcearch ARCH Force the use of an architecture | ||
</ | </ | ||
- | Avant de poursuivre, exécutez les deux commandes suivantes pour réparer les dépôts cassés : | + | ====2.2 - Configuration==== |
- | + | ||
- | < | + | |
- | [root@centos8 ~]# sed -i ' | + | |
- | [root@centos8 ~]# sed -i ' | + | |
- | </ | + | |
- | + | ||
- | ====3.2 - Configuration==== | + | |
La configuration principale de dnf est effectuée en éditant le fichier **/ | La configuration principale de dnf est effectuée en éditant le fichier **/ | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
[main] | [main] | ||
gpgcheck=1 | gpgcheck=1 | ||
Ligne 1322: | Ligne 684: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
total 4 | total 4 | ||
- | drwxr-xr-x. 2 root root | + | drwxr-xr-x. 2 root root |
- | -rw-r--r--. 1 root root 108 Jun 2 2020 dnf.conf | + | -rw-r--r--. 1 root root 108 Sep 9 2022 dnf.conf |
- | drwxr-xr-x. 2 root root 168 Apr 19 12:13 modules.d | + | drwxr-xr-x. 2 root root 6 Oct 26 2023 modules.d |
- | drwxr-xr-x. 2 root root | + | drwxr-xr-x. 2 root root |
- | drwxr-xr-x. 3 root root 89 Aug 4 2020 plugins | + | drwxr-xr-x. 3 root root 142 Sep 25 12:00 plugins |
- | drwxr-xr-x. 2 root root 93 Apr 19 11:52 protected.d | + | drwxr-xr-x. 2 root root 173 Sep 25 12:05 protected.d |
- | drwxr-xr-x. 2 root root | + | drwxr-xr-x. 2 root root 6 Oct 26 2023 vars |
</ | </ | ||
- | ====3.3 - Dépôts==== | + | ====2.3 - Dépôts==== |
- | <WRAP center round important> | + | <WRAP center round important |
**Important** : Un dépôt est un lieu de stockage de paquets binaires prêts à installer. Un dépôt peut être le DVD d' | **Important** : Un dépôt est un lieu de stockage de paquets binaires prêts à installer. Un dépôt peut être le DVD d' | ||
</ | </ | ||
Ligne 1342: | Ligne 704: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | CentOS-Linux-AppStream.repo | + | epel-cisco-openh264.repo epel-next.repo epel-next-testing.repo epel.repo |
- | CentOS-Linux-BaseOS.repo | + | |
- | CentOS-Linux-ContinuousRelease.repo | + | |
- | CentOS-Linux-Debuginfo.repo | + | |
- | CentOS-Linux-Devel.repo | + | |
- | CentOS-Linux-Extras.repo | + | |
- | CentOS-Linux-FastTrack.repo | + | |
- | CentOS-Linux-HighAvailability.repo | + | |
- | CentOS-Linux-Media.repo | + | |
</ | </ | ||
Ligne 1357: | Ligne 711: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | # CentOS-Linux-BaseOS.repo | + | |
# | # | ||
- | # The mirrorlist system uses the connecting IP address of the client and the | + | # Certificate-Based Repositories |
- | # update status of each mirror to pick current mirrors that are geographically | + | # Managed by (rhsm) subscription-manager |
- | # close to the client. | + | # |
- | # manually picking other mirrors. | + | # *** This file is auto-generated. |
+ | # *** Use " | ||
+ | # | ||
+ | # If this file is empty and this system is subscribed consider | ||
+ | # a "yum repolist" | ||
# | # | ||
- | # If the mirrorlist does not work for you, you can try the commented out | ||
- | # baseurl line instead. | ||
- | [baseos] | + | [rhel-9-for-x86_64-highavailability-eus-rpms] |
- | name=CentOS | + | name = Red Hat Enterprise |
- | mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& | + | baseurl |
- | #baseurl=http://mirror.centos.org/$contentdir/ | + | enabled |
- | gpgcheck=1 | + | gpgcheck |
- | enabled=1 | + | gpgkey |
- | gpgkey=file:/// | + | sslverify = 1 |
+ | sslcacert = / | ||
+ | sslclientkey = / | ||
+ | sslclientcert = / | ||
+ | sslverifystatus = 1 | ||
+ | metadata_expire = 86400 | ||
+ | enabled_metadata = 0 | ||
+ | |||
+ | [rhel-9-for-x86_64-resilientstorage-eus-rpms] | ||
+ | name = Red Hat Enterprise Linux 9 for x86_64 - Resilient Storage - Extended Update Support (RPMs) | ||
+ | baseurl = https://cdn.redhat.com/content/ | ||
+ | enabled = 0 | ||
+ | gpgcheck = 1 | ||
+ | gpgkey = file:/// | ||
+ | sslverify = 1 | ||
+ | sslcacert = / | ||
+ | sslclientkey = / | ||
+ | sslclientcert = / | ||
+ | sslverifystatus = 1 | ||
+ | metadata_expire = 86400 | ||
+ | enabled_metadata = 0 | ||
+ | |||
+ | [rhel-atomic-7-cdk-3.6-source-rpms] | ||
+ | name = Red Hat Container Development Kit 3.6 /(Source RPMs) | ||
+ | baseurl = https:// | ||
+ | enabled | ||
+ | gpgcheck | ||
+ | gpgkey = file:/// | ||
+ | sslverify = 1 | ||
+ | sslcacert = / | ||
+ | sslclientkey = / | ||
+ | sslclientcert = / | ||
+ | sslverifystatus = 1 | ||
+ | metadata_expire = 86400 | ||
+ | enabled_metadata = 0 | ||
+ | |||
+ | [gitops-1.12-for-rhel-9-x86_64-rpms] | ||
+ | name = Red Hat OpenShift GitOps 1.12 for RHEL 9 x86_64 (RPMs) | ||
+ | --More--(1%) | ||
</ | </ | ||
Ligne 1380: | Ligne 773: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | repo id repo name | + | Updating Subscription Management repositories. |
- | appstream | + | repo id |
- | appstream-source | + | amq-clients-3-for-rhel-9-x86_64-debug-rpms |
- | baseos | + | amq-clients-3-for-rhel-9-x86_64-rpms |
- | baseos-source | + | amq-clients-3-for-rhel-9-x86_64-source-rpms |
- | cr | + | amq-interconnect-textonly-1-for-middleware-rpms |
- | debuginfo | + | amq-textonly-1-for-middleware-rpms |
- | devel CentOS | + | ansible-automation-platform-2.2-for-rhel-9-x86_64-debug-rpms |
- | epel | + | ansible-automation-platform-2.2-for-rhel-9-x86_64-rpms |
- | epel-debuginfo | + | ansible-automation-platform-2.2-for-rhel-9-x86_64-source-rpms Red Hat Ansible Automation Platform 2.2 for RHEL 9 x86_64 (Source RPMs) |
- | epel-modular | + | ansible-automation-platform-2.3-for-rhel-9-x86_64-debug-rpms |
- | epel-modular-debuginfo | + | ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms |
- | epel-modular-source | + | ansible-automation-platform-2.3-for-rhel-9-x86_64-source-rpms |
- | epel-playground | + | ansible-automation-platform-2.4-for-rhel-9-x86_64-debug-rpms |
- | epel-playground-debuginfo | + | ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms |
- | epel-playground-source | + | ansible-automation-platform-2.4-for-rhel-9-x86_64-source-rpms Red Hat Ansible Automation Platform 2.4 for RHEL 9 x86_64 (Source RPMs) |
- | epel-source | + | ansible-automation-platform-2.5-for-rhel-9-x86_64-debug-rpms |
- | epel-testing | + | ansible-automation-platform-2.5-for-rhel-9-x86_64-rpms |
- | epel-testing-debuginfo | + | ansible-automation-platform-2.5-for-rhel-9-x86_64-source-rpms |
- | epel-testing-modular | + | application-interconnect-1-for-rhel-9-x86_64-debug-rpms |
- | epel-testing-modular-debuginfo Extra Packages | + | application-interconnect-1-for-rhel-9-x86_64-rpms |
- | epel-testing-modular-source | + | application-interconnect-1-for-rhel-9-x86_64-source-rpms |
- | epel-testing-source | + | cert-manager-1.10-for-rhel-9-x86_64-debug-rpms |
- | extras | + | cert-manager-1.10-for-rhel-9-x86_64-rpms |
- | extras-source | + | cert-manager-1.10-for-rhel-9-x86_64-source-rpms |
- | fasttrack | + | cert-manager-1.11-for-rhel-9-x86_64-debug-rpms |
- | ha | + | cert-manager-1.11-for-rhel-9-x86_64-rpms |
- | media-appstream | + | cert-manager-1.11-for-rhel-9-x86_64-source-rpms |
- | media-baseos | + | cert-manager-1.12-for-rhel-9-x86_64-debug-rpms |
- | plus | + | cert-manager-1.12-for-rhel-9-x86_64-rpms |
- | plus-source | + | cert-manager-1.12-for-rhel-9-x86_64-source-rpms |
- | powertools | + | cert-manager-1.13-for-rhel-9-x86_64-debug-rpms |
+ | cert-manager-1.13-for-rhel-9-x86_64-rpms | ||
+ | cert-manager-1.13-for-rhel-9-x86_64-source-rpms | ||
+ | cert-manager-1.14-for-rhel-9-x86_64-debug-rpms | ||
+ | cert-manager-1.14-for-rhel-9-x86_64-rpms | ||
+ | cert-manager-1.14-for-rhel-9-x86_64-source-rpms | ||
+ | cnv-4.13-for-rhel-9-x86_64-debug-rpms | ||
+ | cnv-4.13-for-rhel-9-x86_64-rpms | ||
+ | cnv-4.13-for-rhel-9-x86_64-source-rpms | ||
+ | cnv-4.14-for-rhel-9-x86_64-debug-rpms | ||
+ | cnv-4.14-for-rhel-9-x86_64-rpms | ||
+ | cnv-4.14-for-rhel-9-x86_64-source-rpms | ||
+ | cnv-4.15-for-rhel-9-x86_64-debug-rpms | ||
+ | cnv-4.15-for-rhel-9-x86_64-rpms | ||
+ | cnv-4.15-for-rhel-9-x86_64-source-rpms | ||
+ | cnv-4.16-for-rhel-9-x86_64-debug-rpms | ||
+ | cnv-4.16-for-rhel-9-x86_64-rpms | ||
+ | cnv-4.16-for-rhel-9-x86_64-source-rpms | ||
+ | cnv-4.17-for-rhel-9-x86_64-debug-rpms | ||
+ | cnv-4.17-for-rhel-9-x86_64-rpms | ||
+ | cnv-4.17-for-rhel-9-x86_64-source-rpms | ||
+ | codeready-builder-for-rhel-9-x86_64-debug-rpms | ||
+ | codeready-builder-for-rhel-9-x86_64-eus-debug-rpms | ||
+ | codeready-builder-for-rhel-9-x86_64-eus-rpms | ||
+ | codeready-builder-for-rhel-9-x86_64-eus-source-rpms | ||
+ | codeready-builder-for-rhel-9-x86_64-rpms | ||
+ | codeready-builder-for-rhel-9-x86_64-source-rpms | ||
+ | discovery-1-for-rhel-9-x86_64-debug-rpms | ||
+ | discovery-1-for-rhel-9-x86_64-rpms | ||
+ | discovery-1-for-rhel-9-x86_64-source-rpms | ||
+ | epel Extra Packages for Enterprise Linux 9 - x86_64 | ||
+ | epel-cisco-openh264 | ||
+ | epel-cisco-openh264-debuginfo | ||
+ | epel-cisco-openh264-source | ||
+ | epel-debuginfo | ||
+ | epel-next | ||
+ | epel-next-debuginfo | ||
+ | epel-next-source | ||
+ | epel-next-testing | ||
+ | epel-next-testing-debuginfo | ||
+ | epel-next-testing-source | ||
+ | epel-source | ||
+ | epel-testing | ||
+ | epel-testing-debuginfo | ||
+ | epel-testing-source | ||
+ | fast-datapath-for-rhel-9-x86_64-debug-rpms | ||
+ | fast-datapath-for-rhel-9-x86_64-rpms | ||
+ | fast-datapath-for-rhel-9-x86_64-source-rpms | ||
+ | fsw-textonly-1-for-middleware-rpms | ||
+ | gitops-1.12-for-rhel-9-x86_64-debug-rpms | ||
+ | gitops-1.12-for-rhel-9-x86_64-rpms | ||
+ | gitops-1.12-for-rhel-9-x86_64-source-rpms | ||
+ | gitops-1.13-for-rhel-9-x86_64-debug-rpms | ||
+ | gitops-1.13-for-rhel-9-x86_64-rpms | ||
+ | gitops-1.13-for-rhel-9-x86_64-source-rpms | ||
+ | gitops-1.14-for-rhel-9-x86_64-debug-rpms | ||
+ | gitops-1.14-for-rhel-9-x86_64-rpms | ||
+ | gitops-1.14-for-rhel-9-x86_64-source-rpms | ||
+ | jb-coreservices-textonly-1-for-middleware-rhui-rpms | ||
+ | jb-coreservices-textonly-1-for-middleware-rpms | ||
+ | jb-datagrid-8.4-for-rhel-9-x86_64-debug-rpms | ||
+ | jb-datagrid-8.4-for-rhel-9-x86_64-rpms | ||
+ | jb-datagrid-8.4-for-rhel-9-x86_64-source-rpms Red Hat JBoss Data Grid 8.4 (RHEL 9) (Source RPMs) disabled | ||
+ | jb-datagrid-textonly-1-for-middleware-rpms | ||
+ | jb-eap-7.4-for-rhel-9-x86_64-debug-rpms | ||
+ | jb-eap-7.4-for-rhel-9-x86_64-rpms | ||
+ | jb-eap-7.4-for-rhel-9-x86_64-source-rpms | ||
+ | jb-eap-8.0-for-rhel-9-x86_64-debug-rpms | ||
+ | jb-eap-8.0-for-rhel-9-x86_64-rhui-debug-rpms | ||
+ | jb-eap-8.0-for-rhel-9-x86_64-rhui-rpms | ||
+ | jb-eap-8.0-for-rhel-9-x86_64-rhui-source-rpms JBoss Enterprise Application Platform 8.0 (RHEL 9) (Source RPMs) from RHUI disabled | ||
+ | jb-eap-8.0-for-rhel-9-x86_64-rpms | ||
+ | jb-eap-8.0-for-rhel-9-x86_64-source-rpms | ||
+ | jb-eap-textonly-1-for-middleware-rpms | ||
+ | jdv-textonly-1-for-middleware-rpms | ||
+ | jon-textonly-1-for-middleware-rpms | ||
+ | jpp-textonly-1-for-middleware-rpms | ||
+ | kmm-1-for-rhel-9-x86_64-debug-rpms | ||
+ | kmm-1-for-rhel-9-x86_64-rpms | ||
+ | kmm-1-for-rhel-9-x86_64-source-rpms | ||
+ | kmm-2-for-rhel-9-x86_64-debug-rpms | ||
+ | kmm-2-for-rhel-9-x86_64-rpms | ||
+ | kmm-2-for-rhel-9-x86_64-source-rpms | ||
+ | lvms-4.14-for-rhel-9-x86_64-debug-rpms | ||
+ | lvms-4.14-for-rhel-9-x86_64-rpms | ||
+ | lvms-4.14-for-rhel-9-x86_64-source-rpms | ||
+ | lvms-4.15-for-rhel-9-x86_64-debug-rpms | ||
+ | lvms-4.15-for-rhel-9-x86_64-rpms | ||
+ | lvms-4.15-for-rhel-9-x86_64-source-rpms | ||
+ | lvms-4.16-for-rhel-9-x86_64-debug-rpms | ||
+ | lvms-4.16-for-rhel-9-x86_64-rpms | ||
+ | lvms-4.16-for-rhel-9-x86_64-source-rpms | ||
+ | lvms-4.17-for-rhel-9-x86_64-debug-rpms | ||
+ | lvms-4.17-for-rhel-9-x86_64-rpms | ||
+ | lvms-4.17-for-rhel-9-x86_64-source-rpms | ||
+ | network-observability-1-for-rhel-9-x86_64-debug-rpms | ||
+ | network-observability-1-for-rhel-9-x86_64-rpms | ||
+ | network-observability-1-for-rhel-9-x86_64-source-rpms | ||
+ | ocp-tools-4.15-for-rhel-9-x86_64-debug-rpms | ||
+ | ocp-tools-4.15-for-rhel-9-x86_64-rpms | ||
+ | ocp-tools-4.15-for-rhel-9-x86_64-source-rpms | ||
+ | ocp-tools-4.16-for-rhel-9-x86_64-debug-rpms | ||
+ | ocp-tools-4.16-for-rhel-9-x86_64-rpms | ||
+ | ocp-tools-4.16-for-rhel-9-x86_64-source-rpms | ||
+ | openjdk-textonly-1-for-middleware-rpms | ||
+ | openliberty-textonly-1-for-middleware-rpms | ||
+ | openstack-17-tools-for-rhel-9-x86_64-debug-rpms | ||
+ | openstack-17-tools-for-rhel-9-x86_64-rpms | ||
+ | openstack-17-tools-for-rhel-9-x86_64-source-rpms | ||
+ | openstack-17.1-tools-for-rhel-9-x86_64-debug-rpms | ||
+ | openstack-17.1-tools-for-rhel-9-x86_64-rpms | ||
+ | openstack-17.1-tools-for-rhel-9-x86_64-source-rpms | ||
+ | osso-1-for-rhel-9-x86_64-debug-rpms | ||
+ | osso-1-for-rhel-9-x86_64-files | ||
+ | osso-1-for-rhel-9-x86_64-rpms | ||
+ | osso-1-for-rhel-9-x86_64-source-rpms | ||
+ | quarkus-textonly-1-for-middleware-rpms | ||
+ | rhbop-textonly-1-for-middleware-rpms | ||
+ | rhceph-5-tools-for-rhel-9-x86_64-debug-rpms | ||
+ | rhceph-5-tools-for-rhel-9-x86_64-rpms | ||
+ | rhceph-5-tools-for-rhel-9-x86_64-source-rpms Red Hat Ceph Storage Tools 5 for RHEL 9 x86_64 (Source RPMs) disabled | ||
+ | rhceph-6-tools-for-rhel-9-x86_64-debug-rpms | ||
+ | rhceph-6-tools-for-rhel-9-x86_64-rpms | ||
+ | rhceph-6-tools-for-rhel-9-x86_64-source-rpms | ||
+ | rhceph-7-tools-for-rhel-9-x86_64-debug-rpms | ||
+ | rhceph-7-tools-for-rhel-9-x86_64-rpms | ||
+ | rhceph-7-tools-for-rhel-9-x86_64-source-rpms | ||
+ | rhceph-8-tools-for-rhel-9-x86_64-debug-rpms | ||
+ | rhceph-8-tools-for-rhel-9-x86_64-rpms | ||
+ | rhceph-8-tools-for-rhel-9-x86_64-source-rpms | ||
+ | rhdh-1-for-rhel-9-x86_64-debug-rpms | ||
+ | rhdh-1-for-rhel-9-x86_64-rpms | ||
+ | rhdh-1-for-rhel-9-x86_64-source-rpms | ||
+ | rhel-9-for-x86_64-appstream-debug-rpms | ||
+ | rhel-9-for-x86_64-appstream-e4s-debug-rpms | ||
+ | rhel-9-for-x86_64-appstream-e4s-rpms | ||
+ | rhel-9-for-x86_64-appstream-e4s-source-rpms | ||
+ | rhel-9-for-x86_64-appstream-eus-debug-rpms | ||
+ | rhel-9-for-x86_64-appstream-eus-rpms | ||
+ | rhel-9-for-x86_64-appstream-eus-source-rpms | ||
+ | rhel-9-for-x86_64-appstream-rpms | ||
+ | rhel-9-for-x86_64-appstream-source-rpms | ||
+ | rhel-9-for-x86_64-baseos-debug-rpms | ||
+ | rhel-9-for-x86_64-baseos-e4s-debug-rpms | ||
+ | rhel-9-for-x86_64-baseos-e4s-rpms | ||
+ | rhel-9-for-x86_64-baseos-e4s-source-rpms | ||
+ | rhel-9-for-x86_64-baseos-eus-debug-rpms | ||
+ | rhel-9-for-x86_64-baseos-eus-rpms | ||
+ | rhel-9-for-x86_64-baseos-eus-source-rpms | ||
+ | rhel-9-for-x86_64-baseos-rpms | ||
+ | rhel-9-for-x86_64-baseos-source-rpms | ||
+ | rhel-9-for-x86_64-highavailability-debug-rpms | ||
+ | rhel-9-for-x86_64-highavailability-e4s-debug-rpms | ||
+ | rhel-9-for-x86_64-highavailability-e4s-rpms | ||
+ | rhel-9-for-x86_64-highavailability-e4s-source-rpms Red Hat Enterprise | ||
+ | rhel-9-for-x86_64-highavailability-eus-debug-rpms | ||
+ | rhel-9-for-x86_64-highavailability-eus-rpms | ||
+ | rhel-9-for-x86_64-highavailability-eus-source-rpms | ||
+ | rhel-9-for-x86_64-highavailability-rpms | ||
+ | rhel-9-for-x86_64-highavailability-source-rpms | ||
+ | rhel-9-for-x86_64-resilientstorage-debug-rpms | ||
+ | rhel-9-for-x86_64-resilientstorage-eus-debug-rpms | ||
+ | rhel-9-for-x86_64-resilientstorage-eus-rpms | ||
+ | rhel-9-for-x86_64-resilientstorage-eus-source-rpms | ||
+ | rhel-9-for-x86_64-resilientstorage-rpms | ||
+ | rhel-9-for-x86_64-resilientstorage-source-rpms | ||
+ | rhel-9-for-x86_64-rt-debug-rpms | ||
+ | rhel-9-for-x86_64-rt-rpms | ||
+ | rhel-9-for-x86_64-rt-source-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-debug-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-e4s-debug-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-e4s-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-e4s-source-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-eus-debug-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-eus-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-eus-source-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-rpms | ||
+ | rhel-9-for-x86_64-sap-netweaver-source-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-debug-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-e4s-debug-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-e4s-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-e4s-source-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-eus-debug-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-eus-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-eus-source-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-rpms | ||
+ | rhel-9-for-x86_64-sap-solutions-source-rpms | ||
+ | rhel-9-for-x86_64-supplementary-debug-rpms | ||
+ | rhel-9-for-x86_64-supplementary-eus-debug-rpms | ||
+ | rhel-9-for-x86_64-supplementary-eus-rpms | ||
+ | rhel-9-for-x86_64-supplementary-eus-source-rpms | ||
+ | rhel-9-for-x86_64-supplementary-rpms | ||
+ | rhel-9-for-x86_64-supplementary-source-rpms | ||
+ | rhel-atomic-7-cdk-2.3-debug-rpms | ||
+ | rhel-atomic-7-cdk-2.3-rpms | ||
+ | rhel-atomic-7-cdk-2.3-source-rpms | ||
+ | rhel-atomic-7-cdk-3.10-rpms | ||
+ | rhel-atomic-7-cdk-3.11-rpms | ||
+ | rhel-atomic-7-cdk-3.12-rpms | ||
+ | rhel-atomic-7-cdk-3.13-rpms | ||
+ | rhel-atomic-7-cdk-3.14-rpms | ||
+ | rhel-atomic-7-cdk-3.15-rpms | ||
+ | rhel-atomic-7-cdk-3.16-rpms | ||
+ | rhel-atomic-7-cdk-3.17-rpms | ||
+ | rhel-atomic-7-cdk-3.3-debug-rpms | ||
+ | rhel-atomic-7-cdk-3.3-rpms | ||
+ | rhel-atomic-7-cdk-3.3-source-rpms | ||
+ | rhel-atomic-7-cdk-3.4-debug-rpms | ||
+ | rhel-atomic-7-cdk-3.4-rpms | ||
+ | rhel-atomic-7-cdk-3.4-source-rpms | ||
+ | rhel-atomic-7-cdk-3.5-debug-rpms | ||
+ | rhel-atomic-7-cdk-3.5-rpms | ||
+ | rhel-atomic-7-cdk-3.5-source-rpms | ||
+ | rhel-atomic-7-cdk-3.6-debug-rpms | ||
+ | rhel-atomic-7-cdk-3.6-rpms | ||
+ | rhel-atomic-7-cdk-3.6-source-rpms | ||
+ | rhel-atomic-7-cdk-3.7-rpms | ||
+ | rhel-atomic-7-cdk-3.8-rpms Red Hat Container Development Kit 3.8 / | ||
+ | rhel-atomic-7-cdk-3.9-rpms | ||
+ | rhelai-1.1-for-rhel-9-x86_64-debug-rpms | ||
+ | rhelai-1.1-for-rhel-9-x86_64-rpms | ||
+ | rhelai-1.1-for-rhel-9-x86_64-source-rpms | ||
+ | rhelai-1.2-for-rhel-9-x86_64-debug-rpms | ||
+ | rhelai-1.2-for-rhel-9-x86_64-rpms | ||
+ | rhelai-1.2-for-rhel-9-x86_64-source-rpms | ||
+ | rhelai-1.2-gaudi-for-rhel-9-x86_64-debug-rpms | ||
+ | rhelai-1.2-gaudi-for-rhel-9-x86_64-rpms | ||
+ | rhelai-1.2-gaudi-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-4.12-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-4.12-for-rhel-9-x86_64-rpms | ||
+ | rhocp-4.12-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-4.13-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-4.13-for-rhel-9-x86_64-rpms | ||
+ | rhocp-4.13-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-4.14-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-4.14-for-rhel-9-x86_64-rpms | ||
+ | rhocp-4.14-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-4.15-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-4.15-for-rhel-9-x86_64-rpms | ||
+ | rhocp-4.15-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-4.16-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-4.16-for-rhel-9-x86_64-rpms | ||
+ | rhocp-4.16-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-4.17-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-4.17-for-rhel-9-x86_64-rpms | ||
+ | rhocp-4.17-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-ironic-4.12-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-ironic-4.12-for-rhel-9-x86_64-rpms | ||
+ | rhocp-ironic-4.12-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-ironic-4.13-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-ironic-4.13-for-rhel-9-x86_64-rpms | ||
+ | rhocp-ironic-4.13-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-ironic-4.14-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-ironic-4.14-for-rhel-9-x86_64-rpms | ||
+ | rhocp-ironic-4.14-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-ironic-4.15-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-ironic-4.15-for-rhel-9-x86_64-rpms | ||
+ | rhocp-ironic-4.15-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-ironic-4.16-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-ironic-4.16-for-rhel-9-x86_64-rpms | ||
+ | rhocp-ironic-4.16-for-rhel-9-x86_64-source-rpms | ||
+ | rhocp-ironic-4.17-for-rhel-9-x86_64-debug-rpms | ||
+ | rhocp-ironic-4.17-for-rhel-9-x86_64-rpms | ||
+ | rhocp-ironic-4.17-for-rhel-9-x86_64-source-rpms | ||
+ | rhosds-textonly-3-for-middleware-rpms | ||
+ | rhose-textonly-1-for-middleware-rpms | ||
+ | rhoso-tools-18-beta-for-rhel-9-x86_64-debug-rpms | ||
+ | rhoso-tools-18-beta-for-rhel-9-x86_64-rpms | ||
+ | rhoso-tools-18-beta-for-rhel-9-x86_64-source-rpms | ||
+ | rhoso-tools-18-for-rhel-9-x86_64-debug-rpms | ||
+ | rhoso-tools-18-for-rhel-9-x86_64-rpms | ||
+ | rhoso-tools-18-for-rhel-9-x86_64-source-rpms | ||
+ | rhpm-1-for-rhel-9-x86_64-textonly-debug-rpms | ||
+ | rhpm-1-for-rhel-9-x86_64-textonly-rpms | ||
+ | rhpm-1-for-rhel-9-x86_64-textonly-source-rpms | ||
+ | rhsi-textonly-1-for-middleware-rpms | ||
+ | rhv-4-tools-for-rhel-9-x86_64-debug-rpms | ||
+ | rhv-4-tools-for-rhel-9-x86_64-rpms | ||
+ | rhv-4-tools-for-rhel-9-x86_64-source-rpms | ||
+ | rodoo-1-for-rhel-9-x86_64-debug-rpms | ||
+ | rodoo-1-for-rhel-9-x86_64-rpms | ||
+ | rodoo-1-for-rhel-9-x86_64-source-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-debug-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-e4s-debug-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-e4s-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-e4s-source-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-eus-debug-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-eus-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-eus-source-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-rpms | ||
+ | satellite-client-6-for-rhel-9-x86_64-source-rpms | ||
+ | satellite-maintenance-6.16-for-rhel-9-x86_64-debug-rpms | ||
+ | satellite-maintenance-6.16-for-rhel-9-x86_64-rpms | ||
+ | satellite-maintenance-6.16-for-rhel-9-x86_64-source-rpms | ||
+ | satellite-utils-6.16-for-rhel-9-x86_64-debug-rpms | ||
+ | satellite-utils-6.16-for-rhel-9-x86_64-rpms | ||
+ | satellite-utils-6.16-for-rhel-9-x86_64-source-rpms | ||
+ | service-interconnect-1-for-rhel-9-x86_64-debug-rpms | ||
+ | service-interconnect-1-for-rhel-9-x86_64-rpms | ||
+ | service-interconnect-1-for-rhel-9-x86_64-source-rpms | ||
+ | service-interconnect-1.4-for-rhel-9-x86_64-debug-rpms | ||
+ | service-interconnect-1.4-for-rhel-9-x86_64-rpms | ||
+ | service-interconnect-1.4-for-rhel-9-x86_64-source-rpms | ||
+ | service-interconnect-1.8-for-rhel-9-x86_64-debug-rpms | ||
+ | service-interconnect-1.8-for-rhel-9-x86_64-rpms | ||
+ | service-interconnect-1.8-for-rhel-9-x86_64-source-rpms | ||
+ | soa-textonly-1-for-middleware-rpms | ||
+ | wfk-textonly-1-for-middleware-rpms | ||
</ | </ | ||
Ligne 1418: | Ligne 1118: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | repo id | + | Updating Subscription Management repositories. |
- | appstream | + | repo id repo name |
- | baseos | + | codeready-builder-for-rhel-9-x86_64-rpms |
- | epel Extra Packages for Enterprise Linux 8 - x86_64 | + | epel Extra Packages for Enterprise Linux 9 - x86_64 |
- | epel-modular | + | epel-cisco-openh264 |
- | extras | + | epel-next |
+ | rhel-9-for-x86_64-appstream-rpms Red Hat Enterprise | ||
+ | rhel-9-for-x86_64-baseos-rpms Red Hat Enterprise | ||
+ | </ | ||
+ | |||
+ | Pour désactiver un dépôt, il convient d' | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# yum-config-manager --disable | ||
+ | bash: yum-config-manager: | ||
+ | Install package ' | ||
+ | |||
+ | |||
+ | * Waiting in queue... | ||
+ | * Loading list of packages.... | ||
+ | The following packages have to be installed: | ||
+ | | ||
+ | Proceed with changes? [N/y] y | ||
+ | |||
+ | |||
+ | * Waiting in queue... | ||
+ | * Waiting for authentication... | ||
+ | * Waiting in queue... | ||
+ | * Downloading packages... | ||
+ | * Requesting data... | ||
+ | * Testing changes... | ||
+ | * Installing packages... | ||
+ | Updating Subscription Management repositories. | ||
+ | |||
+ | [root@redhat9 ~]# dnf repolist | ||
+ | Updating Subscription Management repositories. | ||
+ | repo id repo name | ||
+ | codeready-builder-for-rhel-9-x86_64-rpms | ||
+ | epel-cisco-openh264 | ||
+ | epel-next | ||
+ | rhel-9-for-x86_64-appstream-rpms | ||
+ | rhel-9-for-x86_64-baseos-rpms | ||
+ | </ | ||
+ | |||
+ | Pour activer un dépôt, il convient d' | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# yum-config-manager --enable epel | ||
+ | Updating Subscription Management repositories. | ||
+ | |||
+ | [root@redhat9 ~]# dnf repolist | ||
+ | Updating Subscription Management repositories. | ||
+ | repo id repo name | ||
+ | codeready-builder-for-rhel-9-x86_64-rpms | ||
+ | epel Extra Packages for Enterprise Linux 9 - x86_64 | ||
+ | epel-cisco-openh264 | ||
+ | epel-next | ||
+ | rhel-9-for-x86_64-appstream-rpms | ||
+ | rhel-9-for-x86_64-baseos-rpms | ||
</ | </ | ||
- | ====3.4 - Rechercher des Paquets==== | + | ====2.4 - Rechercher des Paquets==== |
Pour lister tous les paquets installés **et** disponibles il convient d' | Pour lister tous les paquets installés **et** disponibles il convient d' | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: | ||
Installed Packages | Installed Packages | ||
- | NetworkManager.x86_64 | + | ModemManager.x86_64 |
- | | + | ModemManager-glib.x86_64 |
- | NetworkManager-libnm.x86_64 | + | NetworkManager.x86_64 |
- | | + | NetworkManager-adsl.x86_64 |
- | NetworkManager-team.x86_64 | + | NetworkManager-bluetooth.x86_64 |
- | | + | NetworkManager-config-server.noarch |
- | NetworkManager-tui.x86_64 | + | NetworkManager-libnm.x86_64 |
- | | + | NetworkManager-team.x86_64 |
- | PackageKit.x86_64 | + | NetworkManager-tui.x86_64 |
- | @AppStream | + | NetworkManager-wifi.x86_64 |
- | PackageKit-glib.x86_64 | + | NetworkManager-wwan.x86_64 |
- | | + | PackageKit.x86_64 |
- | abattis-cantarell-fonts.noarch | + | PackageKit-command-not-found.x86_64 |
- | | + | PackageKit-glib.x86_64 |
- | acl.x86_64 | + | PackageKit-gstreamer-plugin.x86_64 |
- | @BaseOS | + | PackageKit-gtk3-module.x86_64 |
- | adcli.x86_64 | + | aardvark-dns.x86_64 |
- | | + | abattis-cantarell-fonts.noarch |
- | adwaita-cursor-theme.noarch | + | accountsservice.x86_64 |
- | @appstream | + | accountsservice-libs.x86_64 |
- | adwaita-icon-theme.noarch | + | acl.x86_64 |
- | | + | adcli.x86_64 |
- | alsa-lib.x86_64 | + | adobe-mappings-cmap.noarch |
- | | + | adobe-mappings-cmap-deprecated.noarch |
- | at.x86_64 | + | adobe-mappings-pdf.noarch |
- | @BaseOS | + | adobe-source-code-pro-fonts.noarch |
- | at-spi2-atk.x86_64 | + | adwaita-cursor-theme.noarch |
- | @appstream | + | adwaita-icon-theme.noarch |
- | at-spi2-core.x86_64 | + | alsa-lib.x86_64 |
- | @appstream | + | alsa-ucm.noarch |
- | atk.x86_64 | + | alsa-utils.x86_64 |
+ | alternatives.x86_64 | ||
+ | appstream.x86_64 | ||
+ | appstream-data.noarch | ||
+ | apr.x86_64 | ||
+ | apr-util.x86_64 | ||
+ | apr-util-bdb.x86_64 | ||
+ | apr-util-openssl.x86_64 | ||
+ | at.x86_64 | ||
+ | at-spi2-atk.x86_64 | ||
+ | at-spi2-core.x86_64 | ||
+ | atk.x86_64 | ||
+ | atkmm.x86_64 | ||
+ | attr.x86_64 | ||
+ | audit.x86_64 | ||
+ | audit-libs.x86_64 | ||
+ | authselect.x86_64 | ||
+ | authselect-libs.x86_64 | ||
+ | avahi.x86_64 | ||
+ | avahi-glib.x86_64 | ||
+ | avahi-libs.x86_64 | ||
+ | baobab.x86_64 | ||
--More-- | --More-- | ||
+ | [q] | ||
</ | </ | ||
Ligne 1472: | Ligne 1248: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
+ | Updating Subscription Management repositories. | ||
Installed Packages | Installed Packages | ||
- | NetworkManager.x86_64 | + | ModemManager.x86_64 |
- | @BaseOS | + | ModemManager-glib.x86_64 |
- | NetworkManager-libnm.x86_64 | + | NetworkManager.x86_64 |
- | @BaseOS | + | NetworkManager-adsl.x86_64 |
- | NetworkManager-team.x86_64 | + | NetworkManager-bluetooth.x86_64 |
- | @BaseOS | + | NetworkManager-config-server.noarch |
- | NetworkManager-tui.x86_64 | + | NetworkManager-libnm.x86_64 |
- | @BaseOS | + | NetworkManager-team.x86_64 |
- | PackageKit.x86_64 | + | NetworkManager-tui.x86_64 |
- | @AppStream | + | NetworkManager-wifi.x86_64 |
- | PackageKit-glib.x86_64 | + | NetworkManager-wwan.x86_64 |
- | @AppStream | + | PackageKit.x86_64 |
- | abattis-cantarell-fonts.noarch | + | PackageKit-command-not-found.x86_64 |
- | | + | PackageKit-glib.x86_64 |
- | acl.x86_64 | + | PackageKit-gstreamer-plugin.x86_64 |
- | @BaseOS | + | PackageKit-gtk3-module.x86_64 |
- | adcli.x86_64 | + | aardvark-dns.x86_64 |
- | @BaseOS | + | abattis-cantarell-fonts.noarch |
- | adwaita-cursor-theme.noarch | + | accountsservice.x86_64 |
- | @appstream | + | accountsservice-libs.x86_64 |
- | adwaita-icon-theme.noarch | + | acl.x86_64 |
- | | + | adcli.x86_64 |
- | alsa-lib.x86_64 | + | adobe-mappings-cmap.noarch |
- | | + | adobe-mappings-cmap-deprecated.noarch |
- | at.x86_64 | + | adobe-mappings-pdf.noarch |
- | @BaseOS | + | adobe-source-code-pro-fonts.noarch |
- | at-spi2-atk.x86_64 | + | adwaita-cursor-theme.noarch |
- | @appstream | + | adwaita-icon-theme.noarch |
- | at-spi2-core.x86_64 | + | alsa-lib.x86_64 |
- | @appstream | + | alsa-ucm.noarch |
- | atk.x86_64 | + | alsa-utils.x86_64 |
- | | + | alternatives.x86_64 |
+ | appstream.x86_64 | ||
+ | appstream-data.noarch | ||
+ | apr.x86_64 | ||
+ | apr-util.x86_64 | ||
+ | apr-util-bdb.x86_64 | ||
+ | apr-util-openssl.x86_64 | ||
+ | at.x86_64 | ||
+ | at-spi2-atk.x86_64 | ||
+ | at-spi2-core.x86_64 | ||
+ | atk.x86_64 | ||
+ | atkmm.x86_64 | ||
+ | attr.x86_64 | ||
+ | audit.x86_64 | ||
+ | audit-libs.x86_64 | ||
+ | authselect.x86_64 | ||
+ | authselect-libs.x86_64 | ||
+ | avahi.x86_64 | ||
+ | avahi-glib.x86_64 | ||
+ | avahi-libs.x86_64 | ||
+ | baobab.x86_64 | ||
+ | basesystem.noarch | ||
--More-- | --More-- | ||
+ | [q] | ||
</ | </ | ||
Ligne 1512: | Ligne 1311: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: | ||
Available Packages | Available Packages | ||
- | 3proxy.x86_64 | + | 389-ds-base.x86_64 |
- | epel | + | 389-ds-base-devel.x86_64 |
- | AusweisApp2.x86_64 | + | 389-ds-base-libs.x86_64 |
- | epel | + | 3proxy.x86_64 |
- | AusweisApp2-data.noarch | + | 6tunnel.x86_64 |
- | | + | AMF-devel.noarch |
- | AusweisApp2-doc.noarch | + | AMF-samples.noarch |
- | epel | + | Agda.x86_64 |
- | BackupPC.x86_64 | + | Agda-common.noarch |
- | epel | + | BackupPC.x86_64 |
- | BackupPC-XS.x86_64 | + | BackupPC-XS.x86_64 |
- | epel | + | BibTool.x86_64 |
- | BibTool.x86_64 | + | Box2D.i686 |
- | epel | + | Box2D.x86_64 |
- | CCfits.x86_64 | + | CCfits.x86_64 |
- | | + | CCfits-devel.x86_64 |
- | CCfits-devel.x86_64 | + | CCfits-doc.noarch |
- | epel | + | CFR.noarch |
- | CCfits-doc.noarch | + | CFR-javadoc.noarch |
- | | + | CGAL-demos-source.noarch |
- | CGSI-gSOAP.x86_64 | + | CGAL-devel.x86_64 |
- | epel | + | CGAL-qt5-devel.x86_64 |
- | CGSI-gSOAP-devel.x86_64 | + | CGSI-gSOAP.x86_64 |
- | epel | + | CGSI-gSOAP-devel.x86_64 |
- | CUnit.i686 | + | CUnit.i686 |
- | | + | CUnit.x86_64 |
- | CUnit.x86_64 | + | CUnit-devel.i686 |
- | appstream | + | CUnit-devel.x86_64 |
- | CharLS.x86_64 | + | CharLS.x86_64 |
- | | + | CharLS-devel.x86_64 |
- | CharLS-devel.x86_64 | + | Coin4.x86_64 |
+ | Coin4-devel.x86_64 | ||
+ | Coin4-doc.x86_64 | ||
+ | DNS-Compliance-Testing.x86_64 | ||
+ | FoXlibf.x86_64 | ||
+ | FoXlibf-devel.x86_64 | ||
+ | FoXlibf-static.x86_64 | ||
+ | GConf2.x86_64 | ||
+ | GConf2-devel.x86_64 | ||
+ | GMT.x86_64 | ||
+ | GMT-common.noarch | ||
+ | GMT-devel.x86_64 | ||
+ | GMT-doc.noarch | ||
+ | GeographicLib.x86_64 | ||
+ | GeographicLib-devel.x86_64 | ||
+ | GeographicLib-doc.noarch | ||
+ | GraphicsMagick.x86_64 | ||
+ | GraphicsMagick-c++.x86_64 | ||
+ | GraphicsMagick-c++-devel.x86_64 | ||
+ | GraphicsMagick-devel.x86_64 | ||
+ | GraphicsMagick-doc.noarch | ||
+ | GraphicsMagick-perl.x86_64 | ||
--More-- | --More-- | ||
+ | [q] | ||
</ | </ | ||
Ligne 1552: | Ligne 1374: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
- | ================================= Name Exactly Matched: httpd ================================= | + | Last metadata expiration check: |
+ | ========================================================================================== Name Exactly Matched: httpd =========================================================================================== | ||
httpd.x86_64 : Apache HTTP Server | httpd.x86_64 : Apache HTTP Server | ||
- | ================================ Name & Summary Matched: httpd ================================ | + | ========================================================================================= Name & Summary Matched: httpd ========================================================================================== |
- | centos-logos-httpd.noarch | + | httpd-core.x86_64 |
keycloak-httpd-client-install.noarch : Tools to configure Apache HTTPD as Keycloak client | keycloak-httpd-client-install.noarch : Tools to configure Apache HTTPD as Keycloak client | ||
+ | libmicrohttpd-devel.x86_64 : Development files for libmicrohttpd | ||
+ | libmicrohttpd-devel.i686 : Development files for libmicrohttpd | ||
+ | libmicrohttpd-doc.noarch : Documentation for libmicrohttpd | ||
lighttpd-fastcgi.x86_64 : FastCGI module and spawning helper for lighttpd and PHP configuration | lighttpd-fastcgi.x86_64 : FastCGI module and spawning helper for lighttpd and PHP configuration | ||
lighttpd-filesystem.noarch : The basic directory layout for lighttpd | lighttpd-filesystem.noarch : The basic directory layout for lighttpd | ||
lighttpd-mod_authn_gssapi.x86_64 : Authentication module for lighttpd that uses GSSAPI | lighttpd-mod_authn_gssapi.x86_64 : Authentication module for lighttpd that uses GSSAPI | ||
- | lighttpd-mod_authn_mysql.x86_64 : Authentication module for lighttpd that uses a MySQL database | + | lighttpd-mod_authn_ldap.x86_64 : Authentication module for lighttpd that uses LDAP |
lighttpd-mod_authn_pam.x86_64 : Authentication module for lighttpd that uses PAM | lighttpd-mod_authn_pam.x86_64 : Authentication module for lighttpd that uses PAM | ||
- | lighttpd-mod_mysql_vhost.x86_64 : Virtual host module for lighttpd that uses a MySQL database | + | lighttpd-mod_authn_sasl.x86_64 : Authentication module for lighttpd that uses SASL |
- | pagure-web-apache-httpd.noarch : Apache HTTPD configuration | + | lighttpd-mod_deflate.x86_64 : Compression module for lighttpd |
- | python3-keycloak-httpd-client-install.noarch : Tools to configure Apache HTTPD as Keycloak | + | lighttpd-mod_gnutls.x86_64 : TLS module for lighttpd that uses GnuTLS |
- | : | + | lighttpd-mod_magnet.x86_64 : Lua module for lighttpd |
+ | lighttpd-mod_maxminddb.x86_64 : GeoIP2 module for lighttpd to use for location lookups | ||
+ | lighttpd-mod_mbedtls.x86_64 : TLS module for lighttpd that uses mbedTLS | ||
+ | lighttpd-mod_nss.x86_64 : TLS module for lighttpd that uses NSS | ||
+ | lighttpd-mod_openssl.x86_64 : TLS module for lighttpd that uses OpenSSL | ||
+ | lighttpd-mod_vhostdb_ldap.x86_64 : Virtual host module for lighttpd that uses LDAP | ||
+ | lighttpd-mod_vhostdb_mysql.x86_64 : Virtual host module for lighttpd that uses MySQL | ||
+ | lighttpd-mod_vhostdb_pgsql.x86_64 : Virtual host module for lighttpd that uses PostgreSQL | ||
+ | lighttpd-mod_webdav.x86_64 : WebDAV module for lighttpd | ||
+ | nextcloud-httpd.noarch : Httpd integration | ||
+ | python3-keycloak-httpd-client-install.noarch : Tools to configure Apache HTTPD as Keycloak client | ||
radicale3-httpd.noarch : httpd config for Radicale | radicale3-httpd.noarch : httpd config for Radicale | ||
- | ===================================== Name Matched: httpd ===================================== | + | redhat-logos-httpd.noarch : Red Hat-related icons and pictures used by httpd |
- | httpd-devel.x86_64 : Development interfaces for the Apache HTTP server | + | sympa-lighttpd.x86_64 : Sympa with lighttpd |
- | httpd-filesystem.noarch : The basic directory layout for the Apache HTTP server | + | ============================================================================================== Name Matched: httpd =============================================================================================== |
- | httpd-manual.noarch : Documentation for the Apache HTTP server | + | httpd-devel.x86_64 : Development interfaces for the Apache HTTP Server |
+ | httpd-filesystem.noarch : The basic directory layout for the Apache HTTP Server | ||
+ | httpd-manual.noarch : Documentation for the Apache HTTP Server | ||
httpd-tools.x86_64 : Tools for use with the Apache HTTP Server | httpd-tools.x86_64 : Tools for use with the Apache HTTP Server | ||
libmicrohttpd.i686 : Lightweight library for embedding a webserver in applications | libmicrohttpd.i686 : Lightweight library for embedding a webserver in applications | ||
libmicrohttpd.x86_64 : Lightweight library for embedding a webserver in applications | libmicrohttpd.x86_64 : Lightweight library for embedding a webserver in applications | ||
lighttpd.x86_64 : Lightning fast webserver with light system requirements | lighttpd.x86_64 : Lightning fast webserver with light system requirements | ||
+ | mirmon-httpd.noarch : Apache configuration for mirmon | ||
perl-Test-Fake-HTTPD.noarch : Fake HTTP server module for testing | perl-Test-Fake-HTTPD.noarch : Fake HTTP server module for testing | ||
+ | python3-sphinxcontrib-httpdomain.noarch : Sphinx domain for documenting HTTP APIs | ||
+ | rust-httpdate+default-devel.noarch : HTTP date parsing and formatting | ||
+ | rust-httpdate-devel.noarch : HTTP date parsing and formatting | ||
+ | rust-tower-http+httpdate-devel.noarch : Tower middleware and utilities for HTTP clients and servers | ||
+ | sympa-httpd.x86_64 : Sympa with Apache HTTP Server | ||
sysusage-httpd.noarch : Apache configuration for sysusage | sysusage-httpd.noarch : Apache configuration for sysusage | ||
- | =================================== Summary Matched: httpd ==================================== | + | web-assets-httpd.noarch : Web Assets aliases for the Apache HTTP daemon |
+ | ============================================================================================= Summary Matched: httpd ============================================================================================= | ||
mod_auth_mellon.x86_64 : A SAML 2.0 authentication module for the Apache Httpd Server | mod_auth_mellon.x86_64 : A SAML 2.0 authentication module for the Apache Httpd Server | ||
mod_dav_svn.x86_64 : Apache httpd module for Subversion server | mod_dav_svn.x86_64 : Apache httpd module for Subversion server | ||
+ | mod_proxy_cluster.x86_64 : JBoss mod_proxy_cluster for Apache httpd | ||
</ | </ | ||
Ligne 1587: | Ligne 1433: | ||
< | < | ||
- | root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: 0:08:16 ago on Wed 21 Apr 2021 12:54:45 AM EDT. | + | Updating Subscription Management repositories. |
- | Available | + | Last metadata expiration check: 0:01:50 ago on Mon 30 Sep 2024 11:27:31 AM CEST. |
- | httpd.x86_64 | + | Installed |
+ | httpd.x86_64 | ||
</ | </ | ||
Ligne 1596: | Ligne 1443: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: 0:03:35 ago on Wed 21 Apr 2021 12:54:45 AM EDT. | + | Updating Subscription Management repositories. |
- | httpd-2.4.37-30.module_el8.3.0+561+97fdbbcc.x86_64 : Apache HTTP Server | + | Last metadata expiration check: 0:02:56 ago on Mon 30 Sep 2024 11:27:31 AM CEST. |
- | Repo : appstream | + | httpd-2.4.51-7.el9_0.x86_64 : Apache HTTP Server |
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
Matched from: | Matched from: | ||
- | Provide | + | Provide |
+ | |||
+ | httpd-2.4.53-7.el9.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.53-7.el9_1.1.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.53-7.el9_1.5.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.53-11.el9_2.4.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.53-11.el9_2.5.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.57-5.el9.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.57-8.el9.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.57-11.el9_4.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.57-11.el9_4.1.x86_64 : Apache HTTP Server | ||
+ | Repo : @System | ||
+ | Matched from: | ||
+ | Provide | ||
+ | |||
+ | httpd-2.4.57-11.el9_4.1.x86_64 : Apache HTTP Server | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Matched from: | ||
+ | Provide | ||
</ | </ | ||
Ligne 1607: | Ligne 1505: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: 0:00:24 ago on Wed 21 Apr 2021 12:54:45 AM EDT. | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: 0:03:38 ago on Mon 30 Sep 2024 11:27:31 AM CEST. | ||
Installed Packages | Installed Packages | ||
- | kernel.x86_64 | + | kernel.x86_64 |
- | kernel.x86_64 | + | kernel.x86_64 |
- | kernel-core.x86_64 | + | kernel-core.x86_64 |
- | kernel-core.x86_64 | + | kernel-core.x86_64 |
- | kernel-modules.x86_64 | + | kernel-modules.x86_64 |
- | kernel-modules.x86_64 | + | kernel-modules.x86_64 |
- | kernel-tools.x86_64 | + | kernel-modules-core.x86_64 |
- | kernel-tools-libs.x86_64 | + | kernel-modules-core.x86_64 |
+ | kernel-tools.x86_64 | ||
+ | kernel-tools-libs.x86_64 | ||
Available Packages | Available Packages | ||
- | kernel-abi-whitelists.noarch | + | kernel-abi-stablelists.noarch |
- | kernel-cross-headers.x86_64 | + | kernel-cross-headers.x86_64 |
- | kernel-debug.x86_64 | + | kernel-debug.x86_64 |
- | kernel-debug-core.x86_64 | + | kernel-debug-core.x86_64 |
- | kernel-debug-devel.x86_64 | + | kernel-debug-devel.x86_64 |
- | kernel-debug-modules.x86_64 | + | kernel-debug-devel-matched.x86_64 |
- | kernel-debug-modules-extra.x86_64 | + | kernel-debug-modules.x86_64 |
- | kernel-devel.x86_64 | + | kernel-debug-modules-core.x86_64 |
- | kernel-doc.noarch | + | kernel-debug-modules-extra.x86_64 |
- | kernel-headers.x86_64 | + | kernel-debug-uki-virt.x86_64 |
- | kernel-modules-extra.x86_64 | + | kernel-devel.x86_64 |
- | kernel-rpm-macros.noarch | + | kernel-devel-matched.x86_64 |
- | kernelshark.x86_64 | + | kernel-doc.noarch |
+ | kernel-headers.x86_64 | ||
+ | kernel-modules-extra.x86_64 | ||
+ | kernel-rpm-macros.noarch | ||
+ | kernel-srpm-macros.noarch | ||
+ | kernel-tools-libs-devel.x86_64 | ||
+ | kernel-uki-virt.x86_64 | ||
+ | kernelshark.x86_64 | ||
</ | </ | ||
Ligne 1637: | Ligne 1545: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: | ||
Available Environment Groups: | Available Environment Groups: | ||
- | | ||
| | ||
+ | | ||
| | ||
KDE Plasma Workspaces | KDE Plasma Workspaces | ||
Ligne 1647: | Ligne 1556: | ||
| | ||
Installed Environment Groups: | Installed Environment Groups: | ||
- | Minimal Install | + | Server with GUI |
- | Available | + | Installed |
| | ||
- | .NET Core Development | ||
- | RPM Development Tools | ||
- | | ||
- | | ||
| | ||
- | | + | Available Groups: |
- | Network Servers | + | RPM Development Tools |
+ | .NET Development | ||
+ | | ||
| | ||
- | Security Tools | + | Legacy UNIX Compatibility |
Smart Card Support | Smart Card Support | ||
+ | | ||
+ | | ||
| | ||
+ | | ||
+ | | ||
| | ||
+ | | ||
Xfce | Xfce | ||
</ | </ | ||
- | ====3.5 - Obtenir de l' | + | Pour obtenir de l' |
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf groupinfo Server | ||
+ | Updating Subscription Management repositories. | ||
+ | Environment Group: Server | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Basic Web Server | ||
+ | DNS Name Server | ||
+ | | ||
+ | FTP Server | ||
+ | File and Storage Server | ||
+ | | ||
+ | Guest Agents | ||
+ | | ||
+ | | ||
+ | Mail Server | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ====2.5 - Obtenir de l' | ||
Pour obtenir de l' | Pour obtenir de l' | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
- | Available | + | Last metadata expiration check: |
+ | Installed | ||
Name : httpd | Name : httpd | ||
- | Version | + | Version |
- | Release | + | Release |
Architecture : x86_64 | Architecture : x86_64 | ||
- | Size : | + | Size : |
- | Source | + | Source |
- | Repository | + | Repository |
+ | From repo : rhel-9-for-x86_64-appstream-rpms | ||
Summary | Summary | ||
URL : https:// | URL : https:// | ||
Ligne 1690: | Ligne 1637: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
- | httpd-2.4.37-30.module_el8.3.0+561+97fdbbcc.x86_64.rpm | + | Last metadata expiration check: |
+ | httpd-2.4.57-11.el9_4.1.x86_64.rpm | ||
</ | </ | ||
Ligne 1698: | Ligne 1646: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | [root@centos8 | + | |
- | / | + | [root@redhat9 |
+ | / | ||
</ | </ | ||
- | ====3.6 - Installer un Paquet==== | + | ====2.6 - Installer un Paquet==== |
Pour installer un paquet, dnf possède la commande **install** : | Pour installer un paquet, dnf possède la commande **install** : | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: | ||
Dependencies resolved. | Dependencies resolved. | ||
- | =============================================================================================== | + | ================================================================================================================================================================================================================== |
- | | + | |
- | =============================================================================================== | + | ================================================================================================================================================================================================================== |
Installing: | Installing: | ||
- | | + | |
Installing dependencies: | Installing dependencies: | ||
- | | + | |
- | | + | |
- | centos-logos-httpd noarch | + | apr-util-bdb x86_64 |
- | | + | |
- | | + | |
- | mod_http2 | + | |
+ | redhat-logos-httpd | ||
Installing weak dependencies: | Installing weak dependencies: | ||
- | | + | |
- | apr-util-openssl | + | mod_http2 |
- | Enabling module streams: | + | mod_lua |
- | | + | |
Transaction Summary | Transaction Summary | ||
- | =============================================================================================== | + | ================================================================================================================================================================================================================== |
- | Install | + | Install |
- | Total download size: 2.3 M | + | Total download size: 2.2 M |
Installed size: 6.0 M | Installed size: 6.0 M | ||
- | Is this ok [y/N]: n | + | Is this ok [y/N]: n |
Operation aborted. | Operation aborted. | ||
</ | </ | ||
Ligne 1742: | Ligne 1692: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | ... | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: 0:10:12 ago on Mon 30 Sep 2024 11:27:31 AM CEST. | ||
+ | Dependencies resolved. | ||
+ | ================================================================================================================================================================================================================== | ||
+ | | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Installing: | ||
+ | | ||
+ | Installing dependencies: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Installing weak dependencies: | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Install | ||
+ | |||
+ | Total download size: 2.2 M | ||
+ | Installed size: 6.0 M | ||
+ | Downloading Packages: | ||
+ | (1/11): apr-util-1.6.1-23.el9.x86_64.rpm | ||
+ | (2/11): apr-util-bdb-1.6.1-23.el9.x86_64.rpm | ||
+ | (3/11): apr-util-openssl-1.6.1-23.el9.x86_64.rpm | ||
+ | (4/11): redhat-logos-httpd-90.4-2.el9.noarch.rpm | ||
+ | (5/11): apr-1.7.0-12.el9_3.x86_64.rpm | ||
+ | (6/11): httpd-2.4.57-11.el9_4.1.x86_64.rpm | ||
+ | (7/11): mod_http2-2.0.26-2.el9_4.x86_64.rpm | ||
+ | (8/11): httpd-core-2.4.57-11.el9_4.1.x86_64.rpm | ||
+ | (9/11): httpd-filesystem-2.4.57-11.el9_4.1.noarch.rpm | ||
+ | (10/11): httpd-tools-2.4.57-11.el9_4.1.x86_64.rpm | ||
+ | (11/11): mod_lua-2.4.57-11.el9_4.1.x86_64.rpm | ||
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ||
+ | Total 2.4 MB/s | 2.2 MB | ||
+ | Running transaction check | ||
+ | Transaction check succeeded. | ||
+ | Running transaction test | ||
+ | Transaction test succeeded. | ||
+ | Running transaction | ||
+ | Preparing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Running scriptlet: httpd-filesystem-2.4.57-11.el9_4.1.noarch | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Running scriptlet: httpd-2.4.57-11.el9_4.1.x86_64 | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Installed products updated. | ||
Installed: | Installed: | ||
- | apr-1.6.3-11.el8.x86_64 | + | apr-1.7.0-12.el9_3.x86_64 |
- | | + | httpd-core-2.4.57-11.el9_4.1.x86_64 |
- | | + | redhat-logos-httpd-90.4-2.el9.noarch |
- | | + | |
- | centos-logos-httpd-80.5-2.el8.noarch | + | |
- | httpd-2.4.37-30.module_el8.3.0+561+97fdbbcc.x86_64 | + | |
- | | + | |
- | | + | |
- | | + | |
Complete! | Complete! | ||
Ligne 1761: | Ligne 1777: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: 0:02:31 ago on Tue 20 Apr 2021 06:35:25 PM EDT. | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: 0:11:00 ago on Mon 30 Sep 2024 11:27:31 AM CEST. | ||
Dependencies resolved. | Dependencies resolved. | ||
- | =============================================================================================== | + | ================================================================================================================================================================================================================== |
- | | + | |
- | =============================================================================================== | + | ================================================================================================================================================================================================================== |
Reinstalling: | Reinstalling: | ||
- | | + | |
Transaction Summary | Transaction Summary | ||
- | =============================================================================================== | + | ================================================================================================================================================================================================================== |
- | Total download size: 1.7 M | + | Total download size: 51 k |
- | Installed size: 4.9 M | + | Installed size: 59 k |
Is this ok [y/N]: y | Is this ok [y/N]: y | ||
</ | </ | ||
Ligne 1781: | Ligne 1798: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: | ||
Dependencies resolved. | Dependencies resolved. | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
- | | + | |
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Installing group/ | Installing group/ | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | tmux x86_64 |
- | xdelta | + | |
- | | + | |
Installing dependencies: | Installing dependencies: | ||
- | | + | |
- | ldns | + | keyutils |
- | mesa-libGLU | + | ldns x86_64 |
- | | + | |
- | | + | |
- | | + | |
+ | | ||
Installing Groups: | Installing Groups: | ||
- | | + | |
Transaction Summary | Transaction Summary | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Install | Install | ||
- | Total download size: 13 M | + | Total download size: 14 M |
Installed size: 47 M | Installed size: 47 M | ||
Is this ok [y/N]: y | Is this ok [y/N]: y | ||
</ | </ | ||
- | ====3.7 - Mettre à jour des Paquets==== | + | ====2.7 - Mettre à jour des Paquets==== |
Pour vérifier la disponibilité des mises-à-jour, | Pour vérifier la disponibilité des mises-à-jour, | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: | ||
- | epel-release.noarch | + | cups-filters.x86_64 |
- | procps-ng.x86_64 | + | cups-filters-libs.x86_64 |
- | selinux-policy.noarch | + | net-snmp-libs.x86_64 |
- | selinux-policy-targeted.noarch | + | |
</ | </ | ||
Ligne 1835: | Ligne 1853: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: | ||
Dependencies resolved. | Dependencies resolved. | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
- | | + | |
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Upgrading: | Upgrading: | ||
- | epel-release | + | net-snmp-libs |
Transaction Summary | Transaction Summary | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Upgrade | Upgrade | ||
- | Total download size: 22 k | + | Total download size: 763 k |
Is this ok [y/N]: y | Is this ok [y/N]: y | ||
</ | </ | ||
Ligne 1855: | Ligne 1874: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: | ||
Dependencies resolved. | Dependencies resolved. | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
- | | + | |
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Installing Groups: | Installing Groups: | ||
- | | + | |
Transaction Summary | Transaction Summary | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Is this ok [y/N]: y | Is this ok [y/N]: y | ||
Ligne 1871: | Ligne 1891: | ||
</ | </ | ||
- | ====3.8 - Supprimer des Paquets==== | + | ====2.8 - Supprimer des Paquets==== |
Pour supprimer un paquet, il convient d' | Pour supprimer un paquet, il convient d' | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
+ | Updating Subscription Management repositories. | ||
Dependencies resolved. | Dependencies resolved. | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
- | | + | |
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Removing: | Removing: | ||
- | | + | |
Removing unused dependencies: | Removing unused dependencies: | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | centos-logos-httpd noarch | + | |
- | | + | |
- | | + | |
- | | + | |
+ | | ||
+ | | ||
Transaction Summary | Transaction Summary | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
- | Remove | + | Remove |
Freed space: 6.0 M | Freed space: 6.0 M | ||
- | Is this ok [y/ | + | Is this ok [y/ |
+ | Operation aborted. | ||
</ | </ | ||
Ligne 1904: | Ligne 1928: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
+ | Updating Subscription Management repositories. | ||
Dependencies resolved. | Dependencies resolved. | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
- | | + | |
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Removing: | Removing: | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
Removing unused dependencies: | Removing unused dependencies: | ||
- | | + | |
- | ldns x86_64 | + | keyutils |
- | mesa-libGLU | + | ldns x86_64 |
- | | + | |
- | | + | |
- | | + | |
+ | | ||
Removing Groups: | Removing Groups: | ||
- | | + | |
Transaction Summary | Transaction Summary | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Remove | Remove | ||
Ligne 1942: | Ligne 1967: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: 0:08:52 ago on Wed 21 Apr 2021 12:39:54 AM EDT. | + | Updating Subscription Management repositories. |
+ | Last metadata expiration check: 0:18:14 ago on Mon 30 Sep 2024 11:27:31 AM CEST. | ||
Dependencies resolved. | Dependencies resolved. | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
- | | + | |
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
Removing: | Removing: | ||
- | fipscheck | + | efivar-libs |
- | fipscheck-lib | + | grub2-tools-efi |
- | | + | |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
Transaction Summary | Transaction Summary | ||
- | ============================================================================================================= | + | ================================================================================================================================================================================================================== |
- | Remove | + | Remove |
- | Freed space: | + | Freed space: |
Is this ok [y/N]: y | Is this ok [y/N]: y | ||
</ | </ | ||
Ligne 1964: | Ligne 1996: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | 58 files removed | + | Updating Subscription Management repositories. |
+ | 61 files removed | ||
</ | </ | ||
- | =====LAB #4 - Les Bibliothèques Partagées===== | + | ====2.9 - L' |
- | ====4.1 - Présentation==== | + | Les transactions de dnf sont journalisées dans le fichier **/ |
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# tail / | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | 2024-09-30T11: | ||
+ | </ | ||
+ | |||
+ | Ces transactions sont aussi visibles en utilisant la commande dnf **history** : | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf history | ||
+ | Updating Subscription Management repositories. | ||
+ | Extra Packages for Enterprise Linux 9 - x86_64 | ||
+ | Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 | ||
+ | Extra Packages for Enterprise Linux 9 - Next - x86_64 | ||
+ | Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) | ||
+ | Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) | ||
+ | Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) | ||
+ | |||
+ | ID | Command line | Date and time | Action(s) | ||
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ||
+ | 17 | autoremove | ||
+ | 16 | groupremove System Tools | 2024-09-30 11:45 | Removed | ||
+ | 15 | groupupdate System Tools | 2024-09-30 11:43 | Install | ||
+ | 14 | update net-snmp-libs.x86_64 | ||
+ | 13 | groupinstall System Tools | 2024-09-30 11:40 | Install | ||
+ | 12 | reinstall httpd | 2024-09-30 11:39 | R | 2 | ||
+ | 11 | install httpd -y | 2024-09-30 11:37 | Install | ||
+ | 10 | install telnet-server | ||
+ | 9 | | 2024-09-29 13:58 | Install | ||
+ | 8 | | 2024-09-29 13:44 | Install | ||
+ | 7 | | 2024-09-29 13:21 | Install | ||
+ | 6 | install patch -y | 2024-09-25 16:20 | Install | ||
+ | 5 | install screen | ||
+ | 4 | install epel-release epel-next-release | ||
+ | 3 | install https:// | ||
+ | 2 | update | ||
+ | 1 | | 2023-10-19 18:08 | Install | ||
+ | </ | ||
+ | |||
+ | Cette commande possède une option **undo** : | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf history undo 14 | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:22:38 ago on Mon 30 Sep 2024 11:50:09 AM CEST. | ||
+ | Dependencies resolved. | ||
+ | ================================================================================================================================================================================================================== | ||
+ | | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Downgrading: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Downgrade | ||
+ | |||
+ | Total download size: 760 k | ||
+ | Is this ok [y/N]: y | ||
+ | Downloading Packages: | ||
+ | net-snmp-libs-5.9.1-13.el9_4.2.x86_64.rpm | ||
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ||
+ | Total 1.2 MB/s | 760 kB | ||
+ | Running transaction check | ||
+ | Transaction check succeeded. | ||
+ | Running transaction test | ||
+ | Transaction test succeeded. | ||
+ | Running transaction | ||
+ | Preparing | ||
+ | Downgrading | ||
+ | Cleanup | ||
+ | Running scriptlet: net-snmp-libs-1: | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Installed products updated. | ||
+ | |||
+ | Downgraded: | ||
+ | net-snmp-libs-1: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | ====2.10 - Le Dépôt Application Stream==== | ||
+ | |||
+ | Le contenu de RHEL 9 est distribué via deux dépôts principaux de logiciels : BaseOS et Application Stream (AppStream). | ||
+ | |||
+ | En utilisant le dépôt Application Stream, plusieurs versions des composants de l' | ||
+ | |||
+ | Le dépôt Application Stream contient deux types de contenu, des Modules et des paquets RPM traditionnels. Un module décrit un ensemble de paquets RPM qui vont ensemble. | ||
+ | |||
+ | Les Modules peuvent contenir plusieurs flux pour rendre plusieurs versions d' | ||
+ | |||
+ | Un Module est un ensemble de paquets RPM qui constituent un ensemble cohérent qui vont ensemble. Généralement, | ||
+ | |||
+ | Chaque Module peut avoir un ou plusieurs flux de Modules qui contiennent différentes versions du contenu. Chacun des flux reçoit les mises à jour indépendamment. Un flux de modules est un dépôt virtuel dans le dépôt physique **Application Stream**. Pour chaque Module, un seul de ses flux peut être activé et fournir ses packages à la fois. | ||
+ | |||
+ | Chaque Module peut avoir un ou plusieurs **profils**. Un profil est une liste de certains paquets à installer ensemble pour un cas d' | ||
+ | |||
+ | Pour consulter la liste de Modules disponibles, | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf module list | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:22:40 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) | ||
+ | Name | ||
+ | swig 4.1 common [d], complete | ||
+ | |||
+ | Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) | ||
+ | Name | ||
+ | mariadb | ||
+ | maven 3.8 common [d] Java project management and project comprehension tool | ||
+ | nginx 1.22 | ||
+ | nginx 1.24 | ||
+ | nodejs | ||
+ | nodejs | ||
+ | php 8.1 common [d], devel, minimal | ||
+ | php 8.2 common [d], devel, minimal | ||
+ | postgresql | ||
+ | postgresql | ||
+ | redis 7 common [d] Redis persistent key-value database | ||
+ | ruby | ||
+ | ruby | ||
+ | |||
+ | Hint: [d]efault, [e]nabled, [x]disabled, | ||
+ | </ | ||
+ | |||
+ | Pour lister les flux de Modules disponibles ainsi que leurs statuts pour un Module particulier, | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf module list php | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:38:17 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) | ||
+ | Name | ||
+ | php 8.1 | ||
+ | php 8.2 | ||
+ | |||
+ | Hint: [d]efault, [e]nabled, [x]disabled, | ||
+ | </ | ||
+ | |||
+ | Pour obtenir l' | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf module info php | more | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:42:18 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | Name : php | ||
+ | Stream | ||
+ | Version | ||
+ | Context | ||
+ | Architecture | ||
+ | Profiles | ||
+ | Default profiles : common | ||
+ | Repo : rhel-9-for-x86_64-appstream-rpms | ||
+ | Summary | ||
+ | Description | ||
+ | Requires | ||
+ | Artifacts | ||
+ | : php-0: | ||
+ | : php-0: | ||
+ | : php-bcmath-0: | ||
+ | : php-bcmath-debuginfo-0: | ||
+ | : php-cli-0: | ||
+ | : php-cli-debuginfo-0: | ||
+ | : php-common-0: | ||
+ | : php-common-debuginfo-0: | ||
+ | : php-dba-0: | ||
+ | : php-dba-debuginfo-0: | ||
+ | : php-dbg-0: | ||
+ | : php-dbg-debuginfo-0: | ||
+ | : php-debuginfo-0: | ||
+ | : php-debugsource-0: | ||
+ | : php-devel-0: | ||
+ | : php-embedded-0: | ||
+ | : php-embedded-debuginfo-0: | ||
+ | : php-enchant-0: | ||
+ | : php-enchant-debuginfo-0: | ||
+ | : php-ffi-0: | ||
+ | : php-ffi-debuginfo-0: | ||
+ | : php-fpm-0: | ||
+ | : php-fpm-debuginfo-0: | ||
+ | : php-gd-0: | ||
+ | : php-gd-debuginfo-0: | ||
+ | : php-gmp-0: | ||
+ | : php-gmp-debuginfo-0: | ||
+ | : php-intl-0: | ||
+ | : php-intl-debuginfo-0: | ||
+ | : php-ldap-0: | ||
+ | : php-ldap-debuginfo-0: | ||
+ | : php-mbstring-0: | ||
+ | : php-mbstring-debuginfo-0: | ||
+ | : php-mysqlnd-0: | ||
+ | : php-mysqlnd-debuginfo-0: | ||
+ | : php-odbc-0: | ||
+ | : php-odbc-debuginfo-0: | ||
+ | : php-opcache-0: | ||
+ | : php-opcache-debuginfo-0: | ||
+ | : php-pdo-0: | ||
+ | : php-pdo-debuginfo-0: | ||
+ | --More-- | ||
+ | [q] | ||
+ | </ | ||
+ | |||
+ | Pour installet **et** activer un flux de Module particulier, | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf module install php:8.2 -y | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:54:10 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | Dependencies resolved. | ||
+ | ================================================================================================================================================================================================================== | ||
+ | | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Installing group/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Installing dependencies: | ||
+ | | ||
+ | Installing module profiles: | ||
+ | | ||
+ | Enabling module streams: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Install | ||
+ | |||
+ | Total download size: 6.8 M | ||
+ | Installed size: 34 M | ||
+ | Downloading Packages: | ||
+ | (1/6): php-common-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64.rpm | ||
+ | (2/6): php-fpm-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64.rpm | ||
+ | (3/6): php-mbstring-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64.rpm | ||
+ | (4/6): php-xml-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64.rpm | ||
+ | (5/6): php-cli-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64.rpm | ||
+ | (6/6): nginx-filesystem-1.20.1-16.el9_4.1.noarch.rpm | ||
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ||
+ | Total 4.4 MB/s | 6.8 MB | ||
+ | Running transaction check | ||
+ | Transaction check succeeded. | ||
+ | Running transaction test | ||
+ | Transaction test succeeded. | ||
+ | Running transaction | ||
+ | Preparing | ||
+ | Installing | ||
+ | Running scriptlet: nginx-filesystem-1: | ||
+ | Installing | ||
+ | Installing | ||
+ | Running scriptlet: php-fpm-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64 | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Running scriptlet: php-xml-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64 | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Installed products updated. | ||
+ | |||
+ | Installed: | ||
+ | nginx-filesystem-1: | ||
+ | php-fpm-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64 | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | Constatez le statut du flux de Module **php** : | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf module list --enabled | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:54:59 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) | ||
+ | Name | ||
+ | php 8.2 [e] | ||
+ | |||
+ | Hint: [d]efault, [e]nabled, [x]disabled, | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | **Important** : Notez la présence des caractères **[e]**, **[d]** et **[i]**. | ||
+ | </ | ||
+ | |||
+ | Pour supprimer le flux de Module, utilisez la commande **dnf module remove** : | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf module remove php:8.2 -y | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:56:35 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | Dependencies resolved. | ||
+ | ================================================================================================================================================================================================================== | ||
+ | | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Removing: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Removing unused dependencies: | ||
+ | | ||
+ | Disabling module profiles: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Remove | ||
+ | |||
+ | Freed space: 34 M | ||
+ | Running transaction check | ||
+ | Transaction check succeeded. | ||
+ | Running transaction test | ||
+ | Transaction test succeeded. | ||
+ | Running transaction | ||
+ | Preparing | ||
+ | Running scriptlet: php-fpm-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64 | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Running scriptlet: php-common-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64 | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Installed products updated. | ||
+ | |||
+ | Removed: | ||
+ | nginx-filesystem-1: | ||
+ | php-fpm-8.2.13-1.module+el9.4.0+20748+b46899d2.x86_64 | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | Constatez de nouveau le statut du flux de Module **php** : | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf module list --enabled | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:57:06 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) | ||
+ | Name Stream | ||
+ | php 8.2 [e] common [d], devel, minimal | ||
+ | |||
+ | Hint: [d]efault, [e]nabled, [x]disabled, | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | **Important** : Notez que le flux de Module a été désinstallé ( abscence de **[i]** ) mais que celui-ci est toujours activé ( présence de **[e]** ). | ||
+ | </ | ||
+ | |||
+ | Pour désactiver le flux de Module, utilisez la commande **dnf module disable** : | ||
+ | |||
+ | < | ||
+ | [root@redhat9 ~]# dnf module disable php:8.2 -y | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:58:47 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | Only module name is required. Ignoring unneeded information in argument: ' | ||
+ | Dependencies resolved. | ||
+ | ================================================================================================================================================================================================================== | ||
+ | | ||
+ | ================================================================================================================================================================================================================== | ||
+ | Disabling modules: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================================================================================================================================================== | ||
+ | |||
+ | Complete! | ||
+ | |||
+ | [root@redhat9 ~]# dnf module list --enabled | ||
+ | Updating Subscription Management repositories. | ||
+ | Last metadata expiration check: 0:59:14 ago on Mon 30 Sep 2024 12:48:56 PM CEST. | ||
+ | </ | ||
+ | |||
+ | =====LAB #3 - Les Bibliothèques Partagées===== | ||
+ | |||
+ | ====3.1 - Présentation==== | ||
===Introduction=== | ===Introduction=== | ||
Ligne 2004: | Ligne 2433: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | Last metadata expiration check: 0:20:35 ago on Wed 21 Apr 2021 12:54:45 AM EDT. | + | |
- | Dependencies resolved. | + | |
- | ============================================================================================================= | + | |
- | | + | |
- | ============================================================================================================= | + | |
- | Installing: | + | |
- | | + | |
- | + | ||
- | Transaction Summary | + | |
- | ============================================================================================================= | + | |
- | Install | + | |
- | + | ||
- | Total download size: 1.9 M | + | |
- | Installed size: 6.8 M | + | |
- | Is this ok [y/ | + | |
</ | </ | ||
- | ====4.2 - La Commande ldd==== | + | ====3.2 - La Commande ldd==== |
Pour déterminer quelles sont les bibliothèques liées à une application, | Pour déterminer quelles sont les bibliothèques liées à une application, | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | linux-vdso.so.1 (0x00007fff39386000) | + | linux-vdso.so.1 (0x00007ffe40b83000) |
- | libslang.so.2 => / | + | libslang.so.2 => / |
- | libgpm.so.2 => / | + | libgpm.so.2 => / |
- | libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f0a73d47000) | + | |
- | libglib-2.0.so.0 => / | + | libglib-2.0.so.0 => / |
- | libpthread.so.0 => / | + | libc.so.6 => / |
- | libc.so.6 => / | + | libm.so.6 => / |
- | libdl.so.2 => / | + | libpcre.so.1 => / |
- | libm.so.6 => / | + | / |
- | libncurses.so.6 => / | + | |
- | libtinfo.so.6 => / | + | |
- | libgnutls.so.30 => / | + | |
- | libpcre.so.1 => / | + | |
- | / | + | |
- | libp11-kit.so.0 => / | + | |
- | libidn2.so.0 => / | + | |
- | libunistring.so.2 => / | + | |
- | libtasn1.so.6 => / | + | |
- | libnettle.so.6 => / | + | |
- | libhogweed.so.4 => / | + | |
- | libgmp.so.10 => / | + | |
- | libffi.so.6 => / | + | |
</ | </ | ||
Ligne 2055: | Ligne 2456: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
</ | </ | ||
Ligne 2061: | Ligne 2462: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | linux-vdso.so.1 (0x00007fff669a6000) | + | linux-vdso.so.1 (0x00007ffe893a6000) |
- | libslang.so.2 => not found | + | libslang.so.2 => not found |
- | libgpm.so.2 => / | + | libgpm.so.2 => / |
- | libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007fc6cc99c000) | + | |
- | libglib-2.0.so.0 => / | + | libglib-2.0.so.0 => / |
- | libpthread.so.0 => / | + | libc.so.6 => / |
- | libc.so.6 => / | + | libpcre.so.1 => / |
- | libncurses.so.6 => / | + | / |
- | libtinfo.so.6 => / | + | |
- | libdl.so.2 => / | + | |
- | libgnutls.so.30 => / | + | |
- | libpcre.so.1 => / | + | |
- | / | + | |
- | libp11-kit.so.0 => / | + | |
- | libidn2.so.0 => / | + | |
- | libunistring.so.2 => / | + | |
- | libtasn1.so.6 => / | + | |
- | libnettle.so.6 => / | + | |
- | libhogweed.so.4 => / | + | |
- | libgmp.so.10 => / | + | |
- | libffi.so.6 => / | + | |
</ | </ | ||
Ligne 2088: | Ligne 2476: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | mc: error while loading shared libraries: libslang.so.2: | + | /usr/bin/mc: error while loading shared libraries: libslang.so.2: |
</ | </ | ||
Ligne 2095: | Ligne 2483: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | [root@centos8 | + | |
- | linux-vdso.so.1 (0x00007fff4b8de000) | + | [root@redhat9 |
- | libslang.so.2 => / | + | linux-vdso.so.1 (0x00007ffff85f9000) |
- | libgpm.so.2 => / | + | libslang.so.2 => / |
- | libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f670a586000) | + | libgpm.so.2 => / |
- | libglib-2.0.so.0 => / | + | |
- | libpthread.so.0 => / | + | libglib-2.0.so.0 => / |
- | libc.so.6 => / | + | libc.so.6 => / |
- | libdl.so.2 => / | + | libm.so.6 => / |
- | libm.so.6 => / | + | libpcre.so.1 => / |
- | libncurses.so.6 => / | + | / |
- | libtinfo.so.6 => / | + | |
- | libgnutls.so.30 => / | + | |
- | libpcre.so.1 => / | + | |
- | / | + | |
- | libp11-kit.so.0 => / | + | |
- | libidn2.so.0 => / | + | |
- | libunistring.so.2 => / | + | |
- | libtasn1.so.6 => / | + | |
- | libnettle.so.6 => / | + | |
- | libhogweed.so.4 => / | + | |
- | libgmp.so.10 => / | + | |
- | libffi.so.6 => / | + | |
</ | </ | ||
- | ====4.3 - Le fichier / | + | ====3.3 - Le fichier / |
Le fichier **/ | Le fichier **/ | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
include ld.so.conf.d/ | include ld.so.conf.d/ | ||
</ | </ | ||
Ligne 2133: | Ligne 2509: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | total 16 | + | total 4 |
- | -rw-r--r--. 1 root root 26 Mar 1 10:21 bind-export-x86_64.conf | + | -rw-r--r--. 1 root root 30 Jan 19 2024 pipewire-jack-x86_64.conf |
- | -r--r--r--. 1 root root 67 Apr 9 2020 kernel-4.18.0-147.8.1.el8_1.x86_64.conf | + | |
- | -r--r--r--. 1 root root 67 Apr 8 15:09 kernel-4.18.0-240.22.1.el8_3.x86_64.conf | + | |
- | -rw-r--r--. 1 root root 17 Nov 3 19:38 libiscsi-x86_64.conf | + | |
</ | </ | ||
- | Par exemple, le contenu du fichier **bind-export-x86_64.conf** est : | + | Par exemple, le contenu du fichier **pipewire-jack-x86_64.conf** est : |
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | /usr/lib64//bind9-export/ | + | /usr/lib64/pipewire-0.3/jack/ |
</ | </ | ||
- | ====4.4 - La Commande ldconfig==== | + | ====3.4 - La Commande ldconfig==== |
La commande **ldconfig** est utilisée pour : | La commande **ldconfig** est utilisée pour : | ||
Ligne 2160: | Ligne 2533: | ||
< | < | ||
- | [root@centos8 | + | [root@redhat9 |
- | 546 libs found in cache `/ | + | 827 libs found in cache `/ |
- | p11-kit-trust.so (libc6, | + | |
- | libzstd.so.1 (libc6, | + | libz.so.1 (libc6, |
- | libz.so.1 (libc6, | + | |
- | libyaml-0.so.2 (libc6, | + | libyaml-0.so.2 (libc6, |
- | libyajl.so.2 (libc6, | + | libyajl.so.2 (libc6, |
- | libxtables.so.12 (libc6, | + | libxtables.so.12 (libc6, |
- | libxslt.so.1 (libc6, | + | libxslt.so.1 (libc6, |
- | libxshmfence.so.1 (libc6, | + | libxshmfence.so.1 (libc6, |
- | libxml2.so.2 (libc6, | + | libxml2.so.2 (libc6, |
- | libxkbcommon.so.0 (libc6, | + | |
- | libxcb.so.1 (libc6, | + | libxmlsec1-openssl.so.1 (libc6, |
- | libxcb-xvmc.so.0 (libc6, | + | libxmlsec1-openssl.so (libc6, |
- | libxcb-xv.so.0 (libc6, | + | libxmlb.so.2 (libc6, |
- | libxcb-xtest.so.0 (libc6, | + | libxklavier.so.16 (libc6, |
- | libxcb-xselinux.so.0 (libc6, | + | libxkbregistry.so.0 (libc6, |
- | libxcb-xkb.so.1 (libc6, | + | libxkbfile.so.1 (libc6, |
- | libxcb-xinput.so.0 (libc6, | + | |
- | libxcb-xinerama.so.0 (libc6, | + | |
- | libxcb-xf86dri.so.0 (libc6, | + | libxcvt.so.0 (libc6, |
- | libxcb-xfixes.so.0 (libc6, | + | |
- | libxcb-sync.so.1 (libc6, | + | libxcb-xvmc.so.0 (libc6, |
- | libxcb-shm.so.0 (libc6, | + | libxcb-xv.so.0 (libc6, |
+ | libxcb-xtest.so.0 (libc6, | ||
+ | libxcb-xselinux.so.0 (libc6, | ||
+ | libxcb-xkb.so.1 (libc6, | ||
+ | libxcb-xinput.so.0 (libc6, | ||
+ | libxcb-xinerama.so.0 (libc6, | ||
+ | libxcb-xf86dri.so.0 (libc6, | ||
+ | libxcb-xfixes.so.0 (libc6, | ||
+ | | ||
+ | | ||
+ | libxcb-shm.so.0 (libc6, | ||
+ | libxcb-shape.so.0 (libc6, | ||
+ | libxcb-screensaver.so.0 (libc6, | ||
+ | libxcb-res.so.0 (libc6, | ||
+ | libxcb-render.so.0 (libc6, | ||
+ | libxcb-record.so.0 (libc6, | ||
+ | libxcb-randr.so.0 (libc6, | ||
+ | libxcb-present.so.0 (libc6, | ||
+ | libxcb-glx.so.0 (libc6, | ||
+ | libxcb-dri3.so.0 (libc6, | ||
+ | libxcb-dri2.so.0 (libc6, | ||
+ | libxcb-dpms.so.0 (libc6, | ||
+ | libxcb-damage.so.0 (libc6, | ||
+ | libxcb-composite.so.0 (libc6, | ||
+ | libxatracker.so.2 (libc6, | ||
+ | libwpe-1.0.so.1 (libc6, | ||
+ | libwoff2enc.so.1.0.2 (libc6, | ||
+ | libwoff2dec.so.1.0.2 (libc6, | ||
+ | libwoff2common.so.1.0.2 (libc6, | ||
+ | libwnck-3.so.0 (libc6, | ||
+ | libwireplumber-0.4.so.0 (libc6, | ||
+ | libwebrtc_audio_processing.so.1 (libc6, | ||
+ | libwebpmux.so.3 (libc6, | ||
--More-- | --More-- | ||
</ | </ |