-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdep-debian.sh
executable file
·50 lines (40 loc) · 1.11 KB
/
dep-debian.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
set -xeuo pipefail # Make my life easier
# Install Dependency for Debian 12
./dep-common.sh
# Add source
if [ ! -d "/etc/apt/sources.list.d/immich.list" ]; then
cat > /etc/apt/sources.list.d/immich.list << EOL
deb http://deb.debian.org/debian testing main contrib
EOL
fi
# Add package priority to preference
if [ ! -d "/etc/apt/preferences.d/immich" ]; then
cat > /etc/apt/preferences.d/immich << EOL
Package: *
Pin: release a=testing
Pin-Priority: -10
EOL
fi
# Update before install from new sources
apt update
# libjpeg62-turbo-dev
# apt install --no-install-recommends -y \
# libjpeg62-turbo-dev
## libjpeg-turbo is faster than libjpeg
# Dockerfile 35
apt install -t testing --no-install-recommends -yqq \
libdav1d-dev \
libhwy-dev \
libwebp-dev \
libio-compress-brotli-perl
## Dockerfile 92
apt install -t testing --no-install-recommends -y \
libio-compress-brotli-perl \
libwebp7 \
libwebpdemux2 \
libwebpmux3 \
libhwy1t64
## Dockerfile 104
# apt install -t stable --no-install-recommends -y \
# intel-media-va-driver