chattr

Change attributes of files or directories. More information: <https://manned.org/chattr>.

Debian Debian
RUN apt-get update && \ apt-get install -y e2fsprogs
Ubuntu
RUN apt-get update && \ apt-get install -y e2fsprogs
Alpine
RUN apk add e2fsprogs
Arch Arch Linux
RUN pacman -S --noconfirm e2fsprogs
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y e2fsprogs
CentOS
RUN yum install -y e2fsprogs
Fedora
RUN dnf install -y e2fsprogs
Raspbian
RUN apt-get update && \ apt-get install -y e2fsprogs
click the source code to copy install chattr on any operating system with command-not-found.com