Alpine Linux 主要是透過 apk 來管理套件。
新增套件:
apk update && \
apk add build-base autoconf automake && \
cd /path/to/source && \
make install && \
rm -fr /var/cache/apk/* && \
rm -fr /tmp/*離開前要記得 rm -fr /var/cache/apk/* 清除暫存檔。
也可以使用 apk add --no-cache 安裝套件,這樣就不需要考慮暫存檔:
apk add --no-cache build-base autoconf automake && 
....