Debian Codegraph @

contrib/debian/REQUIRED_PACKAGES

raw symbols SCIP
1 #!/bin/bash
2
3 set -xe
4
5 # A list of packages useful/needed to build and develop
6 # NetworkManager on Debian and Ubuntu.
7 #
8 # Not all of these packages are available, depending
9 # on your distribution/release. But the script will happily
10 # skip them.
11 #
12 # Not all of these packages are strictly speaking necessary.
13 # This is a generous list of related packages.
14
15 SUDO=
16 [ "$EUID" -eq 0 ] || SUDO=sudo
17
18 install() {
19 if [ "$NM_INSTALL" != "" ]; then
20 $NM_INSTALL "$@"
21 else
22 $SUDO apt-get install -y "$@"
23 fi
24 }
25
26 install_ignore_missing() {
27 for p; do
28 install "$p" || :
29 done
30 }
31
32
33 install \
34 \
35 clang \
36 dbus \
37 dbus-x11 \
38 dnsmasq \
39 git \
40 gobject-introspection \
41 gtk-doc-tools \
42 intltool \
43 iproute2 \
44 iptables \
45 libaudit-dev \
46 libcurl4-gnutls-dev \
47 libdbus-1-dev \
48 libgirepository1.0-dev \
49 libglib2.0-dev \
50 libglib2.0-doc \
51 libgnutls28-dev \
52 libiw-dev \
53 libjansson-dev \
54 libjansson4 \
55 libmm-glib-dev \
56 libndp-dev \
57 libnewt-dev \
58 libnss3-dev \
59 libnvme-dev \
60 libpolkit-gobject-1-dev \
61 libpsl-dev \
62 libreadline-dev \
63 libsystemd-dev \
64 libteam-dev \
65 libudev-dev \
66 locales \
67 meson \
68 mobile-broadband-provider-info \
69 pkg-config \
70 ppp \
71 ppp-dev \
72 python3-dbus \
73 python3-gi \
74 python3-pip \
75 python3-setuptools \
76 python3-pexpect \
77 udev \
78 uuid-dev \
79 valgrind \
80 \
81 #end
82
83 install_ignore_missing \
84 python-setuptools \
85 policykit-1 \
86 polkitd \
87 \
88 #end
89
90 # Old. Present in Ubuntu 20.04, not in Ubuntu 22.04
91 # software-properties-common
92 install_ignore_missing \
93 python-dbus \
94 python-gi \
95 \
96 #end
97
98 # Old. Present in Ubuntu 18.04, not in Ubuntu 20.04
99 # software-properties-common
100 install_ignore_missing \
101 libgcrypt11-dev \
102 \
103 #end