Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lee-pai-long/f29ef5da4cdc3d022d01c51097cd2753 to your computer and use it in GitHub Desktop.
Save lee-pai-long/f29ef5da4cdc3d022d01c51097cd2753 to your computer and use it in GitHub Desktop.

[Linux Mint 17.2] Install latest owncloud Client

Install

$ URL="http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_14.04/" \
> && wget -nv $URL/Release.key -O /tmp/Release.key \
> && [sudo] apt-key add - < /tmp/Release.key \
> && [sudo] sh -c \
> "echo 'deb $URL /' > /etc/apt/sources.list.d/owncloud-client.list" \
> && [sudo] apt-get update \
> && [sudo] apt-get install owncloud-client

Remove

$ [sudo] apt-key del \
> `[sudo] apt-key list \
> | grep -B1 -i 'owncloud' \
> | grep 'pub' \
> | cut -d ' ' -f4 \
> | cut -d '/' -f2` \
> && [sudo] rm -f /etc/apt/sources.list.d/owncloud-client.list \
> && [sudo] apt-get remove owncloud-client \
> && [sudo] apt-get autoremove \
> && [sudo] apt-get update

source: https://goo.gl/dLzmxL

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