Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

3 Answers 3

up vote 7 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
2  
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
4  
@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
1  
Users normally use the software center or a package manager gui for installing packages –  txwikinger Oct 12 '10 at 18:46
5  
@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 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

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

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

Your Answer

 
discard

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.