There are several ways to install OwnCloud on Debian 7 Linux. You can install OwnCloud using manual method by downloading the compressed package and then install it manually. There is a better and easier way to install OwnCloud on Debian 7. OpenSUSE Build Service provides a repository for OwnCloud which can be used on Debian 7. This tutorial will guide you how to add the OwnCloud official repository to Debian 7. By adding this repository, we can easily update OwnCloud installation once stable release is available.
Steps to Install OwnCloud on Debian 7 via command line
Open Terminal and paste the following commands:
echo ‘deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /’ >> /etc/apt/sources.list.d/owncloud.list
wget http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key
apt-key add – < Release.key
Then update system and install OwnCloud
apt-get update
apt-get install owncloud
Those commands must be executed under root privilege.