If you get the error smartctl: not found
on Alpine Linux, it means that smartctl
is not installed by default, so don’t let that wind you up. Let me tell you how to install smartctl on Alpine Linux.
Prerequisites
- Alpine Linux
- sudo access
Install Smartctl on Alpine Linux
Step 1. Update the packages.
apk update
Step 2. Install smartctl.
apk add smartmontools
Step 3. Verify the installation.
smartctl --version
Output:
smartctl 7.3 2022-02-28
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.