1
0
mirror of https://github.com/chylex/Bark-Browser.git synced 2024-10-17 03:42:50 +02:00
Bark-Browser/wsl.sh
2023-05-15 01:22:25 +02:00

24 lines
648 B
Bash

#!/bin/bash
set -euo pipefail
# General
sudo apt-get install -y \
apt-transport-https \
build-essential \
ca-certificates \
gdb \
gnupg \
software-properties-common \
wget
# Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
rustup component add rust-src
# CMake
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install -y cmake