Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 1.66 KB

INSTALL.md

File metadata and controls

62 lines (48 loc) · 1.66 KB

Download and execute the script

Note: you will be prompted to enter root password

If root password is not set, type:

sudo passwd root

Log in as root

su root

To install this script:

  • Latest release
    mkdir -p /opt/invidious_update && \
      curl -sSL https://github.com/tmiland/Invidious-Updater/releases/latest/download/invidious_update.sh > /opt/invidious_update/invidious_update.sh && \
      chmod +x /opt/invidious_update/invidious_update.sh && \
      ln -s /opt/invidious_update/invidious_update.sh /usr/local/bin/invidious_update && \
      invidious_update
  • Master
    mkdir -p /opt/invidious_update && \
      curl -sSL https://tmiland.github.io/invidious-updater/invidious_update.sh > /opt/invidious_update/invidious_update.sh && \
      chmod +x /opt/invidious_update/invidious_update.sh && \
      ln -s /opt/invidious_update/invidious_update.sh /usr/local/bin/invidious_update && \
      invidious_update

Repository

sudo curl -SsL -o /etc/apt/sources.list.d/tmiland.list https://deb.tmiland.com/debian/tmiland.list && \
curl -SsL https://deb.tmiland.com/debian/KEY.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/tmiland-archive-keyring.gpg >/dev/null && \
sudo apt update && \
sudo apt install invidious-updater
  • Run script with invidious_update

  • Only for Debian/Ubuntu/LinuxMint/PureOS

Update Invidious via Cron

Select option 2 once to manually set GitHub Credentials

/path/to/script/invidious_update.sh -c

Add job to cron:

crontab -e
@daily bash /path/to/script/invidious_update.sh -c > /dev/null 2>&1 # Automated Invidious Update