pcmanfm command not found

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

Introduction

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

pcmanfm: command not found

or when using sudo you get the following error message

sudo: pcmanfm: command not found

Solutions to pcmanfm: command not found

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

In Ubuntu pcmanfm is provided by pcmanfm package.

pcmanfm is:

PCMan File Manager is a GTK+ based file manager, featuring:

  • Extremely fast and lightweight
  • Can be started in one second on normal machine
  • Tabbed browsing (similar to Firefox)
  • Drag & Drop support
  • Files can be dragged among tabs
  • Load large directories in reasonable time
  • File association support (Default application)
  • Basic thumbnail support
  • Bookmarks support
  • Handles non-UTF-8 encoded filenames correctly
  • Provide icon view and detailed list view
  • Standard compliant (Follows FreeDesktop.org)
  • Clean and user-friendly interface (GTK+ 2)
  • Support GVFS for auto-mount handling on removable devices

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

sudo apt-get -y install pcmanfm

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

You can also use apt command to install pcmanfm.

sudo apt -y install pcmanfm

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

sudo aptitude install pcmanfm

Summary

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