Open shenxianpeng opened 1 year ago
hm, my rockylinux:8 doesn't include diff.
Hi rockylinux:8 include diff
after running dnf update -y
, please refer my output.
C:\Users\xianp>docker run -it rockylinux:8 bash
Unable to find image 'rockylinux:8' locally
8: Pulling from library/rockylinux
0049b869cecb: Pull complete
Digest: sha256:afd392a691df0475390df77cb5486f226bc2b4cbaf87c41785115b9237f3203f
Status: Downloaded newer image for rockylinux:8
[root@44230ed11a09 /]# diff
bash: diff: command not found
[root@44230ed11a09 /]# dnf update -y
....
Installed:
diffutils-3.6-6.el8.x86_64 gnupg2-smime-2.2.20-3.el8_6.x86_64 libsecret-0.18.6-1.el8.0.2.x86_64
libxkbcommon-0.9.1-1.el8.x86_64 openssl-1:1.1.1k-7.el8_6.x86_64 openssl-pkcs11-0.4.10-2.el8.x86_64
pinentry-1.1.0-2.el8.x86_64 platform-python-pip-9.0.3-22.el8.rocky.0.noarch xkeyboard-config-2.28-1.el8.noarch
Complete!
[root@44230ed11a09 /]# diff
diff: missing operand after 'diff'
diff: Try 'diff --help' for more information.
Compared with
rockylinux:8
,rockylinux:9.0
doesn't includediffutils
package by default after runningdnf update -y
command.Output from Rocky Linux release 9
Output from Rocky Linux release 8