12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Summary 149When installing the example package, if you do not have the vpnc package installed, thefollowing error is displayed:error: Failed dependencies:vpnc is needed by startvpn-1.1-1.noarchYou can force the installation of the package so that you can test the package you builtfrom this example:rpm -Uvh --nodeps startvpn-1.1-1.noarch.rpmNow that the package is installed, execute the rpm -qi startvpn command. The correctoutput is shown in Listing 5.14. The build host will be the hostname of the system usedto build the package.LISTING 5.14Information About startvpn RPMName : startvpn Relocations: (not relocatable)Version : 1.1 Vendor: (none)Release : 1 Build Date: Wed 28 Feb 2007 12:16:12 AMESTInstall Date: Wed 28 Feb 2007 12:16:38 AM EST Build Host: build.example.orgGroup : Applications/Internet Source RPM: startvpn-1.1-1.src.rpmSize : 45 License: GPLSignature : (none)URL: http://www.example.org/Summary : Custom script to start VPNDescription :Custom script to start VPN and connect to company’s private network.For company use only.5The command rpm -ql startvpn shows that only one file was installed:/usr/local/bin/startvpnSummaryIf you use <strong>Red</strong> <strong>Hat</strong> Network, you may never have to use the command-line version ofRPM, but hopefully, this chapter has given you a basic understanding of it so that youcan better understand <strong>Red</strong> <strong>Hat</strong> Network. If you have custom software to distribute withinyour company, consider distributing it in an RPM package to ensure consistent installationacross all systems and easily keep track of what versions are installed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!