• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2021, Vol. 43 ›› Issue (11): 1926-1933.

Previous Articles     Next Articles

Package dependency analysis for operating system distribution building

MA Jun,ZHOU Kai,REN Yi,ZHU Hao,QIN Ying,WANG Jing#br#

#br#
  

  1. (College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China)

  • Received:2020-11-30 Revised:2021-01-04 Accepted:2021-11-25 Online:2021-11-25 Published:2021-11-19

Abstract: Linux-based open-source operating system distributions are usually built from a series of interrelated packages. Due to the large number of packages, complex relationships such as dependencies and conflicts, the operating system distribution building is also complicated. The granularity and precision of customization are insufficient, and there may be many redundant packages. The current operating system distribution building is mainly organized through engineering experience, and especially the selection of software packages lack of theoretical analysis and guidance. This paper proposes a basic model of operating system distribution construction based on dependency relationship. Combined with the distribution building process and software repository data of Ubuntu, statistical analysis and model verification are carried out on the characteristics of software packages, such as in_degree and out_degree, priority, classification, etc. This paper summarizes the main principles of the operating system distribution building from the perspective of dependency relationship, and provides guidance and important reference for the subsequent improvement of the precision of automatic distribution customization, software release evolution and bug analysis.


Key words: operating system, dependency, distribution building, software release management