Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2022 16:05:23 -0800
From:      David Christensen <dpchrist@holgerdanske.com>
To:        questions@freebsd.org
Subject:   Re: FreeBSD 12.3-R perl5.34
Message-ID:  <96224e17-1be4-a785-823a-7c354d421372@holgerdanske.com>
In-Reply-To: <4c173632-230e-7b41-6a68-f1b263bc21f0@holgerdanske.com>
References:  <4c173632-230e-7b41-6a68-f1b263bc21f0@holgerdanske.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/13/22 12:08, David Christensen wrote:
> freebsd-questions:
> 
> I recently installed FreeBSD:
> 
> 2022-02-13 12:03:20 toor@f4 ~
> # freebsd-version ; uname -a
> 12.3-RELEASE
> FreeBSD f4.tracy.holgerdanske.com 12.3-RELEASE FreeBSD 12.3-RELEASE 
> r371126 GENERICĀ  amd64
> 
> 
> Then I installed Perl:
> 
> 2022-02-13 11:54:35 toor@f4 ~
> # pkg install perl5.34

> But Perl does not work:
> 
> 2022-02-13 11:59:02 toor@f4 ~/f4.tracy.holgerdanske.com
> # perl -v
> -bash: perl: command not found


I removed Perl 5.34 and installed Perl 5.32.1:

2022-02-13 13:17:45 toor@f4 ~
# pkg remove perl5.34
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 
packages in the universe):

Installed packages to be REMOVED:
perl5.34: 5.34.0

Number of packages to be removed: 1

The operation will free 60 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling perl5.34-5.34.0...
[1/1] Deleting files for perl5.34-5.34.0: 100%

2022-02-13 13:19:37 toor@f4 ~
# pkg install perl5-5.32.1_1
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: 5.32.1_1

Number of packages to be installed: 1

The process will require 59 MiB more space.
14 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching perl5-5.32.1_1.pkg: 100%   14 MiB   3.7MB/s    00:04
Checking integrity... done (0 conflicting)
[1/1] Installing perl5-5.32.1_1...
[1/1] Extracting perl5-5.32.1_1: 100%

2022-02-13 13:20:59 toor@f4 ~
# perl -v

This is perl 5, version 32, subversion 1 (v5.32.1) built for 
amd64-freebsd-thread-multi

Copyright 1987-2021, Larry Wall

Perl may be copied only under the terms of either the Artistic License 
or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96224e17-1be4-a785-823a-7c354d421372>