第一次安装perlCPAN时的配置文件
(2022-04-02 10:31:48)| 分类: 日常记录 |
cpan -h
CPAN.pm requires configuration, but most of it can be done
automatically.
If you answer 'no' below, you will enter an interactive dialog
for each
configuration option instead.
Would you like to configure as much as possible automatically?
[yes] 选择no后就可以看到自己设置各项配置文件的路径
Warning: You do not have write permission for Perl library
directories.
To install modules, you need to configure a local Perl library
directory or
escalate your privileges. CPAN can help you
by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if
available). You may also
resolve this problem manually if you need to customize your
setup.
What approach do you want? (Choose
'local::lib', 'sudo' or 'manual')
The following questions are intended to help you with
the
configuration. The CPAN module needs a directory of its own to
cache
important index files and maybe keep a temporary mirror of
CPAN files.
This may be a site-wide or a personal directory.
I see you already have a directory
/home/lujiang/.cpan
Shall we use it as the general CPAN build and cache
directory?
CPAN build and cache directory? [/home/lujiang/.cpan]
Unless you are accessing the CPAN on your filesystem via a
file: URL,
CPAN.pm needs to keep the source files it downloads somewhere.
Please
supply a directory where the downloaded files are to be
kept.
下面各项选yes or no。
太多了,就不一一复制了。
太多了,就不一一复制了。
前一篇:R语言再次安装过程问题(第二篇)

加载中…