There few methods available that you can find in the Internet but the method that I like to share it’s bit different. May be, it will suitable for you.
What is the benefit of OFFLINE installation?
You don’t have to connect to the Internet when you install new application and you can distribute it easily.
In this tutorial, I use Ubuntu 14.04.
Below are the steps:
1.Clean the folder /var/cache/apt/archives
Open your linux terminal then type the command below:
$sudo apt-get clean
This command will clean all .deb file in folder /var/cache/apt/archives.
Clean the folder is important otherwise it will mixed up with the previous download application files.
For folder /var/cache/apt/archives/partial is only temporary place before files moved to archieves, so it will automatically cleaned.
2.Update the source list.
Connect to the Internet and update your package list because sometimes your application it’s not the list yet.
$sudo apt-get update