I installed Debian 7 using a DVD version, so every time I'm trying to install something using apt-get, the system ask me to mount the DVD. Is there a way to avoid that (inserting every time the dvd).
Use apt get install without inserting the DVD?
debian
You could copy the DVD to an ISO and then mount it permanently as a filesystem on the machine (and point apt at it, by modifying /etc/apt/sources.list).  However, assuming the machine has an Internet connection, you could just switch to using the online repositories.Details are here.But here's an example,Edit /etc/apt/sources.list and replace the contents with this (this works for Wheezy or Debian 7, for earlier or later versions, check the link above),deb http://http.debian.net/debian wheezy main contrib non-freedeb-src http://http.debian.net/debian wheezy main contrib non-freedeb http://http.debian.net/debian wheezy-updates main contrib non-freedeb-src http://http.debian.net/debian wheezy-updates main contrib non-freedeb http://security.debian.org/ wheezy/updates main contrib non-freedeb-src http://security.debian.org/ wheezy/updates main contrib non-freeThen run apt-get update to refresh the package details.