sudo apt-get update
sudo apt-get install git -y
sudo apt install curl -y
sudo apt-get install automake -y
sudo apt install tmux -y
# for cv2
sudo apt-get install libgl1-mesa-dev -y
sudo apt-get install -y libglib2.0-0

# brew
sudo git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew   && sudo mkdir ~/.linuxbrew/bin   && sudo ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin   && 
echo 'eval $(~/.linuxbrew/bin/brew shellenv)' >> ~/.bashrc
sudo apt install -y gcc
USER=jovyan   
sudo chown -R $(whoami) /home/${USER}/.linuxbrew/
sudo apt install build-essential -y
source ~/.bashrc

# install all
pip install -r requirements.txt

conda install -c pytorch -c nvidia faiss-gpu=1.8.0 -y