I know the way to install software on Linux i.e.apt-get installoryum installThese methods will only works until we have internet connection. Is there any way, so that I can download the software from one PC with internet, then take that software to the other PC without internet & install the software there, as we can do it in Windows OS?I tried manually downloading firefox browser from its website & then I extracted it, I got a single firefox. When I clicked on it, firefox directly open, but not installed.
download software for later installation
linux
On Debian /Ubuntu you can use the command apt-get download (available from version 0.8.11 of apt). It doesn't download dependencies nor other packages, and it doesn't require root permissions.The download .deb file is easily installed using dpkg, for example: dpkg -i <deb file>.On CentOS/RHEL 7: yum install --downloadonly --downloaddir=/tmp <package-name> will download the package to directory /tmp.If the package has unmet dependencies, yum will download all dependent packages also, and none of them will be installed.On CentOS/RHEL 6 or earlier, you have to previously install a plugin called yum-plugin-downloadonly  with the command yum install yum-plugin-downloadonly.The downloaded rpm file can be installed with rpm -Uvh rpm_file.