Wie aktualisiere ich mein Grep-Dienstprogramm auf CentOS 5.6?

Wie aktualisiere ich mein Grep-Dienstprogramm auf CentOS 5.6?

Ich verwende ein CentOS 5.6-System. Da esein Käferin meiner Version von grep. Ich möchte auf eine neue Version aktualisieren. Ich habe versucht, es mit yum zu aktualisieren (upzugraden), aber es hat nicht funktioniert.

[root@localhost ~]# cat /etc/redhat-
redhat-lsb/     redhat-release  
[root@localhost ~]# cat /etc/redhat-release 
CentOS release 5.6 (Final)
[root@localhost ~]# grep --version
grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@localhost ~]# yum update gerp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirrors.btte.net
base                                                                                                                           | 1.1 kB     00:00     
extras                                                                                                                         | 2.1 kB     00:00     
updates                                                                                                                        | 1.9 kB     00:00     
Setting up Update Process
No Match for argument: gerp
No package gerp available.
No Packages marked for Update
[root@localhost ~]#

Antwort1

Hilft yum update grepdir das? Du hast einen Tippfehler beim Kopieren und Einfügen: gerp.

Beachten Sie auch, dass RHEL/CentOS nur wichtige Sicherheitsfixes usw. zurückportieren und nicht ständig auf die neueste und beste Version einer bestimmten Software aktualisiert werden.

Antwort2

Liegt ein Tippfehler vor?

[root@localhost ~]# yum update ****gerp****
argument: gerp No package gerp available. No Packages marked for Update

Sie wollengrepanstattgerp

verwandte Informationen