L2 - Package Management

17 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€64.94
List Price:  €92.78
You save:  €27.83
£55.57
List Price:  £79.40
You save:  £23.82
CA$95.27
List Price:  CA$136.11
You save:  CA$40.83
A$107.88
List Price:  A$154.13
You save:  A$46.24
S$94.55
List Price:  S$135.08
You save:  S$40.52
HK$547.57
List Price:  HK$782.28
You save:  HK$234.71
CHF 63.42
List Price:  CHF 90.61
You save:  CHF 27.18
NOK kr759.63
List Price:  NOK kr1,085.23
You save:  NOK kr325.60
DKK kr484.38
List Price:  DKK kr692.01
You save:  DKK kr207.62
NZ$117.46
List Price:  NZ$167.80
You save:  NZ$50.34
د.إ257.02
List Price:  د.إ367.19
You save:  د.إ110.16
৳7,682.93
List Price:  ৳10,976.08
You save:  ৳3,293.15
₹5,837.41
List Price:  ₹8,339.52
You save:  ₹2,502.10
RM331.26
List Price:  RM473.25
You save:  RM141.99
₦99,285.71
List Price:  ₦141,842.81
You save:  ₦42,557.10
₨19,466.20
List Price:  ₨27,810.04
You save:  ₨8,343.84
฿2,553.28
List Price:  ฿3,647.70
You save:  ฿1,094.41
₺2,262.39
List Price:  ₺3,232.12
You save:  ₺969.73
B$349.43
List Price:  B$499.21
You save:  B$149.77
R1,335.92
List Price:  R1,908.54
You save:  R572.62
Лв126.45
List Price:  Лв180.65
You save:  Лв54.20
₩94,634.34
List Price:  ₩135,197.71
You save:  ₩40,563.37
₪258.03
List Price:  ₪368.63
You save:  ₪110.60
₱3,943.57
List Price:  ₱5,633.91
You save:  ₱1,690.34
¥10,600.67
List Price:  ¥15,144.47
You save:  ¥4,543.79
MX$1,161.53
List Price:  MX$1,659.40
You save:  MX$497.87
QR255
List Price:  QR364.31
You save:  QR109.30
P959.59
List Price:  P1,370.91
You save:  P411.31
KSh9,203.68
List Price:  KSh13,148.68
You save:  KSh3,945
E£3,310.52
List Price:  E£4,729.52
You save:  E£1,419
ብር3,976.27
List Price:  ብር5,680.63
You save:  ብር1,704.36
Kz58,526.41
List Price:  Kz83,612.74
You save:  Kz25,086.33
CLP$68,581.80
List Price:  CLP$97,978.20
You save:  CLP$29,396.40
CN¥506.04
List Price:  CN¥722.95
You save:  CN¥216.90
RD$4,144.87
List Price:  RD$5,921.50
You save:  RD$1,776.62
DA9,443.17
List Price:  DA13,490.83
You save:  DA4,047.65
FJ$158.28
List Price:  FJ$226.12
You save:  FJ$67.84
Q545.87
List Price:  Q779.86
You save:  Q233.98
GY$14,645.83
List Price:  GY$20,923.51
You save:  GY$6,277.68
ISK kr9,762.20
List Price:  ISK kr13,946.60
You save:  ISK kr4,184.40
DH709.20
List Price:  DH1,013.19
You save:  DH303.99
L1,234.28
List Price:  L1,763.34
You save:  L529.05
ден3,991.30
List Price:  ден5,702.11
You save:  ден1,710.80
MOP$564.10
List Price:  MOP$805.89
You save:  MOP$241.79
N$1,325.35
List Price:  N$1,893.44
You save:  N$568.09
C$2,576.69
List Price:  C$3,681.15
You save:  C$1,104.45
रु9,334.54
List Price:  रु13,335.63
You save:  रु4,001.09
S/259.58
List Price:  S/370.84
You save:  S/111.26
K267.89
List Price:  K382.72
You save:  K114.82
SAR262.49
List Price:  SAR375
You save:  SAR112.51
ZK1,765.85
List Price:  ZK2,522.76
You save:  ZK756.90
L322.98
List Price:  L461.43
You save:  L138.44
Kč1,645.46
List Price:  Kč2,350.75
You save:  Kč705.29
Ft25,709.21
List Price:  Ft36,729.02
You save:  Ft11,019.81
SEK kr749.87
List Price:  SEK kr1,071.30
You save:  SEK kr321.42
ARS$60,034.20
List Price:  ARS$85,766.82
You save:  ARS$25,732.62
Bs483.70
List Price:  Bs691.04
You save:  Bs207.33
COP$271,296.95
List Price:  COP$387,583.68
You save:  COP$116,286.73
₡35,581.11
List Price:  ₡50,832.34
You save:  ₡15,251.22
L1,728.07
List Price:  L2,468.78
You save:  L740.71
₲516,441.87
List Price:  ₲737,805.73
You save:  ₲221,363.85
$U2,647.22
List Price:  $U3,781.90
You save:  $U1,134.68
zł280.50
List Price:  zł400.73
You save:  zł120.23
Already have an account? Log In

