Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Previous: B. Principal Linux Files Appendix C Next: C.2 The Package Management Tools
 

C. The Debian Package Management Utilities

This appendix introduces you to Debian's package management facilities, which help you manage software applications. Suppose, for example, that after installing Linux, you discover you need an application that you omitted; you can find the missing application's package and use the package management facilities to quickly and easily install the application. Similarly, when a new version of an application becomes available, the package management facilities helps you upgrade painlessly, by preserving the application's configuration files. The package management facilities also let you query the status of your system, helping you determine whether important files have been deleted.

C.1 Packages

A Debian package (or more simply, a package or a deb) is a file that contains files necessary to install an application or software unit. Debian packages are generally named using a convention that lets you determine the name of the package, the version of the software, and the release number of the package. Figure C.1 shows how the components of a package name are arranged.

Figure C.1: The structure of a package name

Figure C.1

The important virtue of packages is that they contain meta-information; that is, information about their contents. For example, each package contains a list of other packages needed for correct operation. Similarly, each package contains a list of other packages that conflict with its operation. This meta-information greatly simplifies system administration, which otherwise can become quite a challenge. Each package also contains a checksum, that helps protect package users against viruses and other sorts of tampering with package contents.

Debian packages have several important advantages relative to those used by other package management schemes. To learn more about these, see the comparison of package formats authored by Joey Hess, at https://kitenet.net/~joey/pkg-comp/.


Previous: B. Principal Linux Files Learning Debian GNU/Linux Next: C.2 The Package Management Tools
B. Principal Linux Files Book Index C.2 The Package Management Tools

 
 
  Published under the terms of the Creative Commons License Design by Interspire