1### Platform Specific Installation Methods 2 3--- 4### Arch Linux or Arch based distros. 5This includes Arch linux, Antergos, Manjaro, etc. [List](https://wiki.archlinux.org/index.php/Arch_based_distributions_(active)) 6 7```sh 8yay -S drive-bin 9``` 10Since drive is in the aur, you will need an aur helper such as yay above. If you are not fimilar with 11a helper, you can find a list [here](https://wiki.archlinux.org/index.php/AUR_helpers#AUR_search.2Fbuild_helpers) 12 13--- 14### Debian, or Debian based distros. 15You may need to install the package software-properties-common to use apt-add-repository command. 16 17```sh 18sudo apt-get install software-properties-common dirmngr 19``` 20 21After installing software-properties-common, you can run these commands. Updates will be as normal with all debian packages. 22Note: The apt-key command is no longer required on apt 1.1 systems. It's safe to ignore any error presented. 23 24```sh 25sudo apt-add-repository 'deb http://shaggytwodope.github.io/repo ./' 26sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7086E9CC7EC3233B 27sudo apt-key update 28sudo apt-get update 29sudo apt-get install drive 30``` 31 32### Automation on the latest stable Debian distribution. 33This GitLab-hosted [DR](https://gitlab.com/jean-christophe-manciot/dr) offers: 34- the latest compiled drive client 35- scripts for automated drive commands including syncing 36- the latest version of many other popular packages. 37 38Replace <os_code_name> by latest Debian code name, for instance stretch (only the latest Debian distribution is supported): 39```sh 40sudo gpg --keyserver pgpkeys.mit.edu --recv-keys DF7396D82BBA3684FCCADD4DB063838ED13997FD 41sudo bash -c 'gpg --export --armor DF7396D82BBA3684FCCADD4DB063838ED13997FD | apt-key add -' 42sudo bash -c $'echo "deb https://gitlab.com/jean-christophe-manciot/dr/raw/master/Debian <os_code_name> stable #JC Manciot\'s DR" > /etc/apt/sources.list.d/jean-christophe-manciot.list' 43sudo bash -c $'echo "deb https://gitlab.com/jean-christophe-manciot/dr/raw/master/Debian <os_code_name> unstable #JC Manciot\'s DR" > /etc/apt/sources.list.d/jean-christophe-manciot.list' 44sudo apt-get update 45sudo apt-get install drive-google 46``` 47 48You may need to install Comodo RSA Domain Validation Secure Server Certificate Authority used by Gitlab. Cf. the [DR](https://gitlab.com/jean-christophe-manciot/dr) for details. 49 50--- 51### Fedora distro. 52Fedora rpms are available from the Fedora Copr project [here](https://copr.fedorainfracloud.org/coprs/vaughan/drive-google/) 53 54Enable the copr repository: 55 56``` 57dnf copr enable vaughan/drive-google 58``` 59 60Install the package (drive-google): 61 62``` 63dnf install drive-google 64``` 65 66--- 67### openSUSE distro. (may also work with CentOS, Red Hat) 68```sh 69# install needed software tools 70sudo yum install go mercurial git hg-git 71mkdir $HOME/go 72export GOPATH=$HOME/go 73# For convenience, add the workspace's bin subdirectory to your PATH: 74export PATH=$PATH:$GOPATH/bin 75 76# get and compile the drive program 77go get github.com/odeke-em/drive/cmd/drive 78 79# run drive with this command: 80$GOPATH/bin/drive 81``` 82 83--- 84### Ubuntu, or Ubuntu based distros. 85This [PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/drive) includes Ubuntu, Mint, Linux Lite, etc. [List](http://distrowatch.com/search.php?basedon=Ubuntu) 86 87```sh 88sudo add-apt-repository ppa:twodopeshaggy/drive 89sudo apt-get update 90sudo apt-get install drive 91``` 92 93### Automation on the latest stable Ubuntu distribution. 94This GitLab-hosted [PPA](https://gitlab.com/jean-christophe-manciot/ppa) offers: 95- the latest compiled drive client 96- scripts for automated drive commands including syncing 97- the latest version of many other popular packages. 98 99Replace <os_code_name> by latest Ubuntu code name, for instance artful (only the latest Ubuntu distribution is supported): 100```sh 101sudo gpg --keyserver keyserver.ubuntu.com --recv-keys DF7396D82BBA3684FCCADD4DB063838ED13997FD 102sudo bash -c 'gpg --export --armor DF7396D82BBA3684FCCADD4DB063838ED13997FD | apt-key add -' 103sudo bash -c $'echo "deb https://gitlab.com/jean-christophe-manciot/ppa/raw/master/Ubuntu <os_code_name> stable #JC Manciot\'s Stable PPA" >> /etc/apt/sources.list.d/jean-christophe-manciot.list' 104sudo bash -c $'echo "deb https://gitlab.com/jean-christophe-manciot/ppa/raw/master/Ubuntu <os_code_name> unstable #JC Manciot\'s Unstable PPA" >> /etc/apt/sources.list.d/jean-christophe-manciot.list' 105sudo apt-get update 106sudo apt-get install drive-google 107``` 108 109You may need to install Comodo RSA Domain Validation Secure Server Certificate Authority used by Gitlab. Cf. the [PPA](https://gitlab.com/jean-christophe-manciot/ppa) for details. 110 111--- 112### Packages Provided By 113 114Platform | Author | 115---------| -------| 116[Arch Linux](https://aur.archlinux.org/packages/drive-bin) | [Alex Dewar](https://github.com/alexdewar) 117[Debian Linux](http://shaggytwodope.github.io/repo) | [Jonathan Jenkins](https://github.com/shaggytwodope) 118[Automation on Debian Linux](https://gitlab.com/jean-christophe-manciot/dr) | [Jean-Christophe Manciot](https://gitlab.com/jean-christophe-manciot) 119[Fedora Linux](https://copr.fedorainfracloud.org/coprs/vaughan/drive-google/) | [Vaughan Agrez](https://github.com/agrez) 120[openSUSE Linux]() | [Grant Rostig](https://github.com/grantrostig) 121[Ubuntu Linux](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/drive) | [Jonathan Jenkins](https://github.com/shaggytwodope) 122[Automation on Ubuntu Linux](https://gitlab.com/jean-christophe-manciot/ppa) | [Jean-Christophe Manciot](https://gitlab.com/jean-christophe-manciot) 123 124