Transcript

Welcome back friends, we are learning about system administration and this is second video, second lecture on System Administration. Here we are we are going to learn about package management, the RPM and other things. So let's start. So what is RPM package manager which is Red Hat package manager. The Red Hat package manager is a tool which is similar to a software installation tool which occurs in Windows and Mac. Here you can configure Avi software is to be installed or removed.

You could query various things and you could verify the package management. It is with a distribution installation, upgrading and removal of a software on Red Hat Enterprise Linux and RPM system consists of the local database, the RPM and related executables RPM front ends such as a young which is a command which is that could be used to install or remove an utility or a software via command line mode. It allows you to pack package files, various files. The local RPM database is maintained in the directory where a slash Li ve slash rpm. The database stores information about the installed packages, such as file attributes the package pre request sites and you are being an administrator. You rarely if modifies the database directly.

You can instead use the RPM command which could be used to directly modify the database The software could be installed using RPM is distributed through RPM package files, which are essentially compressed archives. Similar to zip or G zip of files associated dependencies information. The package files are named with various formats, the release version release version architecture and RPM will learning about this thing in next pages so let's move to installation and removing of software. There are various RPM options available there. You can install a software with the command RPM minus i for installing a file or either you could use my minus minus install To upgrade a system or utility, you could use RPM minus you to update to a fresh version of a tool, you could try RPM minus F, which refreshes your system removes the earlier version and install a new version. by downloading and installing you can similarly raise a version with RPM minus E. There is a syntax of writing this thing as you can install, suppose we want to install a file, we have to write RPM minus i hash in the pound symbol.

Zip. Suppose we have a file named zip. You can have ABC or any file name. Then place a dot that defines the version version here is a 2.3 Then there is a dot, which defines the architecture. Here we have x86 a i 386. Then place a.to define the redhead package management RPM file.

So this is the syntax of providing the RPM command you can install, upgrade, fishing or delete the database with this command. Similarly you can provide output with options minus p and minus h. You have any URL support for FTP and HTTP. There are many other install options that are available to address various special cases. We could go through various options in detail, but actually they are rarely used. Then there comes the updating of alabang kernel RPM when you are updating A simple file that would be a utility like links or a web browser, you could roughly use RPM minus u or RPM minus f command. But when you are a grading a kernel, you should not use minus u or minus f argument for various reasons.

Because, when you write minus u and minus f options, it determines whether a version already exists on the system. And if so, if the version exists, whether the version to be installed is a new year newer, it checks whether your new version is a new actually new or whether it is old. If it is new, the RPM first installs the new version, thereby replacing old files. The old files are being deleted. Except those markers configuration file only configuration files have been left. Rest other files are being vanished.

Simply gone. Attend remove the old packages, but only delete files that do not exist in the new version. Because of upgrading, it removes the previous kernel version. And if you are newly installed kernel proofs are nice table because you don't know whether a new version would run or not. And the old kernel files have gone deleted you could be left with an unbootable system the system is gone, you have upgraded your system, the all the previous panel has been deleted and your system crashes, you could not boot your organs restart your operating system anyhow. You only have an option.

You could you would have to restore to alternate both media such as both floppy or CD to the router system. When you run and install instead of an upgrade, the old version of the kernel is still available and can be selected from the bootloader. You have to install other than upgrade or fresh new system if you are dealing with kernel. Rest fine with other utilities. You have various options like minus IVs. To determine the kernel version, you can vote new kernel to test, you can revert to old kernel if a problem arises.

