• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env bash
2# Copyright 2021 The Chromium OS Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5set -ex
6
7sudo apt-get update
8sudo apt-get install --yes --no-install-recommends \
9    ca-certificates \
10    cloud-image-utils \
11    curl \
12    dpkg-dev \
13    expect \
14    gcc \
15    git \
16    jq \
17    libasound2-dev \
18    libcap-dev \
19    libclang-dev \
20    libdbus-1-dev \
21    libdrm-dev \
22    libepoxy-dev \
23    libssl-dev \
24    libwayland-dev \
25    libxext-dev \
26    make \
27    nasm \
28    ninja-build \
29    openssh-client \
30    pkg-config \
31    protobuf-compiler \
32    python3 \
33    python3-pip \
34    python3-setuptools \
35    qemu-system-x86 \
36    rsync \
37    screen \
38    wine64 \
39    gcc-mingw-w64-x86-64-win32 \
40    wayland-protocols
41
42# Install meson for rutabaga_gfx
43pip3 install meson
44
45# We use mdformat to keep the mdbook at docs/ formatted
46pip3 install mdformat
47
48# We use argh in our cli developer tools
49pip3 install argh
50
51rustup component add clippy
52rustup component add rustfmt
53
54rustup target add x86_64-pc-windows-gnu
55
56# The bindgen tool is required to build a crosvm dependency.
57cargo install bindgen
58
59# The mdbook and mdbook-mermaid tools are used to build the crosvm book.
60cargo install mdbook --no-default-features --version "^0.4.10"
61cargo install mdbook-mermaid --version "^0.8.3"
62cargo install mdbook-linkcheck --version "^0.7.6"
63