[opensuse-packaging] What is equivalent zypper command to install various perl modules ?
Questions: - What is equivalent zypper command to install various perl modules ? - Which repository are they from ? Ive got these defined. Thanks --Glenn # zypper lr -u # | Alias | Name | Enabled | Refresh | URI --+--------------------------+--------------------------+---------+---------+------------------------------------------------------------------------------------- 1 | FactoryLatestOss | FactoryLatestOss | Yes | Yes | http://mirrors1.kernel.org/opensuse/factory/repo/oss/ 2 | LibreOffice | LibreOffice | No | Yes | http://ftp5.gwdg.de/pub/opensuse/repositories/LibreOffice:/4.3/openSUSE_13.1... 3 | dnhRepo | dnhRepo | Yes | Yes | http://download.opensuse.org/repositories/home:/dnh:/doiggl:/bugzilla/openSU... 4 | myTestBuilds | myTestBuilds | No | No | http://download.opensuse.org/repositories/home:/doiggl/openSUSE_Factory/ 5 | repo-non-oss | repo-non-oss | Yes | Yes | http://mirror.aarnet.edu.au/pub/opensuse/opensuse/distribution/13.1/repo/non... 6 | repo-oss | repo-oss | Yes | Yes | http://mirror.aarnet.edu.au/pub/opensuse/opensuse/distribution/13.1/repo/oss... 7 | repo-update | repo-update | Yes | Yes | http://mirror.aarnet.edu.au/pub/opensuse/opensuse/update/13.1/ 8 | repo-update-13.1-non-oss | repo-update-13.1-non-oss | Yes | Yes | http://mirror.aarnet.edu.au/pub/opensuse/opensuse/update/13.1-non-oss/ 9 | server:monitoring | server:monitoring | Yes | Yes | http://ftp5.gwdg.de/pub/opensuse/repositories/server:/monitoring/openSUSE_Fa... # mysql -V mysql Ver 15.1 Distrib 5.5.33-MariaDB, for Linux (x86_64) using readline 5.1 attaching checksetup.pl tmp/bugzilla-4.4.8 # ./checksetup.pl * This is Bugzilla 4.4.8 on perl 5.18.1 * Running on Linux 3.10.1-3.g0cd5432-desktop #1 SMP PREEMPT Fri Jul 19 14:39:31 UTC 2013 (0cd5432) Checking perl modules... Checking for CGI.pm (v3.51) ok: found v3.63 Checking for Digest-SHA (any) ok: found v5.84_01 Checking for TimeDate (v2.23) ok: found v2.24 Checking for DateTime (v0.28) not found Checking for DateTime-TimeZone (v0.71) not found Checking for DBI (v1.614) ok: found v1.628 Checking for Template-Toolkit (v2.22) ok: found v2.25 Devel::InnerPackage will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/lib/perl5/5.18.1/Module/Pluggable/Object.pm, line 8. Module::Pluggable::Object will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/lib/perl5/5.18.1/Module/Pluggable.pm, line 5. Module::Pluggable will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/lib/perl5/vendor_perl/5.18.1/Email/Send.pm, line 10. Checking for Email-Send (v2.04) ok: found v2.198 Checking for Email-MIME (v1.904) ok: found v1.925 Checking for URI (v1.37) ok: found v1.60 Checking for List-MoreUtils (v0.32) not found Checking for Math-Random-ISAAC (v1.0.1) not found Checking available perl DBD modules... Checking for DBD-mysql (v4.001) not found Checking for DBD-SQLite (v1.29) not found Checking for DBD-Pg (v2.7.0) not found Checking for DBD-Oracle (v1.19) not found The following Perl modules are optional: Checking for GD (v1.20) not found Checking for Chart (v2.1.0) not found Checking for Template-GD (any) not found Checking for GDTextUtil (any) not found Checking for GDGraph (any) not found Checking for MIME-tools (v5.406) not found Checking for libwww-perl (any) ok: found v6.05 Checking for XML-Twig (any) ok: found v3.44 Checking for PatchReader (v0.9.6) not found Checking for perl-ldap (any) not found Checking for Authen-SASL (any) not found Checking for Net-SMTP-SSL (v1.01) not found Checking for RadiusPerl (any) not found Checking for SOAP-Lite (v0.712) not found Checking for XMLRPC-Lite (v0.712) not found Checking for JSON-RPC (any) not found Checking for JSON-XS (v2.0) not found Checking for Test-Taint (any) not found Checking for HTML-Parser (v3.67) ok: found v3.69 Checking for HTML-Scrubber (any) not found Checking for Encode (v2.21) ok: found v2.49 Checking for Encode-Detect (any) not found Checking for Email-Reply (any) not found Checking for HTML-FormatText-WithLinks (v0.13) not found Checking for TheSchwartz (v1.07) not found Checking for Daemon-Generic (any) not found Checking for File-Slurp (v9999.13) not found Checking for mod_perl (v1.999022) not found Checking for Apache-SizeLimit (v0.96) not found Checking for File-MimeInfo (any) not found Checking for IO-stringy (any) not found *********************************************************************** * REQUIRED MODULES * *********************************************************************** * Bugzilla requires you to install some Perl modules which are either * * missing from your system, or the version on your system is too old. * * See below for commands to install these modules. * *********************************************************************** * DATABASE ACCESS * *********************************************************************** * In order to access your database, Bugzilla requires that the * * correct "DBD" module be installed for the database that you are * * running. See below for the correct command to run to install the * * appropriate module for your database. * *********************************************************************** * OPTIONAL MODULES * *********************************************************************** * Certain Perl modules are not required by Bugzilla, but by * * installing the latest version you gain access to additional * * features. * * * * The optional modules you do not have installed are listed below, * * with the name of the feature they enable. Below that table are the * * commands to install each module. * *********************************************************************** * MODULE NAME * ENABLES FEATURE(S) * *********************************************************************** * GD * Graphical Reports, New Charts, Old Charts * * Chart * New Charts, Old Charts * * Template-GD * Graphical Reports * * GDTextUtil * Graphical Reports * * GDGraph * Graphical Reports * * MIME-tools * Move Bugs Between Installations * * PatchReader * Patch Viewer * * perl-ldap * LDAP Authentication * * Authen-SASL * SMTP Authentication * * Net-SMTP-SSL * SSL Support for SMTP * * RadiusPerl * RADIUS Authentication * * SOAP-Lite * XML-RPC Interface * * XMLRPC-Lite * XML-RPC Interface * * JSON-RPC * JSON-RPC Interface * * JSON-XS * Make JSON-RPC Faster * * Test-Taint * JSON-RPC Interface, XML-RPC Interface * * HTML-Scrubber * More HTML in Product/Group Descriptions * * Encode-Detect * Automatic charset detection for text attachments * * Email-Reply * Inbound Email * * HTML-FormatText-WithLinks * Inbound Email * * TheSchwartz * Mail Queueing * * Daemon-Generic * Mail Queueing * * File-Slurp * Mail Queueing * * mod_perl * mod_perl * * Apache-SizeLimit * mod_perl * * File-MimeInfo * Sniff MIME type of attachments * * IO-stringy * Sniff MIME type of attachments * *********************************************************************** COMMANDS TO INSTALL OPTIONAL MODULES: GD: /usr/bin/perl install-module.pl GD Chart: /usr/bin/perl install-module.pl Chart::Lines Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image GDTextUtil: /usr/bin/perl install-module.pl GD::Text GDGraph: /usr/bin/perl install-module.pl GD::Graph MIME-tools: /usr/bin/perl install-module.pl MIME::Parser PatchReader: /usr/bin/perl install-module.pl PatchReader perl-ldap: /usr/bin/perl install-module.pl Net::LDAP Authen-SASL: /usr/bin/perl install-module.pl Authen::SASL Net-SMTP-SSL: /usr/bin/perl install-module.pl Net::SMTP::SSL RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius SOAP-Lite: /usr/bin/perl install-module.pl SOAP::Lite XMLRPC-Lite: /usr/bin/perl install-module.pl XMLRPC::Lite JSON-RPC: /usr/bin/perl install-module.pl JSON::RPC JSON-XS: /usr/bin/perl install-module.pl JSON::XS Test-Taint: /usr/bin/perl install-module.pl Test::Taint HTML-Scrubber: /usr/bin/perl install-module.pl HTML::Scrubber Encode-Detect: /usr/bin/perl install-module.pl Encode::Detect Email-Reply: /usr/bin/perl install-module.pl Email::Reply HTML-FormatText-WithLinks: /usr/bin/perl install-module.pl HTML::FormatText::WithLinks TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic File-Slurp: /usr/bin/perl install-module.pl File::Slurp mod_perl: /usr/bin/perl install-module.pl mod_perl2 Apache-SizeLimit: /usr/bin/perl install-module.pl Apache2::SizeLimit File-MimeInfo: /usr/bin/perl install-module.pl File::MimeInfo::Magic IO-stringy: /usr/bin/perl install-module.pl IO::Scalar YOU MUST RUN ONE OF THE FOLLOWING COMMANDS (depending on which database you use): Oracle: /usr/bin/perl install-module.pl DBD::Oracle SQLite: /usr/bin/perl install-module.pl DBD::SQLite PostgreSQL: /usr/bin/perl install-module.pl DBD::Pg MySQL: /usr/bin/perl install-module.pl DBD::mysql COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands and then re-run checksetup.pl): /usr/bin/perl install-module.pl DateTime /usr/bin/perl install-module.pl DateTime::TimeZone /usr/bin/perl install-module.pl List::MoreUtils /usr/bin/perl install-module.pl Math::Random::ISAAC To attempt an automatic install of every required and optional module with one command, do: /usr/bin/perl install-module.pl --all *** Installation aborted. Read the messages above. *** #
On Fri, Apr 3, 2015 at 2:02 PM, <doiggl@velocitynet.com.au> wrote:
- What is equivalent zypper command to install various perl modules ?
Let's see how one of the perl modules I already have installed looks like $ rpm -q --provides perl-DBD-SQLite SQLite.so()(64bit) perl(DBD::SQLite) = 1.42 perl(DBD::SQLite::_WriteOnceHash) perl(DBD::SQLite::db) perl(DBD::SQLite::dr) perl-DBD-SQLite = 1.42-1.2 perl-DBD-SQLite(x86-64) = 1.42-1.2 Out of this I can extract a pattern ; each perl module is expected to provide perl($CPAN_MODULE_NAME) Given that we can search for packages providing a given capability using zypper, a search for DBD::MySQL would be $ zypper se --provides 'perl(DBD::MySQL) Loading repository data... Reading installed packages... S | Name | Summary | Type --+----------------+-----------------------------------------------------+-------- | perl-DBD-mysql | MySQL driver for the Perl5 Database Interface (DBI) | package
- Which repository are they from ?
Many perl modules are available from the main OSS repo. Some extra ones should be available in devel:languages:perl , but you'll have to find out for yourself which ones ( if any ) need that extra repo. Cheers, Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Robert Munteanu