Date: Sat, 10 Aug 2024 10:25:54 -0700 From: David Christensen <dpchrist@holgerdanske.com> To: freebsd-questions@freebsd.org Subject: -bash: perl: command not found Message-ID: <3bdb026e-23e1-47ff-be07-adb60c3526c9@holgerdanske.com>
next in thread | raw e-mail | index | archive | help
freebsd-questions: I have recently installed FreeBSD on an Intel S1200V3RPS system: 2024-08-10 10:18:59 toor@f6 ~ # freebsd-version -kru ; uname -a 13.3-RELEASE 13.3-RELEASE 13.3-RELEASE FreeBSD f6.tracy.holgerdanske.com 13.3-RELEASE FreeBSD 13.3-RELEASE releng/13.3-n257428-80d2b634ddf0 GENERIC amd64 I then installed Perl: 2024-08-10 10:14:07 toor@f6 ~ # pkg install perl5.40 Updating 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.40: 5.40.0 Number of packages to be installed: 1 The process will require 64 MiB more space. 15 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching perl5.40-5.40.0.pkg: 100% 15 MiB 5.2MB/s 00:03 Checking integrity... done (0 conflicting) [1/1] Installing perl5.40-5.40.0... [1/1] Extracting perl5.40-5.40.0: 100% 2024-08-10 10:19:59 toor@f6 ~ # perl -v -bash: perl: command not found 2024-08-10 10:20:48 toor@f6 ~ # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 2024-08-10 10:21:23 toor@f6 ~ # locate perl | grep 'perl$' /usr/local/lib/perl5/5.40/perl /usr/local/lib/perl5/site_perl It seems pkg(8) did not put the Perl binary into a path directory (?). I could do that, or add a symlink, but am unsure of the "correct" approach. Please advise. David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bdb026e-23e1-47ff-be07-adb60c3526c9>