copylink command not found

In this troubleshooting guide we learn how to fix copylink command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

copylink: command not found

or when using sudo you get the following error message

sudo: copylink: command not found

In Ubuntu copylink is provided by libfile-copy-link-perl package.

libfile-copy-link-perl is:

The distribution File-Copy-Link includes the modules File::Spec::Link and File::Copy::Link and the script copylink. They include routines to read and copy links.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libfile-copy-link-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libfile-copy-link-perl.

sudo apt -y install libfile-copy-link-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libfile-copy-link-perl

Summary

In this tutorial we learn how to fix copylink command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.