When you use this user install version minus i VH command you can delete the old version if no problem exists later on. First you install a new version without deleting the earlier one. Then we will come to rpm queries which allows you to execute different queries on installed packages and uninstalled packages. The center for writing RPM query is simple similar simple RPM minus q minus q argument shows that it is a query you have to write in the format of what package which package you have to deal with and which information you want to retry. For installed packages, you have various options, rpm minus QA, the QA argument list installed packages, all the packages that are being installed on the system minus q f space file name shows the owning package minus q i. Space package name shows the general information about the package.

Similarly minus q L is base package name list of files in a package. Similarly, on an install package options, you could execute a minus q IP and minus q LP for a package file system. Similarly, for RPM verification the package management verification on installed RPM file you could execute different commands like RPM minus V i p minus VP and wireframe is V A for verification of the file, whether it is being installed or not properly installed and the various details you could check you have to perform a signature verification before our package installation by writing the RPM minus minus import RPM GPG key then the RPM minus key argument followed by a package name and architecture and Dota RP their concern Very interesting thing, the violin or yum command in short, which is full form for Yellow Dog update. It was developed in any university and Fulham is not widely used.

This command is everything if you want to install remove or update a package or a system or an utility or software on redhead it is a front end to rpm It is designed to resolve package dependencies it can locate packages across multiple repositories. It is a replacement for up to date command for installing a package using yum command you have to write why you have is paste install command is paste the package name with architecture and dot RPM file. Similarly, you could write remove and update argument with you to remove and update packets respectively. You can search packages or files. Using the board provides argument on em. You can search with a search term.

Suppose that you want to search a particular string. On the package, you would write the young search with the search item system. Similarly, you could list everything with the argument, young is face list. All available extras installed recent updates and so on. You could get information of a package name with young space info, command, then the package name. You could search a particular file in the package letter word provides argument You could configure additional repositories, where you can create a file in etc directory yum dot repos dot Dev and file for a repository.

The required information for configuring additional repositories is here to provide a repository name. Then name equals to a nice description about your repository. then provide base URL for a repository from where it has to be downloaded. enabled equals to one and GPG check goes to one you have to define these things in the particular file. You can create a private repository and by creating a directory to hold your packages, you have to create a directory First, make this directory available by HTTP and FTP. Which can be downloaded by other users, you can install a creator create repo RPM, then run the Create repo command.

With a minus V argument and the package directory you have to provide your directory for the package. And the repository will be created on report data subdirectory and the needed support files for the file to be created as a repository. Then there comes a third thing that is a Red Hat network, which is a centralized platform for system management. It provides our Red Hat software packages, it shows a four errata level four system you can update many systems at once. Using Red Hat network, it allows a full Lifecycle Management. It is web based management interface.

It uses HTTPS for secure transaction or for all transactions. Then we have Red Hat server network server, which is rH m.redhead.com, or local satellite proxy, which is a web based management of machines. It provides a proxy caches for Red Hat network traffic. Origin satellite provides an autonomous Reddit network. You could go with a proxy or satellite based on your users. Name that comes out Red Hat network accounts where users for info where RFM users Red Hat network users can register for machines or web based management system ID for automatic authentication of system is being required.

And you can use various utilities provided by Red Hat. Then there comes our entitlements, which are software channels subscribed by your system. You can grant access to software channels for subscribing by a system. The channels could be based channel the child channels. It defines the level of service. You can define update management, provisioning and monitoring of services.

Then there is another thing that is a Red Hat network line where registration and interactive usage and remote management could be done using various utilities. You can select to update location or That is origin or local or satellite or proxy. By running the command origin underscore register. You could enter the account information for authenticating to Red Hat network, satellite or proxy. For interactive usage, you could use the yum plugin for downloading packages from Red Hat network. You could which you could configure the interactive usage in origin plug in configuration file, located in etc yum.

Then for remote management, you could go with RFM St. Paul, for every four hours, which has been updated every four hours or four immediately, with origin underscore C, E ck IRA chain underscore check poll which exists immediately. So, this was about package management. We have learned about various things on packages and we can install with install update or delete with yum. We have learned about cautions with that we have to take for updating the kernel system and we have learned about different utilities

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.