I wanted to do offline installation of some packages on an ubuntu machine which is not connected to internet. I have those packages on storage device. Can i use apt-get to install it

does apt-get checks cache directory before downloading packages?