A modular package manager architecture

Pietro Abate, Roberto Di Cosmo, Ralf Treinen, Stefano Zacchiroli

Research output: Contribution to journalArticlepeer-review

Abstract

Context: The success of modern software distributions in the Free and Open Source world can be explained, among other factors, by the availability of a large collection of software packages and the possibility to easily install and remove those components using state-of-the-art package managers. However, package managers are often built using a monolithic architecture and hard-wired and ad-hoc dependency solvers implementing some customized heuristics. Objective: We aim at laying the foundation for improving on existing package managers. Package managers should be complete, that is find a solution whenever there exists one, and allow the user to specify complex criteria that define how to pick the best solution according to the user's preferences. Method: In this paper we propose a modular architecture relying on precise interface formalisms that allows the system administrator to choose from a variety of dependency solvers and backends. Results: We have built a working prototype-called MPM-following the design advocated in this paper, and we show how it largely outperforms a variety of current package managers. Conclusion: We argue that a modular architecture, allowing for delegating the task of constraint solving to external solvers, is the path that leads to the next generation of package managers that will deliver better results, offer more expressive preference languages, and be easily adaptable to new platforms.

Original languageEnglish
Pages (from-to)459-474
Number of pages16
JournalInformation and Software Technology
Volume55
Issue number2
DOIs
Publication statusPublished - 1 Feb 2013
Externally publishedYes

Keywords

  • Open source
  • Package manager
  • Software components
  • Software dependencies
  • Software repositories

Fingerprint

Dive into the research topics of 'A modular package manager architecture'. Together they form a unique fingerprint.

Cite this