3

It is a very basic question however i cannot find the answer. I wonder the difference between package and software.

By giving command, sudo apt-get install filezilla, the package named filezilla and other dependent packages are downloaded. OK. This is package.

Then, what is software ? All things are packages in ubuntu, right? Or is there any software? If yes, what exactly is a software?

Bu using ubuntu software center, do i install packages or software?

Thanks in advance.

3

If you are familiar with MS-Windows, the usual mean of installing a software under that system is the setup.exe. As you've seen, Ubuntu uses packages.

The main (HUGE) difference is that packages have what is called dependencies so a system such as APT can go out and download all the necessary dependencies before installing the package you selected. Of course at times all dependencies were already satisfied, so just that one package gets installed.

A setup.exe and a package is an agglomeration of files within a single binary file. In most cases this is a compressed archive of some sort. Under MS-Windows, they generally use zip. Debian / Ubuntu packages use ar and tar (ar as a wrapper, tar to save all the files of the package.)

So... according to the general definition of software, one package can often be viewed as a software. The fact that it needs dependencies that automatically get installed is an artifact. However, some packages are not software per se. That is, a -doc package is probably just HTML or man files.

As a programmer, I would say that the software is the file that gets installed under /usr/bin (or an equivalent). These files are the actual brain of the software, the compiled program that is sent to the CPU in your computer to do stuff.

1

Packages are like boxes that come with all the components needed to "build" software. When you install a software with APT, you basically download a DEB (Debian) package from repository and then build the software with the "parts" that come with this pack. So yes, you use software in Ubuntu. Ubuntu itself is a software. Packages are only simple ways to compile (build) programs.

Just to make things clear, a software is a tool that makes the communication between the user and the hardware.

  • 2
    Hmm... I think that the word "build" is misused here. You build a package and then "install" it, although the installation process is actually "extracting" rather than "building". As a package maintainer, you build packages. – Alexis Wilke May 31 '15 at 2:20
  • I know, but a person that does not know the diference between a package and software is probably an extremely new user. You have to use examples, like "building" a machine whose parts come from a "box". – Eduardo Cola May 31 '15 at 20:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.