I have ISO of Puppy Linux and just now I have downloaded ISO for Ubuntu. Puppy Linux does not have gcc installed. But I know Ubuntu 14 has gcc and many other softwares installed. So Can I import those packages(like gcc, etc) from ISO file of Ubuntu and install it in puppy Linux or vice versa?? I have slow internet connection and its pain to download all those packages again. I have many programmes installed in Puppy Linux too.
So I don't want to leave Puppy Linux and redownload programmes again in Ubuntu. If its possible to migrate from Ubuntu to Puppy or Puppy to Ubuntu offline, please kindly mention the steps. Its stupid though, I copied whole / of puppy Linux to Ubuntu's / thinking that it would work. Before restarting it worked, but after I rebooted Ubuntu, it stopped loading:p. I know Ubuntu 14 has gcc and many other softwares installed. Actually I would guess the live CD/install.iso does not include gcc, but it might. Directv here.
That image is just intended to get you a minimal desktop system. Anything you want after that needs to be installed via network. [In fact, as the OP observes in a comment, there is a way to rip packages from the live CD by using dpkg-repack.] If you downloaded all the packages available for Ubuntu 14, they might fill a dozen or more DVDs. Its pain to download all those packages again.
If it was not installed, then they were not part of the.iso, so you did not download them in the first place. Puppy Linux does not have gcc installed But presumably Puppy has its own package manager and you can install gcc that way.
You probably cannot use the one from Ubuntu, and vice versa. I copied whole / of puppy Linux to Ubuntu's / thinking that it would work. That was a very bad idea. You might as well start from scratch with that partition now, it will be thoroughly wrecked.
Install Deb Package Puppy Linux Iso. The fact is that you do not need to install Puppy Linux at all! Apt is an advanced package manager for Debian based. When comparing Debian GNU/Linux vs Puppy Linux, the Slant community. Apt or apt-build to install software from the Debian package. All Linux games will run.