Published Book on Amazon
|All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1|
|All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2|
출판된 한글판 도서
|최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상)|
|최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하)|
Original Book Contents
17.5 Installing and Reinstalling Program
17.5.1 Comparison of Installation by Source Distribution Method
In the Raspbian operating system, it is standard to manage and distribute programs using the package repository, but you can distribute, install, and use programs without using this method.
● When using programs distributed through the package repository
When installing programs registered in the package repository, you do not need to download the package additionally. By using the package manager tool, you can do installing work for these programs without any special pre-work.
If the program is installed in this way, the information about the program is registered in the repository as a package, and it is installed according to the procedure that is formally supported in the system, so that it can be conveniently managed using the package manager tool. In particular, when the program is modified thereafter, if the developer reflects the relevant information in the repository.the package manager tool can use this information to automatically manage the upgrade
● When using a program distributed as a file of package type
Of course even if the program is composed in a package format and is a package program that is not distributed in the package repository, but distributed in a separate way, it is possible to install it in the system. However, it must go through a more difficult and complicated procedure, not a general command.
This method does not use the package repository, but it has a form of package that is formally supported by the system, so it can be managed to some extent by using the system's package management tool. Of course, since the repository is not used, there is a limitation that the post-management function based on the repository can not be used.
● When using a program distributed in the general development file format
Of the developed programs, programs that are in the form of general development files other than packages can not be registered and distributed in the package repository, so they must be distributed and installed in a separate way.
Of course, these programs can also be installed and used in the system, but since the installation of these programs is not based on the package installation method that the operating system support formally, the system does not support installation, uninstallation, and post-maintenance for these program, and users have to manage them individually.