mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-21 18:35:23 -04:00
Update setup.sh
This commit is contained in:
parent
3992e0fee3
commit
02874f6ae9
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,7 @@ if which apt-get > /dev/null; then
|
||||||
sudo apt-get install -y chromium || sudo apt-get install -y chromium-browser || true
|
sudo apt-get install -y chromium || sudo apt-get install -y chromium-browser || true
|
||||||
sudo apt-get install -y archivebox
|
sudo apt-get install -y archivebox
|
||||||
sudo apt-get --only-upgrade install -y archivebox
|
sudo apt-get --only-upgrade install -y archivebox
|
||||||
|
sudo python3.7 -m pip install --upgrade --ignore-installed archivebox
|
||||||
|
|
||||||
# On Mac:
|
# On Mac:
|
||||||
elif which brew > /dev/null; then
|
elif which brew > /dev/null; then
|
||||||
|
@ -127,6 +128,7 @@ elif which pkg > /dev/null; then
|
||||||
echo "[+] Installing ArchiveBox and its dependencies using pkg..."
|
echo "[+] Installing ArchiveBox and its dependencies using pkg..."
|
||||||
sudo pkg install -y python37 py37-pip py37-sqlite3 node npm wget curl youtube_dl ffmpeg git ripgrep
|
sudo pkg install -y python37 py37-pip py37-sqlite3 node npm wget curl youtube_dl ffmpeg git ripgrep
|
||||||
sudo pkg install -y chromium
|
sudo pkg install -y chromium
|
||||||
|
sudo python3.7 -m pip install --upgrade --ignore-installed archivebox
|
||||||
alias python3=python3.7
|
alias python3=python3.7
|
||||||
else
|
else
|
||||||
echo "[!] Warning: Could not find aptitude/homebrew/pkg! May not be able to install all dependencies automatically."
|
echo "[!] Warning: Could not find aptitude/homebrew/pkg! May not be able to install all dependencies automatically."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue