![]() Or if you have the file on the system that you are running your browser on, select From uploaded file and select it using the Browse button. If the module file is already on your system, you can choose the From local file option and enter the path to the tar.gz file into the field next to it. Just select it and enter the name of the module (such as Net::Telnet) into the adjacent text field. It offers four options for types of source to install a module in tar.gz distribution file format from, but the most common and useful is From CPAN. At the bottom of the module's main page is the installation form.If you need to install a new Perl module for use by Webmin or for developing your own scripts, it can be done easily using this Webmin module. Select perl module to be installed Installing a Perl module All versions of Linux include the gcc compiler as standard, but many commercial Unix variants do not come with a free C compiler. The only problem that you may encounter on non-Linux systems is the lack of a C compiler, which is often needed when installing Perl modules. Sub-modules are Webmin's term for Perl modules that are included in the distribution tar.gz file along with a primary module.īecause Perl behaves the same on all versions of Unix, this Webmin module has the same user interface and functionality on all operating systems. For each, the module name, a short description, installation date and number of sub-modules is shown. When you enter it, the main page lists all modules that are currently installed as shown in the image below. Under the Others category in Webmin is a module called Perl Modules, that can be used to view, install and remove Perl modules from your system. ![]() To reliably connect to and manage [[MySQL Database}} and PostgreSQL databases, you need to install the DBD::mysql and DBD:Pg modules respectively. For example, to run Webmin in SSL mode (as explained in chapter 2), it is necessary to install the Net::SSLeay module. Webmin can install a Perl module for you directly from CPAN if you know the name of the module that you want.īecause Webmin is itself written in Perl, it can make use of some optional modules. It has a vast database of almost every third-party module available, and is easily searchable. The best source of Perl modules is CPAN (the Comprehensive Perl Archive Network), located at. Often, a single distribution file will contain multiple modules that must all be installed together. Modules are distributed in tar.gz files which need to be extracted and compiled before they can be installed. ![]() All those that have multi-part names separated by double-colons are part of a family of related modules, which are often packaged together. Modules exist for a wide variety of purposes, such as connecting to databases, creating images, using network protocols and parsing data formats.Īll Perl modules have short names like GD or Net::Telnet. ![]() The standard distribution of Perl includes many modules, but there are far more available that can be installed separately. The Perl programming language has many of its functions in separate modules, which are be loaded by Perl scripts only when they need them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |