Autopackage Explained

Autopackage
Autopackage
Author:Mike Hearn
Developer:Jan Niklas Hasse
Released:Around
Latest Release Version:1.4.2[1]
Programming Language:Bash, C, C++ and Python
Operating System:Linux
Genre:Package management system
License:GNU Lesser General Public License
Website:
Autopackage at Google Project Hosting

Autopackage is a free computer package management system aimed at making it simple to create a package that can be installed on all Linux distributions, created by Mike Hearn around 2002.

In August 2010, Listaller and Autopackage announced that the projects will merge.[2]

Projects such as aMSN and Inkscape offered an Autopackage installer, and Freecode offered content submitters a field to put the URL of Autopackages. The list of available packages is very limited, and most program versions are obsolete (for example, the most recent Autopackage of GIMP is 2.2.6, even though GIMP is now at version 2.8.2, as of August 2012).[3] [4]

Methodology

Autopackage was designed for installing binary, or pre-compiled, versions of non-core applications such as word processors, web browsers, and personal computer games, rather than core libraries and applications such as operating system shells. Concept of autopackage was to "improve" Linux to a desktop platform, with stable binary interfaces comparable to Windows and MacOS.[5]

Autopackage is not intended to provide installation of core applications and libraries for compatibility reasons. Using Autopackage to distribute non-core libraries is something of a thorny issue. On the one hand distributing them via Autopackage allows installation on a greater range of systems, on the other hand there can be conflicts with native package dependencies.

Autopackage is intended as a complementary system to a distribution's usual packaging system, such as RPM and deb. Unlike these formats, Autopackage verifies dependencies by checking for the presence of deployed files, rather than querying a database of installed packages. This simplifies the design requirements for autopackage by relying on available resources, rather than necessitating tracking all the package choices of all targeted distributions.[6]

Programs that use autopackage must also be relocatable, meaning they must be installable to varying directories with a single binary. This enables an autopackage to be installed by a non-root user in the user's home directory.

Package format

Autopackage packages are indicated by the .package extension. They are executable bash scripts, and can be installed by running them. Files in an Autopackage archive are not easily extracted by anything other than Autopackage itself as the internal format must be parsed in order to determine file layout and other issues.[7]

Autopackage programs are installed to hard-coded system paths, which may conflict with existing packages installed by other means, thus leading to corruption. This can usually be remedied by uninstalling an older version of a package being installed with Autopackage.

The Autopackage files can also be installed and removed using the Listaller toolset.[8] Listaller simply includes the Autopackage packages into its own package container format and handles Autopackage like any other Listaller package file.

See also

Notes and References

  1. Web site: autopackage.org . 2010-04-30 . dead. https://web.archive.org/web/20100430203509/http://autopackage.org/ . April 30, 2010 .
  2. https://launchpad.net/listaller/+announcement/6593/ Launchpad.net announcement: Listaller and Autopackage will merge
  3. https://web.archive.org/web/20080331092730/http://www.linux.com/articles/60124 Autopackage struggling to gain acceptance
  4. https://web.archive.org/web/20090122070758/http://www.autopackage.org/packages/ Projects using Autopackage
  5. Web site: https://web.archive.org/web/20090122070758/http://autopackage.org/faq.html. Autopackage FAQ. 2011-07-17. Mike . Hearn . 2009-01-22 . 2012-01-21. autopackage.org. What's a desktop Linux platform? Why do we need one? Essentially, software is easy to install on Windows and MacOS [...] because by depending on "Windows 2000 or above" developers get a huge chunk of functionality guaranteed to be present, and it's guaranteed to be stable. In contrast, on Linux you cannot depend on anything apart from the kernel and glibc..
  6. Web site: https://web.archive.org/web/20090122070758/http://autopackage.org/faq.html. Autopackage FAQ. What is autopackage? For users: it makes software installation on Linux easier. If a project provides an autopackage, you know it can work on your distribution. You know it'll integrate nicely with your desktop and you know it'll be up to date, because it's provided by the software developers themselves. You don't have to choose which distro you run based on how many packages are available. For developers: it's software that lets you create binary packages for Linux that will install on any distribution, can automatically resolve dependencies and can be installed using multiple front ends, for instance from the command line or from a graphical interface. It lets you get your software to your users quicker, easier and more reliably. It immediately increases your user base by allowing people with no native package to run your software within seconds.. 2011-07-17. Mike. Hearn . 2009-01-22 . 2012-01-21. autopackage.org.
  7. http://kitenet.net/~joey/blog/entry/autopackage_designed_by_monkeys/ Criticism of Autopackage format by author of Alien, a package adapter tool
  8. http://listaller.nlinux.org/ Listaller Project