pccardctl command not found

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

Introduction

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

pccardctl: command not found

or when using sudo you get the following error message

sudo: pccardctl: command not found

Solutions to pccardctl: command not found

How To Fix pccardctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pccardctl is provided by pcmciautils package.

pcmciautils is:

This package provides PCMCIA initialisation tools for Linux 2.6.13-rc1 or later, replacing the old pcmcia-cs tools used with earlier kernel versions. PCMCIA cards are commonly used in laptops to provide expanded capabilities such as network connections, modems, increased memory, etc.

To use PCMCIA you need to have kernel modules available to support it. These are included in the stock Debian 2.6 kernel packages. You will most likely also need udev, although it isn’t always required.

The wireless-tools package is required by many wireless network adapters.

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

sudo apt-get -y install pcmciautils

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

You can also use apt command to install pcmciautils.

sudo apt -y install pcmciautils

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

sudo aptitude install pcmciautils

Summary

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