If you have internet connection then .. You will have no problems at all for installing any new software in debian. But sometimes internet doesn't belong to you due to various reasons like::
1. you have not submitted your bills
2. Wrong network configuration
3. Travelling into a remote area...etc
Then suddenly you feel to install some software or application or game..Then what you do....
I have a small and difficult solution for you....
Do the following...