Install libfile-fcntllock-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libfile-fcntllock-perl
Description:
Perl module for file locking with fcntl(2)
File::FcntlLock is a Perl module to do file locking in an object oriented fashion using the fcntl(2) system call. This allows locks on parts of a file as well as on the whole file and overcomes some known problems with flock(2), on which Perl's flock() function is based. . Furthermore due to its design it supports reliable locking over NFS.
Homepage: https://metacpan.org/release/File-FcntlLock
Version: 0.22-3build2
Section: perl