Results 1 to 4 of 4
helo guys , am new here , i dont know much about linux
am using a debian gnu/linux root.
when i type [perl -v] it says command not found , ...
- 08-15-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 2
Problem with Perl -v
helo guys , am new here , i dont know much about linux
am using a debian gnu/linux root.
when i type [perl -v] it says command not found , perl was installed in my root
but after i use , [mv blablah.pl /usr/lib/perl]
it get corrupt , any idea how can i recover?
or how can i reinstall . plz help.
- 08-15-2007 #2
Hey,
Check whether perl is installed first by command
#rpm -q perl
Check the version of perl by just giving this command:-
#perl -v
Or
#perl -V
If no success tell us what kind of script you moved to /usr/lib/perl.Regards,
who |grep -i blonde |
date; cd~; unzip; touch;
strip; finger; mount; gasp;
yes; uptime; umount;
sleep

Newbie clicks
http://www.linuxforums.org/forum/lin...ead-first.html
- 08-15-2007 #3Just Joined!
- Join Date
- Aug 2007
- Posts
- 2
recheck
here is result of wot u said.
-------------------------------------------------
evrynet2:~# rpm -q perl
-bash: rpm: command not found
evrynet2:~#
evrynet2:~# perl -V
: command not found 23:
/usr/bin/perl: line 24: use: command not found
-------------------------------------------------
i move normal script. that saying "hello, this is my first script"
jus thatLast edited by thedonation; 08-15-2007 at 09:57 PM. Reason: forget something
- 08-17-2007 #4Just Joined!
- Join Date
- Aug 2007
- Posts
- 3
that is for fedora/redhat
Hi,
The rpm tool is used for redhat/fedora distros
In debian you can use the package manager aptitude or dpkg
ex :
bseenu@bseenu-dt:~$ dpkg -l perl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-=================================-================================================== ================================
ii perl 5.8.8-6 Larry Wall's Practical Extraction and Report Language
bseenu@bseenu-dt:~$ aptitude show perl
Package: perl
State: installed
Automatically installed: no
Version: 5.8.8-6
Priority: important
Section: perl
Maintainer: Brendan O'Dea <bod@debian.org>
Uncompressed Size: 11.7M
Depends: perl-base (= 5.8.8-6), perl-modules (>= 5.8.8-6), libc6 (>= 2.4-1), libdb4.4, libgdbm3
Recommends: perl-doc
Suggests: libterm-readline-gnu-perl | libterm-readline-perl-perl
Conflicts: data-dumper, perl-5.004 (< 6), perl-5.005 (< 6), perl-5.6 (< 6), perl-doc (< 5.8.8-1), libdigest-md5-perl (< 3.07-1), libmime-base64-perl (<
3.07-1), libtime-hires-perl (< 1.86-1), libstorable-perl (< 2.15-1)
Replaces: perl-base (< 5.8.8-1), perl-5.005 (< 6), perl-5.6 (< 6), perl-doc (< 5.8.0-1), perl-modules (< 5.8.1-1), libdigest-md5-perl, libmime-base64-perl,
libtime-hires-perl, libstorable-perl
Provides: libstorable-perl, libtime-hires-perl, libmime-base64-perl, libdigest-md5-perl, perl5, data-dumper
Description: Larry Wall's Practical Extraction and Report Language
An interpreted scripting language, known among some as "Unix's Swiss Army Chainsaw".
Perl is optimised for scanning arbitrary text files and system administration. It has built-in extended regular expression matching and replacement, a
data-flow mechanism to improve security with setuid scripts and is extensible via modules that can interface to C libraries.


Reply With Quote
