Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ubuntu 10.10 comes with Perl 5.10.1 pre-installed, but strangely enough perldoc isn't part of the package.

$ perldoc
You need to install the perl-doc package to use this program.

How can I make this feature available?

share|improve this question
up vote 11 down vote accepted

I feel a bit stupid saying it, but did you try installing perl-doc?

# apt-get install perl-doc
share|improve this answer
You will need to execute that command as root. In Ubuntu this is usually done using sudo before the command. – Steven D Oct 12 '10 at 18:29
@Steven I never include sudo, it's not technically part of the command, but yes, like all package installs it needs to be run as root – Michael Mrozek Oct 12 '10 at 18:31
Users normally use the software center or a package manager gui for installing packages – txwikinger Oct 12 '10 at 18:46
@txw Well, this explains why I normally don't answer Ubuntu questions :). If you're already on the command-line and have the package name right in front of you I would expect most people to use apt-get or aptitude, but maybe that's not the case – Michael Mrozek Oct 12 '10 at 18:53
@Michael : The command was what I was after. I already knew that I needed to install perl-doc... just wasn't sure what command to use. – Zaid Oct 12 '10 at 19:31

You need to install the perl-doc package. It tells you right there in the error message.

share|improve this answer
You can use the software center to install any software package – txwikinger Oct 12 '10 at 18:45

You should simply install the perl-doc package?

Use your favorite package manager, for example synaptic or sudo aptitude install perl-doc

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.