12.8 - Manage Linux Applications - Terms/Notes

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

apt-get

A command that installs packages on Linux systems that use the Debian Package Manager (dpkg).

yum

A command that installs packages on Linux systems that use the Red Hat Package Manager (RPM).

ps utility

A command used to display running processes on a Linux system.

What is a software package?

A prewritten commercially available set of software programs that elimintates the need for a firm to write its own software programs for certain functions, such as payroll processing or order handling

Linux

An open source and freely distributed operating system based on UNIX that was created by Linus Torvalds of Finland.

Which Linux distributions use the yum command to manage software? Which distributions use apt-get?

Distros that use the Red Hat Package Manager (RPM) use the yum command, while distros that use the Debian Package Manager (dpkg) use apt-get

apt-get

The apt-get command installs packages on Linux systems that use the Debian Package Manager (dpkg). The apt-get command can automatically locate and download Debian packages for you by searching one or more repositories on the internet. It installs the package and all of its dependencies at the same time. The syntax for using apt-get is as follows: -apt-get install package_name installs the specified package. -apt-get remove package_name uninstalls the specified package. -apt-get update displays information about all packages available within the internet repositories apt-get is configured to use. -apt-get dist-upgrade upgrades all installed packages to the newest version.

yum

The yum command installs packages on Linux systems that use the Red Hat Package Manager (RPM). The yum command can automatically locate and download RPM packages for you by searching one or more repositories on the internet. It can install the package and all of its dependencies at the same time. The syntax for using yum is as follows: -yum install package_name installs the specified package. -yum remove package_name uninstalls the specified package. -yum list installed lists all packages installed. -yum list installed package_name checks to see if the specified package is installed. -yum list available displays a list of all packages available for installation within the internet repositories yum is configured to use. -yum list updates generates a list of updates available for all installed packages. -yum update package_name installs updates for the specified package. -yum info package_name displays information about the specified package, including its version and dependencies. -yum search keyword searches for any packages that contain the specified keyword in the description, summary, or package name fields within the internet repositories yum is configured to use.

How can you get help with a Linux command?

[command] ? or [command] help

Which apt-get command updates all of the installed packages on a system?

apt-get dist-upgrade upgrades all installed packages to the newest version.

Which apt-get command uninstalls a package from the system?

apt-get remove package_name uninstalls the specified package.

Which option can be used with the ps command to view all processes running on the system?

ps -e lists all the processes running on the system. ps without the -e list the processes that have been started in the current shell. ps -f displays extended information about each of those processes. ps -l The -l option displays the long format of the ps output. If I type 'ps -elf' and press Enter, even more information is displayed about each process running on the system.

Which yum command searches online repositories for a particular package, downloads it, and installs it?

yum install [package_name]

Which yum command downloads and installs the latest updates for packages installed on the system?

yum list updates generates a list of updates available for all installed packages. yum update package_name installs updates for the specified package.


Kaugnay na mga set ng pag-aaral

Mental Health Exam 4 Practice Q's

View Set

HSC4713: Planning and Evaluation, HSC 4713 Module 10: Program Resources and Management, HSC 4713 Module 12: Implementation, HSC 4713 - Module 14 Evaluation Approaches and Design, Module 13 - Purposes and Logistics of Evaluation; Evaluation Approaches...

View Set