title: Batch install RPM packages from .tar.gz file on CentOS
body: <p>How can I install a large group of .rpm packages that are compressed in a .tar.gz file?</p>
  
  <p>Context: I am using Docker to build a CentOS 7 container and was provided a .tar.gz file containing many .rpm packages.  These packages are dependencies for a program I would be running within the container.  I would like a way to install all of these packages without needing to install them one by one (untar and 'rpm -ivh pkg1.rpm pkg2.rpm ...').</p>