From 884dc740163ea383ca28d6797e8a0645a3e849be Mon Sep 17 00:00:00 2001 From: Stephen Just Date: Sat, 3 Aug 2024 12:29:48 -0700 Subject: [PATCH 1/2] Clean up unneeded dependencies, add some python tools --- install_opi5.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install_opi5.sh b/install_opi5.sh index 4f313d99..acc84a63 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -22,6 +22,10 @@ rm -f /var/lib/snapd/seed/seed.yaml apt-get purge --yes --quiet lxd-installer lxd-agent-loader apt-get purge --yes --quiet snapd +# remove unnecessary dependencies +apt-get purge --yes --quiet apport ubuntu-pro-client unattended-upgrades sosreport \ + manpages-dev manpages + # remove bluetooth daemon apt-get purge --yes --quiet bluez @@ -86,6 +90,9 @@ apt-get --quiet update # mrcal stuff apt-get install --yes --quiet libcholmod3 liblapack3 libsuitesparseconfig5 +# python dependencies for side-loading custom scripts +apt-get install --yes --quiet python3-pip python3-numpy +pip install photonlibpy rm -rf /var/lib/apt/lists/* apt-get --yes --quiet clean From 43a79597b52c73678f04fc298fb343ad40aebe44 Mon Sep 17 00:00:00 2001 From: Stephen Just Date: Sat, 3 Aug 2024 13:22:19 -0700 Subject: [PATCH 2/2] Update install_opi5.sh --- install_opi5.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/install_opi5.sh b/install_opi5.sh index acc84a63..7644b168 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -90,10 +90,6 @@ apt-get --quiet update # mrcal stuff apt-get install --yes --quiet libcholmod3 liblapack3 libsuitesparseconfig5 -# python dependencies for side-loading custom scripts -apt-get install --yes --quiet python3-pip python3-numpy -pip install photonlibpy - rm -rf /var/lib/apt/lists/* apt-get --yes --quiet clean