Raspberry Pi_Eng_17.5.2 Installing Programs Distributed in Package Repository

17.5.2 Installing Programs Distributed in Package Repository

● “apt-get install” command – install program

When installing programs in the package repository, use “install” command in “apt-get” command.

Raspberry Pi_Eng_17.5.3 Installing Programs Distributed in Package Format

17.5.3 Installing Programs Distributed in Package Format

Of course, if the program is configured in a package format but is not registered in the package repository and distributed in a separate way, you can not use the APT tool “apt-get” command, and you have to use the low-level “dpkg” command.

Raspberry Pi_Eng_17.5.4 Installing Programs Distributed in the General File Format

17.5.4 Installing Programs Distributed in the General File Format

Among the developed programs, programs that are composed in the form of general source code or executable files other than the form of packages are not registered and distributed in the package repository, and those should be distributed and installed in a separate way.

Raspberry Pi_Eng_17.4.3 How to Download from Internet Using GitHub

17.4.3 How to Download from Internet Using GitHub

Finally, there are programs that provide source program in the GitHub. GitHub provides the tool that allows developers to securely manage the source code of development program in the process of developing, deploying, and later managing open source programs and manage versions of subsequent modifications from development to post-management. The programs that are managed here are kept in the GitHub repository, and you can always download and use the source code for those who need it.

Raspberry Pi_Eng_17.4.2 How to Download from Internet with “wget” Command

17.4.2 How to Download from Internet with “wget” Command

We occasionally download and install programs directly from the Internet. In this case, you can also download the program directly from the web browser, but you can download the necessary program by specifying the URL directly in the Shell Terminal of Raspberry Pi. The command to use in this case is the “wget” command.

Raspberry Pi_Eng_17.4.1 Obtaining Installer Program Source

17.4 Obtaining Installer Program Source

The programs that can be installed on the Raspberry Pi system are provided in several types. It can be distributed officially through the package repository on the Raspbian operating system, individually downloaded from the Internet, or downloaded from a repository like the open source sharing homepage Git Hub. In the next, we will look at how to handle each of these sources.

17.4.1 How to Use Program Registered in Package Repository

The Raspbian distribution has a package manager system that systematically manages packages on the the system as a whole, which includes a package repository that has the informations about the installable programs list.

Raspberry Pi_Eng_17.3 Checking Program Package List and Status

17.3 Checking Program Package List and Status

There is a way to check the program package list available in Raspberry Pi and check if the package is installed.

Among various methods, here are some examples of using the “dpkg” command. You can use the “dpkg –l” command to look up a packages list with a certain pattern.

Raspberry Pi_Eng_17.2.4 Package Management Tool – aptitude

17.2.4 Package Management Tool – aptitude

The “aptitude” is the highest-level frontend interface in the APT package management system, and is a package management tool with many features:

■ The “aptitude” command comes with a fullscreen interactive text user interface and a command line user interface.

■ The aptitude” command is suitable for package management tasks that require daily routine interaction, such as checking installed packages or checking available packages.

■ The “aptitude” command uses hardware resources heavily.