Some of my friends always complain that they are not able download packages due to Internet availability issues or usage limit. Most of them are using different Ubuntu versions, hence I cannot use APTonCD to download the packages for them. Here's a small solution for this, Thanks to ilug-tvm and Rajeesh ettan.
Step 1: Get the download URLs in a file :
Execute the following command replacing
package-names with required ones, separating by a space.
$apt-get -y install --print-uris package-name | cut -d' -f2 | grep http:// > apturls
Step 2: Copy this file (apturls) to a machine which has high-speed Internet access, and execute the following command to download the packages:
$wget -i path-to-apturls-file
Step 3: Now get those downloaded packages to your machine, and install them using :
$sudo dpkg -i *.deb
Thank you, Good Luck :)