Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A package, for package managers, denotes a specific set of files bundled with the appropriate metadata for use by a package manager. This can be confusing, as some programming languages often use the word "package" as a specific form of software library. Furthermore, that software library can be distributed in a package of files bundled for a package manager.
Package management systems are charged with the task of organizing all of the packages installed on a system and maintaining their usability. Typical functions of a package management system include:
* Verifying file checksums to ensure correct and complete packages.
* Verifying digital signatures to authenticate the origin of packages.
* Applying file archivers to manage encapsulated files.
* Upgrading software with latest versions, typically from a software repository.
* Grouping of packages by function to help eliminate user confusion.
* Managing dependencies to ensure a package is installed with all packages it requires.
Some additional challenges are met by only a few package management systems.
So.. as far as i understand, even .rar and .zip are package formats, right?
No. (maybe) (it depends)
Packages are nothing more than collections of files bundled in some way. The format is typically tailored to a specific package manager---eg .rpm, .deb, etc.
.rar and .zip are archiving/compression formats. For example a .zip file might contain some .rpm packages, but it could just as well contain the complete works of William Shakespeare.
To cloud the issue a bit, the Slackware package format is "tgz". I think these are actually just tar.gz archives----by using the suffix ".tgz", the Slackware package tools know what to do.
(You could of course write a package manager to automatically use ANY file/archive format)
Packages are nothing more than collections of files bundled in some way. The format is typically tailored to a specific package manager---eg .rpm, .deb, etc.
.rar and .zip are archiving/compression formats. For example a .zip file might contain some .rpm packages, but it could just as well contain the complete works of William Shakespeare.
To cloud the issue a bit, the Slackware package format is "tgz". I think these are actually just tar.gz archives----by using the suffix ".tgz", the Slackware package tools know what to do.
(You could of course write a package manager to automatically use ANY file/archive format)
exactly my thoughts.. It's just that there is no packgage manager that takes .zip or .rar as it's format
ok.. so.. maybe for me to get a better understanding of all this package system and how it works..
Can you help me to install Opera (i just downloaded opera 9.6 and it was in .deb) without using a package manager? I already unarchived .deb to a folder and now i got 3 files..
IMHO, you are chasing your tail. You are not going to understand package management by taking apart a .deb package and attempting to install the thing manually. Much better to find the developer's site for .deb packages and read up on how it works.
To install something without using a package manager, get it in a generic format (in some cases, this will mean source code which must be compiled)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.