-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathSetup
More file actions
64 lines (53 loc) · 1.55 KB
/
Setup
File metadata and controls
64 lines (53 loc) · 1.55 KB
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
## Install Ubuntu
---
## Run this on the terminal
```bash
# --------------------- UPDATE SYSTEM ---------------------
sudo apt update
# --------------------- INSTALL BASE TOOLS ---------------------
sudo apt install -y \
build-essential \
python3 \
python3-venv \
python3-pip \
git \
make \
curl \
ca-certificates \
gnupg \
lsb-release \
tcllib \
gedit
# --------------------- REMOVE OLD DOCKER ---------------------
sudo apt remove -y docker docker-engine docker.io containerd runc || true
# --------------------- ADD DOCKER APT SOURCE ---------------------
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) \
signed-by=/etc/apt/keyrings/docker.gpg] \
https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
# --------------------- INSTALL DOCKER ---------------------
sudo apt install -y \
docker-ce \
docker-ce-cli \
containerd.io \
docker-compose-plugin
# --------------------- ENABLE DOCKER WITHOUT SUDO ---------------------
sudo groupadd docker 2>/dev/null || true
sudo usermod -aG docker $USER
echo
echo "-----------------------------"
echo "REBOOT NOW for Docker group"
echo "After reboot, run ONLY the commands below:"
echo "-----------------------------"
echo "
cd \$HOME
git clone --depth 1 https://github.com/The-OpenROAD-Project/OpenLane.git
cd OpenLane
make
"