RE: FreeBSD 12.3-R perl5.34
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Feb 2022 23:26:36 UTC
Sent via the Samsung Galaxy A10e, an AT&T 4G LTE smartphone -------- Original message --------From: David Christensen <dpchrist@holgerdanske.com> Date: 2/13/22 2:09 PM (GMT-06:00) To: freebsd-questions@freebsd.org Subject: FreeBSD 12.3-R perl5.34 freebsd-questions:I recently installed FreeBSD:2022-02-13 12:03:20 toor@f4 ~# freebsd-version ; uname -a12.3-RELEASEFreeBSD f4.tracy.holgerdanske.com 12.3-RELEASE FreeBSD 12.3-RELEASE r371126 GENERIC amd64Then I installed Perl:2022-02-13 11:54:35 toor@f4 ~# pkg install perl5.34Updating FreeBSD repository catalogue...FreeBSD repository is up to date.All repositories are up to date.The following 1 package(s) will be affected (of 0 checked):New packages to be INSTALLED: perl5.34: 5.34.0Number of packages to be installed: 1The process will require 60 MiB more space.14 MiB to be downloaded.Proceed with this action? [y/N]: y[1/1] Fetching perl5.34-5.34.0.pkg: 100% 14 MiB 3.0MB/s 00:05Checking integrity... done (0 conflicting)[1/1] Installing perl5.34-5.34.0...[1/1] Extracting perl5.34-5.34.0: 100%But Perl does not work:2022-02-13 11:59:02 toor@f4 ~/f4.tracy.holgerdanske.com# perl -v-bash: perl: command not found2022-02-13 12:05:30 toor@f4 ~# locate / -name perl | egrep 'perl$'/usr/local/lib/perl5/5.34/perl/usr/local/lib/perl5/site_perl/usr/local/share/bash-completion/completions/perl/usr/local/share/bash-completion/helpers/perl/usr/local/lib/perl5/5.34/perl/usr/local/lib/perl5/site_perl/usr/local/share/bash-completion/completions/perl/usr/local/share/bash-completion/helpers/perlComments or suggestions?DavidIt's either not in your $PATH or named something other than perl. I would do:pkg info --list-files perl5.34See where the executable ended up and then put a symlink to it from somewhere like ~/bin/perl.Edgar