What are packages?
Windows user here. I've seen packages in linux so many times.. I don't see this word in windows. What does it mean? And what are they? Why do i see this word in linux so often but don't in windows?
|
A package is a set of files to install an application. There will be a Package Manager program on the system to install the 'package'.
Quote:
Packages are specific to a distribution. You would not try to install a Ubuntu package on a Mandriva system, or visa, versa. |
Hi QueenZ,
Nobody says it better than Wiki so I'll quote them Quote:
cheers, jdk |
oh.. and so Package Manager is just a program that all package file extnsions are associated to? Like Package.pkg and Package Manager will open it and install the package?
|
Quote:
cheers, jdk |
Yum and Aptitude are 2 programs (installers) right?
But why can't it be like in windows where there is just one .exe file and there is no need for other installer programs.. |
Quote:
Part of what is different between windoze and linux, is linux code tends to get written once. Then if an application needs the function of another piece of code, the original code is used, they don't re-write a new version of the same code. Windoze on the other hand, the code is developed my a company wanting to be paid for their effort. So they write the whole thing, don't share the code, even if much of the same code exists elsewhere. The wheel keeps getting re-invented. So the windoze writers create a new program, and put it in one .exe self installing file. Each distro has its own philosophy. You can do what you want with it. Micro$ dictates how code there will be set up. Beyond packages, you can get the source code. This allows you, if you want to alter a program, and then compile it, and install. You can literally change an application to your needs. Windoze apps come as binary files only. You can not easily alter how the program functions. You can only change things through what configuration the creator intended. Hope this helps. |
Quote:
Given the choice, I choose packages! :) Once you get used to them, it will be hard to imagine any other way of doing things. Have fun! jdk |
Quote:
In the sense that you cannot necessarily download source code and expect the package manager to handle it. Say you download <new file>.tar.gz, your package manager will not install it for you. The package manager will manage the programs you have pre-installed and will install a new program using apt-get... in command line or the package manager gui. From the gui (graphical user interface) in other words window, you can update the package manager and view the list of available packages. Debian /ubuntu have around 20,000 available packages for you to download and install on your system. The package manager will also resolve dependency issues. Say your package requires a different package to run properly, the package manager will figure out all needed additional packages and install them also. |
but what if there's no Package Manager in my distro??
|
Quote:
|
Quote:
If there is no package manager, then it is up to you to find software on public locations like Sourceforge. You will find thousands of programs there in source format. Download them, compile them, and install them. It is up to the user in this case to look after dependencies. |
See the following links regarding installing using various package managers.
http://wiki.linuxquestions.org/wiki/Installing_Software Great tutorial on installing from source. http://www.linuxquestions.org/linux/...ms_from_Source |
All times are GMT -5. The time now is 12:10 AM. |