• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/26

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

26 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)

Nano

Is a text based file editor that is available for editing text based configuration files within a command line of linux server.

yum

Is a package manager and is the primary command for most text modes.

yum remove (name of application)

Command that removes an already existing application.

which

Is a utility which actually looks for an application to see if it is already installed. Verification tool.

RPM

is a program for installing, uninstalling, and managing software packages in Linux. RPM was developed on the basis of the Linux Standard Base (LSB).

rpm -i

Command to install a package to program.

Flags used

-i : is used to install name of specified package




-h: is used to show the progress of an application/ rpm file as it is being installed.




-v: is for verbose, to verbosely see information rather than just getting a command prompt.

rpm -ihv (filename)

Command for a more elaborate install with much more detail information about the install of files/ applications.

rpm -q (filename)

-q is another flag used to "query" to find out package's true file name.

Output interpretation:




nano-2.2.6-1.x86_64

nano: stands for the name of package and what it is.




2.2.6: is the version number of package.




-1. : is the build number of version.




x86_64: is the the type of architecture that file is for.



rpm -qi (filename)

Command is similar to the "query" flag but much more detailed in listing...


-name


-version


-release date


-architecture


-install date of installed package.


-group


-etc

rpm -e (filename)

Command to uninstall the name of package specified.


(You would have to verify with "which" command to ensure file has been deleted.)

rpm -qpR (filename)

-q : Query a package
-p : List capabilities this package provides.

-R :Lists capabilities on which this package depends.
Let’s say you would like to do a dependency check before installing or upgrading a package. For example, use the following command to check the dependencies of BitTorrent-5.2.2-1-Python2.4.noarch.rpm package. It will display the list of dependencies of package.

YUM

(Yellowdog Updater Modified)

Is an open source command-line as well as graphical based package management tool for RPM (RedHat Package Manager) based Linux systems.

It allows users and system administrator to easily install, update, remove or search software packages on a systems.

cd /etc/ yum.repos.d/

Changing directories to etc (is where config files are saved to when installing a package)


yum folder in etc which opens the repos filed under yum.

Unlike apt-get that has 1 config file for all the repos, yum uses separate files to place config files.

vi Centos -Base.repo -(filename)

Very similar to apt-get


Basically lists...


-name of source list that repo is at


-base url where it's going to contact at


-adding/editing files are possible

Opens text editor

yum update

to update repos (source list of files) and packages.

yum search (file/app name)

Command for searching packages.

HTTPD

Package for Apache2 for a CentOS or Red Hat Enterprise System.

yum check update (package)

Command to see a particular update that needs updating.

yum upgrade

Command to upgrade ALL packages that might be available.

Lists any packages that are marked for any updates that might be needed.

yum deplist (packages)

Command to see dependencies required for specific package. Shows all dependencies that the package needs so in the update, if package does not have all dependencies ready then yum would have installed them.

yum remove (package)

Command to remove specified package.

yum clean packages

Command that would clean/remove unnecessary packages that have been installed taking up necessary space needed kept in files.

yum clean all

Command that will remove anything that is temporary file from any packages that we may have deleted.

man yum


man apt-get


man dpkg

Manuals that gives you all the necessary flags and options within powerful tools to keep both linux distros as well as installed apps upto date.