Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 300011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:52:31+00:00 2026-05-12T06:52:31+00:00

It would help me to understand what module I have if I understood reasons

  • 0

It would help me to understand what module I have if I understood reasons modules ends up in the various directories under @INC

Under ActiveState on windows it is fairly clear

C:/Perl/lib
C:/Perl/site/lib

The first is core Perl stuff whilst the 2nd is stuff I have installed via PPM (have I got this right?)

However under Debian it seems a lot more compicated

/etc/perl
/usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_perl

What is the reason for so many directories and what goes where.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:52:31+00:00Added an answer on May 12, 2026 at 6:52 am

    Based on the files in these directories, and my knowledge of Perl, I would say they break down like this:

    • /etc/perl – Some Perl modules write out configuration files. Two examples of these are CPAN and the modules in the libnet distribution. Debian based machines store these config files here.
    • /usr/local/lib/perl/5.8.4 – This is where platform-specific files installed outside of the package system go.
    • /usr/local/share/perl/5.8.4 – This is where platform-independent files installed outside of the package system go.
    • /usr/lib/perl5 – This is where platform-specific files installed by the package system go.
    • /usr/share/perl5 – This is where platform-independent files installed by the package system go.
    • /usr/lib/perl/5.8 – These are the platform-specific files that are part of the core
    • /usr/share/perl/5.8 – These are the platform-independent files that are part of the core
    • /usr/local/lib/site_perl – This is where you can installed your own modules (if they do not have CPAN style installers, which they really should).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know of a whirlwind tour of Eclipse that would help a (former)
I tried searching around, but I couldn't find anything that would help me out.
If somebody may knows a blog posting with a basic example, that would help
Ok, I'm not great in mysql, but I know an index would help me
Is there an alternative to history.go(-1) for FireFox and Safari. Any Help would be
I'm new to regular expressions and would appreciate your help. I'm trying to put
To help users, I would like my code to discover Oracle databases on the
I would like information on algorithms that can help identify commonality and differences between
I would be extremely appreciative if anybody can help me. I am learning C++
I would like to know if there are any tools that can help me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.