CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
:prerequisites to install perl on OpenSuse 13.1 :: adding perl-repo

 



dilbert
User

May 25, 2014, 2:12 PM

Post #1 of 2 (10333 views)
:prerequisites to install perl on OpenSuse 13.1 :: adding perl-repo Can't Post

 

the question of the day:prerequisites to install perl on OpenSuse 13.1 :: adding perl-repo

while i wanted to install some perl-modules on my opensuse -version 13.1 i am willing to get some insights into the system <-

what is allready installed.
which prerequisites do i need to get installed perl modules

- probably i need a make -
i had lots of troubles some months ago - with a bad bad make...
some perl modules were not (!!!) not installable.



to day i added the perl repo:


Code
martin@linux-70ce:~> zypper repos -d 
# | Alias | Name | Aktiviert | Aktualisieren | Prioritšt | Typ | URI | Dienst
--+------------------------------+------------------------------+-----------+---------------+-----------+--------+---------------------------------------------------------------+-------
1 | All_of_Packman | Packman | Ja | Ja | 10 | rpm-md | http://packman.inode.at/suse/openSUSE_13.1/ |
2 | M17N | M17N | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/M17N/openSUSE_13.1/ |
3 | openSUSE 13.1 NON-OSS | openSUSE 13.1 NON-OSS | Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/13.1/repo/non-oss/ |
4 | openSUSE 13.1 NON-OSS Update | openSUSE 13.1 NON-OSS Update | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/13.1-non-oss/ |
5 | openSUSE 13.1 OSS | openSUSE 13.1 OSS | Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/13.1/repo/oss/ |
6 | openSUSE 13.1 OSS Update | openSUSE 13.1 OSS Update | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/13.1/ |
7 | openSUSE-12.3-1.7 | openSUSE-12.3-1.7 | Ja | Nein | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-TEAC-DV-W28S-R,/dev/sr0 |
8 | repo-update-non-oss | openSUSE-13.1-Update-Non-Oss | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/13.1-non-oss/ |
martin@linux-70ce:~>


how to get an overview on the - allready installed - perl-modules?

love to hear from you


Laurent_R
Veteran / Moderator

May 25, 2014, 11:33 PM

Post #2 of 2 (10138 views)
Re: [dilbert] :prerequisites to install perl on OpenSuse 13.1 :: adding perl-repo [In reply to] Can't Post

You could write a Perl one-liner that reads file names in the directories listed in the @INC array and its subdirectories. Something like (untested):


Code
perl -e 'foreach $dir (@INC) {print "$_\n" for glob("$dir/*.pm");'


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives