update-ca-certificates command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
update-ca-certificates: command not found
or when using sudo you get the following error message
sudo: update-ca-certificates: command not found
Solutions to update-ca-certificates: command not found
How To Fix update-ca-certificates: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu update-ca-certificates is provided by ca-certificates package.
ca-certificates is:
Contains the certificate authorities shipped with Mozilla’s browser to allow SSL-based applications to check for the authenticity of SSL connections.
Please note that Debian can neither confirm nor deny whether the certificate authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Full responsibility to assess them belongs to the local system administrator.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ca-certificates
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ca-certificates.
sudo apt -y install ca-certificates
Or if you have aptitude installed you can use the following command.
sudo aptitude install ca-certificates
Summary
In this tutorial we learn how to fix update-ca-certificates command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.