Unix and Linux Discussions Tagged with suse linux |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
6,487 |
SuSE |
|
|
|
0 |
3,145 |
Linux |
|
|
|
0 |
1,888 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
19,767 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
12,398 |
IP Networking |
|
|
|
0 |
4,403 |
UNIX and Linux Applications |
|
|
|
0 |
1,408 |
UNIX and Linux RSS News |
|
|
|
0 |
1,528 |
Software Releases - RSS News |
|
|
|
13 |
7,676 |
What is on Your Mind? |
|
|
|
9 |
5,129 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,946 |
SuSE |
|
|
|
3 |
7,747 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,022 |
UNIX Desktop Questions & Answers |
|
|
|
1 |
8,036 |
Programming |
|
|
|
8 |
7,712 |
SuSE |
|
|
|
2 |
10,430 |
Shell Programming and Scripting |
|
|
|
5 |
9,407 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
18,001 |
Linux Benchmarks |
|
|
|
4 |
4,061 |
What is on Your Mind? |
|
|
|
6 |
5,262 |
UNIX Desktop Questions & Answers |
|
|
|
5 |
18,592 |
SuSE |
|
|
|
1 |
4,032 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
4,916 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
8,291 |
SuSE |
|
|
|
25 |
13,584 |
SuSE |
|
|
|
3 |
6,456 |
SuSE |
|
|
|
7 |
6,825 |
SuSE |
|
|
|
10 |
11,289 |
SuSE |
|
|
|
2 |
4,704 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,922 |
SuSE |
|
|
|
5 |
3,483 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,077 |
SuSE |
|
|
|
3 |
3,539 |
SuSE |
|
|
|
2 |
8,333 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,198 |
Windows & DOS: Issues & Discussions |
|
|
|
13 |
9,208 |
Slackware |
|
|
|
3 |
4,646 |
SuSE |
|
|
|
1 |
3,998 |
SuSE |
|
|
|
13 |
16,821 |
Slackware |
|
|
|
1 |
3,697 |
IP Networking |
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)