shares-admin command not found

In this troubleshooting guide we learn how to fix shares-admin command not found error message

Introduction

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

shares-admin: command not found

or when using sudo you get the following error message

sudo: shares-admin: command not found

Solutions to shares-admin: command not found

How To Fix shares-admin: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu shares-admin is provided by gnome-system-tools package.

gnome-system-tools is:

These System Tools (known as GNOME System Tools) are a set of tools aimed to make easy the job that means the computer administration on an UNIX or Linux system. They’re thought to help from the new Linux or UNIX user to the system administrators.

Its main advantages are:

  • An user-friendly interface to carry out the main administration tasks.
  • The use of a common user interface in every system.
  • A common structure that makes easy the development of new system tools. Nowadays there are tools for managing:
  • Users and groups
  • Date and time
  • Shares (NFS and Samba)

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

sudo apt-get -y install gnome-system-tools

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

You can also use apt command to install gnome-system-tools.

sudo apt -y install gnome-system-tools

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

sudo aptitude install gnome-system-tools

Summary

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