perl: redhat9, perl-interpreter.rpm 一个包分成很多个小包

原来redhat 8, perl-interpreter-5.26.3-423.el8_10.x86_64, 这个包下面有很多的文件

bash 复制代码
rpm -ql perl-interpreter-5.26.3-423.el8_10.x86_64
/usr/share/perl5/Text/Abbrev.pm
/usr/share/perl5/Thread
/usr/share/perl5/Thread.pm
/usr/share/perl5/Thread/Semaphore.pm
/usr/share/perl5/Tie
/usr/share/perl5/Tie/Array.pm
/usr/share/perl5/Tie/File.pm
/usr/share/perl5/Tie/Handle.pm
/usr/share/perl5/Tie/Hash.pm
/usr/share/perl5/Tie/Memoize.pm
/usr/share/perl5/Tie/RefHash.pm
/usr/share/perl5/Tie/Scalar.pm
/usr/share/perl5/Tie/StdHandle.pm
/usr/share/perl5/Tie/SubstrHash.pm

到了redhat9,就不行了,只有下面的几个文件:

bash 复制代码
(root@us-rhel9):/usr
$ rpm -ql perl-interpreter
/usr/bin/perl
/usr/bin/perl5.32.1
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/c1f1cc4c4c7f2c0fc0173b1dc1aea6d942a28d
/usr/lib/.build-id/ce/c1f1cc4c4c7f2c0fc0173b1dc1aea6d942a28d.1
/usr/share/man/man1/perl.1.gz
/usr/share/man/man1/perlrun.1.gz
/usr/share/perl5/pod
/usr/share/perl5/pod/perl.pod
/usr/share/perl5/pod/perlrun.pod

所以,如果是手动安装的机器,就麻烦了,最好使用dnf来安装需要的软件包。

相关推荐
Funlang4 小时前
给机器写的 JavaScript 造个笼子
开发语言·javascript·ecmascript
普通人64 小时前
PHP文件读写完全指南
开发语言·php·1024程序员节
坤坤子吖5 小时前
Linux网络编程:TCP服务器的多进程与多线程实现
linux·服务器·开发语言·网络·c++·笔记·学习
一晌小贪欢6 小时前
Python基础:第 09 篇 · while 循环:重复直到不满足
开发语言·c++·python·数据可视化·面向对象·python办公
xiaoye-duck6 小时前
《C++ 项目:手写大模型接入 SDK》LLMManager架构设计与实现
开发语言·网络·c++·语言模型
一条大祥脚7 小时前
CuTe 与 CuTe DSL:从 C++ 模板元编程到 Python DSL 的 GPU 编程演进
开发语言·c++·python·cutlass·cute·cute dsl
FRing038 小时前
vue2干货总结8(路由模块封装、router-link、声明式导航、路由重定向、编程式导航)
开发语言·前端·vue.js·vue2
旖旎夜光8 小时前
【C++ 基础入门】C++ 多态(上):虚函数、重写、override/final 与抽象类
开发语言·c++·笔记·学习
starzy19908 小时前
深入理解Scala嵌套函数:作用域封装之道
开发语言·scala
Sakura_j_h_8 小时前
从零写一个 MCP stdio Server:用 Python 校验博客文章格式
开发语言·python·自动化·ai工具·mcp·json-rpc