08-14-2009
Also, Most linux distributions do not have "patches" they have packages.
rpm -qla will show you what you wanted, you can grep for the package name if you know it.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
and by the is there any command to get the OS currently running regardless of the constructor (HP, IBM...)? thanks! (3 Replies)
Discussion started by: jericho
3 Replies
2. IP Networking
Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down.
I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
3. Solaris
Hi ,
I need to collect all information about the patches in my server , I want to know what is the required patch and how to apply it.
Regards (2 Replies)
Discussion started by: ArabOracle.com
2 Replies
4. Solaris
Hi,
I want to know the command to know ssh version on solaris (1 Reply)
Discussion started by: manoj.solaris
1 Replies
5. Solaris
Hello experts.
How can i see kernel patch version? what are advantages applying that patch?
Thanx in advance (5 Replies)
Discussion started by: younus_syed
5 Replies
6. Linux
Hi
Do let me know how to find OS Patch 's installed on Linux server ?
Thanks
~ SPai (3 Replies)
Discussion started by: sbanala
3 Replies
7. Shell Programming and Scripting
Hello All,
I have a patch file which contains following types of lines -
@@ -617,14 +617,8 @@
What does they signify ? (1 Reply)
Discussion started by: paragkalra
1 Replies
8. UNIX for Dummies Questions & Answers
Having trouble doing the following things, I know it has something to do with using metacharacters but I'm not able to get it working correctly.
I need a command to get a long directory listing of all the files that have:
exactly two characters following the letters zot.
all files that... (1 Reply)
Discussion started by: lakers34kb
1 Replies
9. Debian
The version of Samba in our billing server is 4.1.17-Debian.
I have been reminded by our management to implement the patch for Samba on this server.
However, I am not sure how to implement the patch. I have browsed some websites for the correct patch to implement for Samba 4.1.17, and the patch... (11 Replies)
Discussion started by: anaigini45
11 Replies
LEARN ABOUT DEBIAN
linux::distribution::packages
Linux::Distribution::Packages(3pm) User Contributed Perl Documentation Linux::Distribution::Packages(3pm)
NAME
Linux::Distribution::Packages - list all packages on various Linux distributions
SYNOPSIS
use Linux::Distribution::Packages qw(distribution_packages distribution_write);
$linux = new Linux::Distribution::Packages({'format' => 'csv', 'output_file' => 'packages.csv'});
$linux->distribution_write();
# Or you can (re)set the options when you write.
$linux->distribution_write({'format' => 'xml', 'output_file' => 'packages.xml'});
# If you want to reload the package data
$linux->distribution_packages();
DESCRIPTION
This is a simple module that uses Linux::Distribution to guess the linux distribution and then uses the correct commands to list all the
packages on the system and then output them in one of three formats: native, csv, and xml.
Distributions currently working: debian, ubuntu, fedora, redhat, suse, gentoo, slackware, redflag.
The module inherits from Linux::Distribution, so can also use its calls.
EXPORT
None by default.
TODO
* Add the capability to correctly get packages for all recognized distributions. * Seperate out parsing from writing. Parse data to hash
and give access to hash. Then write the formatted data from the hash.
AUTHORS
Judith Lebzelter, <judith@osdl.org> Alberto Re, <alberto@accidia.net>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.10.1 2006-04-19 Linux::Distribution::Packages(3pm)