skip to Main Content

We have some perl script which are working fine in centOS 7. Now I trying to run the same scripts in openSUSE.But I could not find perl Net Interface and perl Newt packages in openSUSE. can anyone please help how to install those packages?

Can't locate Net/Interface.pm in @INC (you may need to install the Net::Interface module) (@INC contains: /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl) at vsappconfig line 15.
BEGIN failed--compilation aborted at vsappconfig line 15.

Line number 15 is related to Perl Net Interface usage.

Tried installing Perl net interface and newt rpm of centOS7.

Expecting Perl net interface and newt package compatible for openSUSE.

2

Answers


  1. If you can’t find the Perl-module as a system package, you can install it through cpan:

    $ cpan
    

    to open up a Cpan shell and:

    install Net::Interface
    

    and the other packages you need.

    Login or Signup to reply.
  2.     perl -MCPAN -e 'install Net::Interface' 
    

    however you might need to install CPAN first

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search