First find the name of package you want to install and run command on which it depends.
Command is: apt-cache rdepends package-name
With this, you will get the list of packages. Add this list to file and run.
command is :
while read file
do
sudo dpkg-repack file
done>filename
where filename is file containing list of packages. Then take the folder containing all packages into your system then change the path to directory containing that folder and run command sudo dpkg -i * .deb
to unpack and
sudo apt-get -f install
to install all missing packages that were dependend and are unable to install will unpacking.