Skip to content

Commit

Permalink
使用しないパッケージがインストールされないよう抑止する
Browse files Browse the repository at this point in the history
Signed-off-by: Zenichi Amano <2736571+crow-misia@users.noreply.github.com>
  • Loading branch information
crow-misia committed Nov 12, 2023
1 parent be12317 commit 90de895
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions disk_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 5 additions & 4 deletions scripts/apt_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 90de895

Please sign in to comment.