GNU/Linux >> Linux Esercitazione >  >> Linux

Come visualizzare informazioni aggiuntive sul pacchetto utilizzando yum e yumdb – RedHat Linux

Ci sono due strumenti utili per aiutarti a fornire informazioni aggiuntive sui pacchetti di sistema. Il primo strumento è il gestore di pacchetti yum e il secondo è yumdb . Entrambi gli strumenti visualizzano un diverso tipo di informazioni. L'altra differenza è che yumdb comando può essere utilizzato solo sui pacchetti attualmente installati sul sistema.

gnam info

Il yum comando può visualizzare informazioni sul pacchetto anche se non è attualmente installato. Questo è un modo pratico per richiedere informazioni aggiuntive prima che venga eseguita l'installazione effettiva. Questo può essere fatto usando info opzione. Quello che segue è un output predefinito quando si utilizza yum info per richiedere informazioni su un pacchetto. Nell'esempio seguente cercheremo alcune informazioni aggiuntive su at pacchetto:

# yum info at
Loaded plugins: product-id, subscription-manager
Available Packages
Name        : at
Arch        : x86_64
Version     : 3.1.13
Release     : 17.el7
Size        : 50 k
Repo        : RHEL_7_Disc
Summary     : Job spooling tools
URL         : http://ftp.debian.org/debian/pool/main/a/at
License     : GPLv3+ and GPLv2+ and ISC and MIT and Public Domain
Description : At and batch read commands from standard input or from a specified
            : file. At allows you to specify that a command will be run at a
            : particular time. Batch will execute commands when the system load
            : levels drop to a particular level. Both commands use user's shell.
            : 
            : You should install the at package if you need a utility for
            : time-oriented job control. Note: If it is a recurring job that will
            : need to be repeated at the same time every day/week, etc. you should
            : use crontab instead.

informazioni yumdb

Il diverso insieme di informazioni su qualsiasi pacchetto attualmente installato può essere recuperato da yumdb comando. Il yumdb il comando potrebbe mancare in quanto potrebbe non essere installato sul tuo sistema per impostazione predefinita. Per creare il yumdb comando disponibile devi prima installare yum-utils pacchetto.

[root@rhel7 ~]# yum install yum-utils

Una volta installato puoi usare yumdb comando per ottenere informazioni aggiuntive su qualsiasi pacchetto attualmente installato. Ancora una volta utilizziamo at pacchetto come esempio. Di seguito puoi vedere un output predefinito di yumdb info comando:

[root@rhel7 ~]# yumdb info at
Loaded plugins: product-id
at-3.1.13-17.el7.x86_64
     checksum_data = 6257ddee132d91801cf303fe6f0660de6e8da64c2c132203ae54861f3667bdc3
     checksum_type = sha256
     command_line = install at
     from_repo = RHEL_7_Disc
     from_repo_revision = 1399448732
     from_repo_timestamp = 1399448734
     installed_by = 0
     reason = user
     releasever = 7Server
     var_uuid = bd54f3b1-8d8c-4e79-9384-084d9a58d544

Linux
  1. Come installare Gnome e avviare la GUI in Redhat Linux

  2. Come aprire la porta http 80 in Redhat Linux usando firewall-cmd

  3. Installazione e utilizzo di Homebrew Package Manager su Linux

  4. Come usare type command (visualizzare le informazioni sul comando) in Linux

  5. Come installare MongoDB dal sorgente (e usando YUM) su Linux

Come eseguire app Linux su Windows 10 e 11 utilizzando WSL

Come visualizzare le informazioni sulla CPU di Linux utilizzando CPUFetch

Come clonare e ripristinare la partizione Linux usando il comando dd

Come eliminare file e directory utilizzando la riga di comando di Linux

Come utilizzare Yum Package Manager su Rocky Linux 8

Come modificare il nome host e l'indirizzo IP in CentOS / RedHat Linux