LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   packages recycling (https://www.linuxquestions.org/questions/linux-newbie-8/packages-recycling-7401/)

jamaso 10-09-2001 11:18 AM

packages recycling
 
what does it take for me to use a package from one distribution on another ? if i have a cd rom from mandrake 8.0 that have nautilius on it could i install it on red hat 7.1 ? debian ? ...?
it would be much easier to install from the cd and since distributions are very cheap you gather a lot of packages that you would like to have on your favourite linux (i must say that i`m an total ignorant on linux , but nevertheless, i have installed many distributions many times even debian ( it took me almost a month )and i think that i begin to understand a little and i want to learn more about it

isajera 10-10-2001 12:29 AM

when you get down to the basics, all distros are the same. a package from one distro will certainly work on another one - the only difference is in the package program. redhat has the rpm package, and debian has the .deb... ect. all you need to do to get one package working on a different distro is to install the package program. rpm is pretty common, and most distros just use it instead of writing their own.

the universal package would be the .tar.gz source file - it's the compressed tarball of files that can be compiled and run, usually across any linux platform.

Thymox 10-11-2001 09:01 AM

If you're running a RH based distro and want to install a .DEB file, you could also try using 'alien' (or something like that). Since the ideas behind both file-types are the same, and the processes to create them are more than likely to be, at the very least, similar, there is no real reason that packages from one should not work on another.

However, not all distros use exactly the same directory structure. Therefore should you install a package from a distro with a different dir. structure to yours, although the files will have been installed, your distro might not be able to run it (i.e. it doesn't known where the files are).

The 'Package Manager' program that comes with Mandrake (by the way, it is not the one that starts by default under Konqueror, you will probably have to go K>Configuration>Packages>Package-Manager assuming you're using KDE) will allow you to check the dependencies (i.e. you might need some files (what Windows would probably call .DLL files) installed before you can run the program) of a given package. Also, in the right-hand pane of Package Manager, there should be a 'tab' that shows you the files to be installed, and the directories into which it wants to install them.

I haven't ever used a Debian distro (yet - I've just bought a magazine with Progeny on it's cover DVD) so I'm affraid I can't really help you there.


All times are GMT -5. The time now is 09:33 PM.