Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hannesbe/6c110e9de6644f07a48eecfdbe6b728d to your computer and use it in GitHub Desktop.
Save hannesbe/6c110e9de6644f07a48eecfdbe6b728d to your computer and use it in GitHub Desktop.
Install 'google-drive-ocamlfuse' on Debian Stretch & Buster
#/bin/bash
# Installs google-drive-ocamlfuse on Debian (Stretch & Buster)
#
# Run this oneliner to make it happen
# bash <(curl -sSL https://gist.github.com/hannesbe/6c110e9de6644f07a48eecfdbe6b728d/raw)
sudo apt install -y software-properties-common dirmngr
sudo cat > /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa-bionic.list << EOF
deb http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main
EOF
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AD5F235DF639B041
sudo apt-get update
sudo apt-get install -y google-drive-ocamlfuse
@Mehdidadash
Copy link

Type 'cat' is not known on line 1 in source list

@k-byun
Copy link

k-byun commented Sep 6, 2023

This worked - replace the lines from 9 to 11 with:

sudo sh -c "echo 'deb http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main' >> /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa-xenial.list"
sudo sh -c "echo 'deb-src http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main' >> /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa-xenial.list"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment