<div dir="ltr">At the moment, we need to install the required Debian [packages][0]<br>manually.<br><br>This patch adds a script to install the required packages if one needs<br>an environment setup to compile and test CRIU from source code.<br><br>~Tuan<br><br>[0]: <a href="https://criu.org/Installation">https://criu.org/Installation</a><br><br>contrib/debian/dev-packages.lst:<br>* List of required packages for Debian development environment<br><br>scripts/install-debian-pkgs.sh:<br>* A simple bash script instaling the required Debian packages<br><br>Signed-off-by: Tuan T. Pham &lt;<a href="mailto:tuan@vt.edu">tuan@vt.edu</a>&gt;<br>---<br> contrib/debian/dev-packages.lst | 18 ++++++++++++++++++<br> scripts/install-debian-pkgs.sh  | 25 +++++++++++++++++++++++++<br> 2 files changed, 43 insertions(+)<br> create mode 100644 contrib/debian/dev-packages.lst<br> create mode 100755 scripts/install-debian-pkgs.sh<br><br>diff --git a/contrib/debian/dev-packages.lst b/contrib/debian/dev-packages.lst<br>new file mode 100644<br>index 0000000..e0aa513<br>--- /dev/null<br>+++ b/contrib/debian/dev-packages.lst<br>@@ -0,0 +1,18 @@<br>+# Required packages for development in Debian<br>+build-essential<br>+libprotobuf-dev<br>+libprotobuf-c0-dev<br>+protobuf-c-compiler<br>+protobuf-compiler<br>+python-protobuf<br>+<br>+# Extra packages, required for testing and building other tools<br>+pkg-config<br>+libnl-3-dev<br>+python-ipaddr<br>+libbsd0<br>+libbsd-dev<br>+iproute2<br>+libcap-dev<br>+libaio-dev<br>+python-yaml<br>diff --git a/scripts/install-debian-pkgs.sh b/scripts/install-debian-pkgs.sh<br>new file mode 100755<br>index 0000000..c8af34f<br>--- /dev/null<br>+++ b/scripts/install-debian-pkgs.sh<br>@@ -0,0 +1,25 @@<br>+#!/bin/bash<br>+# Install required packages for development environment in Debian Distro<br>+<br>+REQ_PKGS=${REQ_PKGS:=contrib/debian/dev-packages.lst}<br>+<br>+help_msg=&quot;Install required packages for development environment in Debian Distro<br>+Usage:<br>+ scripts/install-debian-pkgs.sh&quot;<br>+<br>+function print_help()<br>+{<br>+ exec echo -e &quot;$help_msg&quot;<br>+}<br>+<br>+function process()<br>+{<br>+ sudo apt-get update<br>+ sudo apt-get install -yq $( sed &#39;s/\#.*$//&#39; ${REQ_PKGS} )<br>+}<br>+<br>+if [ &quot;$1&quot; = &quot;--help&quot; ] || [ &quot;$1&quot; = &quot;-h&quot; ]; then<br>+ print_help<br>+else<br>+ process<br>+fi<br>--<br>2.1.4<br></div>