diff --git a/disk_cleanup.sh b/disk_cleanup.sh index 33e0f558..2bb70963 100755 --- a/disk_cleanup.sh +++ b/disk_cleanup.sh @@ -17,4 +17,8 @@ sudo rm -rf /opt/ghc # Android SDK の削除 sudo rm -rf /usr/local/lib/android +# 未使用パッケージを削除 +sudo apt-get remove aspnetcore-* dotnet-* firefox gcc libmysqlclient* mysql-* +sudo apt-get autoremove --purge + df -h diff --git a/scripts/apt_install.sh b/scripts/apt_install.sh index de57c700..5d3e2573 100755 --- a/scripts/apt_install.sh +++ b/scripts/apt_install.sh @@ -4,19 +4,20 @@ set -ex export DEBIAN_FRONTEND=noninteractive -apt-get remove -y gcc -apt-get autoremove - apt-get update --fix-missing apt-get upgrade -y -apt-get install -y \ +apt-get install -y --no-install-recommends \ binutils \ + ca-certificates \ + clang \ cmake \ curl \ git \ lsb-release \ make \ + ninja-build \ + patch \ pkg-config \ python3 \ rsync \