forked from lavague-ai/LaVague
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
32 lines (26 loc) · 1.21 KB
/
setup.sh
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
#!/bin/bash
# Update package lists and install necessary packages
sudo apt update
sudo apt install -y ca-certificates fonts-liberation unzip \
libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 \
libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 \
libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 \
libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 \
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 \
libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils
# Download Chrome and Chromedriver
wget https://storage.googleapis.com/chrome-for-testing-public/122.0.6261.94/linux64/chrome-linux64.zip
wget https://storage.googleapis.com/chrome-for-testing-public/122.0.6261.94/linux64/chromedriver-linux64.zip
# Unzip downloaded files, move to home and clean up
unzip chrome-linux64.zip
unzip chromedriver-linux64.zip
rm chrome-linux64.zip chromedriver-linux64.zip
mv chrome-linux64/ ~/
mv chromedriver-linux64/ ~/
# Install LaVague from main of GitHub repo
git clone https://github.com/lavague-ai/LaVague.git
pip install -e LaVague
# Change directory to LaVague
cd LaVague
# Print success message
echo -e "\e[32mAll steps completed successfully.\e[0m"