From: Frédéric Buclin Date: Mon, 7 Mar 2016 16:58:37 +0000 (+0100) Subject: Bug 1251672: "cpanm" is easier to remember and to type than "curl -L http://cpanmin... X-Git-Tag: release-5.1.1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94baad58ceedd7db7fdd86117d0a9d18f06acacc;p=thirdparty%2Fbugzilla.git Bug 1251672: "cpanm" is easier to remember and to type than "curl -L http://cpanmin.us | perl -" r=dylan --- diff --git a/docs/en/rst/installing/linux.rst b/docs/en/rst/installing/linux.rst index e1672fc2ab..edbe7b49fd 100644 --- a/docs/en/rst/installing/linux.rst +++ b/docs/en/rst/installing/linux.rst @@ -153,14 +153,18 @@ To make sure you have all the core requirements to run Bugzilla, you should run :command:`perl Makefile.PL` -Should this command warn about missing prerequisites -- or prerequisites that are too old, -you may use cpanm to install these. +Should this command warn about missing prerequisites -- or prerequisites that +are too old, you may use :file:`cpanm` to install these. -:command:`curl -L http://cpanmin.us | perl - --installdeps -l local .` +:command:`cpanm --installdeps -l local .` If you want a more full-featured Bugzilla, use the following command: -:command:`curl -L http://cpanmin.us | perl - --installdeps -l local --with-all-features --without-feature mod_perl --without-feature oracle --without-feature mysql --without-feature pg .` +:command:`cpanm --installdeps -l local --with-all-features --without-feature mod_perl --without-feature oracle --without-feature mysql --without-feature pg .` + +If you don't have :file:`cpanm` installed, you can either find it in your +:file:`cpanminus` or :file:`perl-App-cpanminus` package, or +`download it `_ from cpanmin.us. .. _linux-config-webserver: diff --git a/docs/en/rst/installing/mac-os-x.rst b/docs/en/rst/installing/mac-os-x.rst index 938088272c..7bf6ead96e 100644 --- a/docs/en/rst/installing/mac-os-x.rst +++ b/docs/en/rst/installing/mac-os-x.rst @@ -74,13 +74,16 @@ Perl Modules Bugzilla requires a number of Perl modules. Generally, the best way to install these is with the cpanm command. -Generally, the best way to install these is with cpanm: +Generally, the best way to install these is with :file:`cpanm`: -:command:`curl -L http://cpanmin.us | perl - --installdeps -l local .` +:command:`cpanm --installdeps -l local .` If you want a more full-featured Bugzilla: -:command:`curl -L http://cpanmin.us | perl - --installdeps -l local --with-all-features --without-feature oracle --without-feature mysql --without-feature pg` +:command:`cpanm --installdeps -l local --with-all-features --without-feature oracle --without-feature mysql --without-feature pg` + +If you don't have :file:`cpanm` installed, you can +`download it `_ from cpanmin.us. .. _macosx-config-webserver: