spacefm command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
spacefm: command not found
or when using sudo you get the following error message
sudo: spacefm: command not found
Solutions to spacefm: command not found
How To Fix spacefm: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu spacefm is provided by spacefm-gtk3 package.
spacefm-gtk3 is:
SpaceFM is a multi-panel tabbed file and desktop manager for Linux with built-in VFS, udev or HAL-based device manager, customizable menu system and bash integration.
A descendant of PCManFM, SpaceFM’s aims are to be bugfixed, efficient (mainly C), hugely customisable (change and add to the GUI as you go with Design Mode), powerful without scaring off newer users (due to customisation), independent of particular distributions and desktop environments, and device management featureful enough to replace the various udisks-based *kits when used alongside udevil.
Other highlights include optional desktop management, smart queuing of file operations, user plugins and the ability to carry out specific commands as root.
To fix this problem, we can install more using the command below.
sudo apt-get -y install spacefm-gtk3
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install spacefm-gtk3.
sudo apt -y install spacefm-gtk3
Or if you have aptitude installed you can use the following command.
sudo aptitude install spacefm-gtk3
Summary
In this tutorial we learn how to fix spacefm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.