This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
informatica:hp_z400_600_centos7_2 [2021/08/04 16:47] miquel [Paquets addicionals] |
informatica:hp_z400_600_centos7_2 [2021/08/06 11:57] miquel [Paquets addicionals] |
||
---|---|---|---|
Line 207: | Line 207: | ||
* FIXME Descriure cóm instal·lar els paquets de la llista anterior per replicar una instal·lació. | * FIXME Descriure cóm instal·lar els paquets de la llista anterior per replicar una instal·lació. | ||
- | ==== Obtenir el llistat | + | En qualsevol dels nous ordinador dels espectròmetres Avance Neo, executar alguna |
- | En qualsevol dels nous ordinador | + | <WRAP tip> |
+ | Les comandes per generar el llistat de paquets de software instal·lats en un ordinador | ||
+ | </ | ||
- | | + | <wrap info> |
- | * '' | + | |
- | * To get the list of package installed from a rpm: | + | |
- | * '' | + | * Processament: |
- | * To get the list of package installed from yum: | + | * Font: [[https:// |
- | * '' | + | |
- | * ... | + | <wrap alert> |
+ | |||
+ | * Generació a RHEL: '' | ||
+ | * Instal·lació a Fedora: '' | ||
+ | * Font: [[https:// | ||
+ | * Avaluació: **aquest mètode no funciona,** el llistat generat no conté la versió del paquet de software, només el nom. | ||
+ | |||
+ | <wrap alert> | ||
+ | |||
+ | * Generació del llistat | ||
+ | * complet: '' | ||
+ | * instal·lats amb rpm: '' | ||
+ | * instal·lats amb yum: '' | ||
+ | * Processament del llistat: la mateixa comanda que en el cas anterior. | ||
+ | * Font: [[https:// | ||
+ | * Avaluació: **Aquests mètodes no funcionen, | ||
+ | |||
+ | <wrap alert> | ||
+ | |||
+ | * Generació del llistat: '' | ||
+ | * Processament del llistat: '' | ||
+ | * Font: [[http:// | ||
+ | * Avaluació: **Aquest mètode no funciona:** La comanda per generar el llistat dona un error relacionat amb l' | ||
+ | |||
+ | <wrap info> | ||
+ | |||
+ | * Generació del llistat: '' | ||
+ | * Processament del llistat: '' | ||
+ | * Font: [[https:// | ||
+ | |||
+ | La conclusió final és que els mètodes que fan servir la comanda '' | ||
+ | |||
+ | El mètode triat és: | ||
+ | |||
+ | * Generació del llistat: '' | ||
+ | * Processament del llistat: | ||
+ | * '' | ||
+ | |||
+ | Per precaució, es pot fer un simulacre per veure quins paquets s' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | i es pot registrar l' | ||
+ | |||
+ | * comanda no interactiva: | ||
+ | * comanda interactiva: | ||
+ | |||
+ | En aquest cas, | ||
+ | |||
+ | < | ||
+ | # script yum-install-output.log | ||
+ | Script started, file is yum-install-output.log | ||
+ | # yum -y install $(cat avance-neo-500-pkglist.txt | xargs) | ||
+ | Loaded plugins: fastestmirror, | ||
+ | Loading mirror speeds from cached hostfile | ||
+ | epel/ | ||
+ | * base: ftp.csuc.cat | ||
+ | * elrepo: mirrors.coreix.net | ||
+ | * epel: pkg.adfinis.com | ||
+ | * extras: ftp.csuc.cat | ||
+ | * updates: ftp.csuc.cat | ||
+ | base | 3.6 kB 00: | ||
+ | bruker | ||
+ | elrepo | ||
+ | extras | ||
+ | updates | ||
+ | updates/ | ||
+ | Package abattis-cantarell-fonts-0.0.25-1.el7.noarch already installed and latest version | ||
+ | Package abrt-2.1.11-60.el7.centos.x86_64 already installed and latest version | ||
+ | |||
+ | [...] | ||
+ | |||
+ | Package zip-3.0-11.el7.x86_64 already installed and latest version | ||
+ | Package zlib-1.2.7-19.el7_9.x86_64 already installed and latest version | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package ImageMagick.x86_64 0: | ||
+ | ---> Package NetworkManager-bluetooth.x86_64 1: | ||
+ | ---> Package NetworkManager-wwan.x86_64 1: | ||
+ | |||
+ | [...] | ||
+ | |||
+ | ---> Package yum-plugin-nvidia.noarch 0: | ||
+ | ---> Package yumex.noarch 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Installing: | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | [...] | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Install | ||
+ | |||
+ | Total size: 705 M | ||
+ | Installed size: 2.0 G | ||
+ | Downloading packages: | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Installing : libxfce4util-4.12.1-2.el7.x86_64 | ||
+ | Installing : librevenge-0.0.2-2.el7.x86_64 | ||
+ | Installing : kdesdk-common-4.10.5-8.el7.noarch | ||
+ | |||
+ | [...] | ||
+ | |||
+ | Installing : bruker-default-user-2.1-0.el7.brk.noarch | ||
+ | Installing : pyOpenSSL-0.13.1-4.el7.x86_64 | ||
+ | Installing : vte-0.28.2-10.el7.x86_64 | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | [...] | ||
+ | |||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | ImageMagick.x86_64 0: | ||
+ | NetworkManager-wwan.x86_64 1: | ||
+ | PackageKit-Qt.x86_64 0: | ||
+ | |||
+ | [...] | ||
+ | |||
+ | xorg-x11-server-Xvfb.x86_64 0: | ||
+ | xsettings-kde.x86_64 0: | ||
+ | yum-plugin-nvidia.noarch 0: | ||
+ | |||
+ | Complete! | ||
+ | |||
+ | # exit | ||
+ | exit | ||
+ | Script done, file is yum-install-output.log | ||
+ | |||
+ | </ | ||
Line 226: | Line 377: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||