Realization method for C language package manager

A technology of package manager and implementation method, which is applied in the field of computer software engineering, can solve the problems of inconvenient software distribution, separation from open source hosting warehouses, and the inability of C language package managers to cross platforms, etc., and achieve the effect of solving the inability to share and solving dependency traps

Inactive Publication Date: 2018-06-05
央视国际网络无锡有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method for implementing a C language package manager to solve the problems that the C language package manager proposed in the above background technology cannot be cross-platform, software distribution is extremely inconvenient, and the problem of breaking away from an open source hosting warehouse

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Realization method for C language package manager

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0019] see figure 1 , the present invention provides a kind of technical scheme: a kind of implementation method of C language package manager, the concrete steps of the implementation method of described C language package manager are as follows:

[0020] S1: The user enters the installation command and specifies the name of the software package to be installed. If the software package is located in the open source warehouse, the completed path needs to be sp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a realization method for a C language package manager in the technical field of computer software engineering. The realization method for the C language package manager comprises the following specific steps of S1, inputting an installation command by a user; S2, judging whether a software package is located in an official warehouse or an open source warehouse; S3, immediately judging whether the software package supports a current platform or not; S4, downloading the software package; S5, hosting the software package in the open source warehouse; S6, only compiling thesoftware package into a static library; S7, deploying the static library to a correct directory; and S8, analyzing and judging a dependent library of the software package, and if the uninstalled dependent library exists, automatically downloading and installing the dependent library. The difference between platforms is shielded by using cross-platform design; the platforms supported by the software package are automatically detected; and an open source address path is supported to serve as a path of source codes and the static library, thereby adapting to access of an open source code warehouse.

Description

technical field [0001] The invention relates to the technical field of computer software engineering, in particular to an implementation method of a C language package manager. Background technique [0002] At present, the package managers that support C language development are mainly apt / yum, etc., which have the following disadvantages: 1. Not cross-platform: there is a lack of package managers that support C language development under Windows, and the package managers that support C language under Linux are all It can only work on a specific platform or even a specific release; 2. Software distribution is extremely inconvenient: between different linux releases, it is often necessary to compile and generate binaries for different releases separately, and it is difficult to use the same binary as a release. It brings difficulties to software distribution and deployment. The previous package managers often used dynamic libraries when distributing software packages. This op...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61G06F8/65
CPCG06F8/61G06F8/62G06F8/65
Inventor 韩凯王伟孙伟芳朱立松黄建杰
Owner 央视国际网络无锡有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products