![]() ![]() Once the module is installed, type 'exit' to return back to your shell. To install a Perl module, for example Net::DNS, enter into cpan shell using command: $ sudo cpanĪnd type the following command from cpan prompt to install the module: install Net::DNS Install Perl modules using cpanĬpan is a command line client for CPAN repository and is distributed with all Perl editions by default. Let us go ahead and install perl modules. On SUSE/openSUSE: $ sudo zypper install make ![]() On R HEL, CentOS: $ sudo yum install make On Debian, Ubuntu, Linux Mint: $ sudo apt install make To install 'make' on Arch Linux and its variants, run: $ sudo pacman -S make 'make' package is available in the default repositories most Linux distributions. If you don't install 'make', you might encountered with an error something like below: Can't configure the distribution. 'make' is an essential tool for building perl Modules. Please ensure that you have installed 'make' package on your Linux distribution. It is worth mentioning that Many modules on CPAN requires the recent version of Perl version 5.8 or above. We are going to try two tools namely cpan and cpanm. There are many tools available to install and Perl modules. Install missing Perl modules using distribution's package manager.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |