Linux 45

Published on February 2017 | Categories: Documents | Downloads: 57 | Comments: 0 | Views: 487
of 1
Download PDF   Embed   Report

Comments

Content

rpm ql routed-0.17
or
rpm ql routed
Finally if we want to find out which package installed the file /usr/sbin/routed
the rpm database can be queried with:
rpm qf /usr/sbin/routed
Three query types: uninstalled packages, installed packages and files
Query Type
Option
Package file
-qp
Installed package
-q
File
-qf
An extra option will allow you to get information on all installed files l, docum
entation d configuration files c, etc ...
The following special options are also available
--nodeps
this allows to install without regard to dependencies
--force
force an upgrade
--test
doesn t actually install or upgrade, just prints to stdout
--requires
show package requirement
name-version-release.src.rpm
The source code for many RPM packages is also available as an RPM package and wi
ll be used to build a binary package. The naming convention is:
These packages contain at least two files, the tarball with the code and a spec
file. The spec file contains instructions to patch, compile and build the RPM pa
ckage. If the code needs to be patched before compilation then the patches are i
ncluded in the source package.
There are three different ways to build a RPM package. We will assume that we ha
ve a package called name-version-release.src.rpm.
Reflection
Module summary
Summary In this module you learned you learned how to install software in Linux.
You learned that software can be installed from source files and from packaged
software e.g rpm or debian packages.
It is also important to also note that there exist package management software t
hat makes it easier for you to install packaged software in linux. These include
:
Synaptic Package Manager: Synaptic is a computer program which is a GTK+ graphic
al user interface front-end to the Advanced Packaging Tool for the Debian packag
e management system. Synaptic is usually used on systems based on deb packages b
ut can also be used on systems based on RPM packages. It can be used to install,
remove and upgrade software packages and to add repositories.
Yast: Yet another Setup Tool (YaST) is an RPM-based operating system setup and c
onfiguration tool that is featured in the openSUSE Linux distribution, as well a
s Novell's derived commercial distributions. It features tools that can configur
e many aspects of the system. It is also part of the defunct United Linux. The f
irst SuSE distribution that included YaST was released in May, 1996. YaST is fre
e software that Novell has made available under the GPL.YaST2 is a tool for admi
nistering and maintaining a SUSE Linux installation. It allows administrators to
install software, configure hardware, set up networks and servers, and more.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close