Skip to content

Instantly share code, notes, and snippets.

@jermainee
Created February 15, 2022 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jermainee/6b0a0317fa6f0bb9cd06b472f974de58 to your computer and use it in GitHub Desktop.
Save jermainee/6b0a0317fa6f0bb9cd06b472f974de58 to your computer and use it in GitHub Desktop.
Script which installs InstaPy on an Ubuntu server
#!/bin/bash
apt-get update
apt-get -y upgrade
apt-get -y install unzip python3-pip python3-dev build-essential libssl-dev libffi-dev xvfb
pip3 install --upgrade pip
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
pip3 install --upgrade pip
wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
dpkg -i google-chrome-stable_current_amd64.deb
apt-get install -y -f
rm google-chrome-stable_current_amd64.deb
apt-get install firefox firefox-geckodriver
pip install instapy
pip3 install --upgrade requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment