summaryrefslogtreecommitdiff
path: root/contrib/debian/REQUIRED_PACKAGES
blob: 4e8bb8c603fac70bd24c101a790f7494d7367890 (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#!/bin/bash

set -xe

# A list of packages useful/needed to build and develop
# NetworkManager on Debian and Ubuntu.
#
# Not all of these packages are available, depending
# on your distribution/release. But the script will happily
# skip them.
#
# Not all of these packages are strictly speaking necessary.
# This is a generous list of related packages.

SUDO=
[ "$EUID" -eq 0 ] || SUDO=sudo

install() {
    if [ "$NM_INSTALL" != "" ]; then
        $NM_INSTALL "$@"
    else
        $SUDO apt-get install -y "$@"
    fi
}

install_ignore_missing() {
    for p; do
        install "$p" || :
    done
}


install \
    \
    autoconf \
    automake \
    autopoint \
    clang \
    dbus \
    dbus-x11 \
    dnsmasq \
    git \
    gobject-introspection \
    gtk-doc-tools \
    intltool \
    iproute2 \
    iptables \
    libaudit-dev \
    libcurl4-gnutls-dev \
    libdbus-1-dev \
    libgirepository1.0-dev \
    libglib2.0-dev \
    libglib2.0-doc \
    libgnutls28-dev \
    libiw-dev \
    libjansson-dev \
    libjansson4 \
    libmm-glib-dev \
    libndp-dev \
    libnewt-dev \
    libnss3-dev \
    libpolkit-gobject-1-dev \
    libreadline-dev \
    libsystemd-dev \
    libteam-dev \
    libtool \
    libudev-dev \
    locales \
    make \
    meson \
    mobile-broadband-provider-info \
    pkg-config \
    policykit-1 \
    ppp \
    ppp-dev \
    python3-dbus \
    python3-gi \
    python3-pip \
    python3-setuptools \
    python3-pexpect \
    udev \
    uuid-dev \
    valgrind \
    \
    #end

install_ignore_missing \
    python-setuptools \
    \
    #end

# Old. Present in Ubuntu 20.04, not in Ubuntu 22.04
# software-properties-common
install_ignore_missing \
    python-dbus \
    python-gi \
    \
    #end

# Old. Present in Ubuntu 18.04, not in Ubuntu 20.04
# software-properties-common
install_ignore_missing \
    libgcrypt11-dev \
    \
    #end