systemd-tmpfiles command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
systemd-tmpfiles: command not found
or when using sudo you get the following error message
sudo: systemd-tmpfiles: command not found
Solutions to systemd-tmpfiles: command not found
How To Fix systemd-tmpfiles: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu systemd-tmpfiles is provided by systemd-standalone-tmpfiles package.
systemd-standalone-tmpfiles is:
Standalone tmpfiles binary with minimal dependencies. This package conflicts with the main systemd package and is meant for use in non-systemd systems.
To fix this problem, we can install more using the command below.
sudo apt-get -y install systemd-standalone-tmpfiles
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install systemd-standalone-tmpfiles.
sudo apt -y install systemd-standalone-tmpfiles
Or if you have aptitude installed you can use the following command.
sudo aptitude install systemd-standalone-tmpfiles
Summary
In this tutorial we learn how to fix systemd-tmpfiles command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.