安装 perl 模块

tot*_*oto 3 ubuntu libraries apt perl

我试图在我的 Ubuntu 机器上安装一个 perl 模块 Future::Utils 但没有找到确切的命令。我试过这个命令,但没有用:

sudo apt-get install libfuture-utils-perl
Run Code Online (Sandbox Code Playgroud)

当我运行这个命令时,我得到了这个结果:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libfuture-perl
Run Code Online (Sandbox Code Playgroud)

你能帮我解决这个问题吗

roa*_*ima 5

在我的 Debian 系统上运行你的命令给了我这个结果

apt-get install libfuture-utils-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libfuture-utils-perl
Run Code Online (Sandbox Code Playgroud)

但是,我通过搜索发现该库可以作为一个包使用:

apt-cache search libfuture
libfuture-perl - module for operations awaiting completion
Run Code Online (Sandbox Code Playgroud)

然后我就可以安装它了:

apt-get install libfuture-perl
Run Code Online (Sandbox Code Playgroud)