UNIX/Linux inventory - Open Source


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users UNIX/Linux inventory - Open Source
# 8  
Old 07-12-2017
Hi.

Good idea about using a package manager.

Here are some details of an almost-universal package manager that might be able to be used in a software-listing mode; version 2.3.13 is available at:
Code:
pacapt   Manage packages (often repository) in variety of environments. (what)
Path    : ~/bin/pacapt
Version : version '2.0.1'
Length  : 1366 lines
Type    : a /usr/bin/env bash script, UTF-8 Unicode text executable
Shebang : #!/usr/bin/env bash
Help    : probably available with -h,--help
Home    : https://github.com/icy/pacapt (doc)

It supports 14 various package managers.

Best wishes ... cheers, drl
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Fedora

Is UNIX an open source OS ?

Hi everyone, I know the following questions are noobish questions but I am asking them because I am confused about the basics of history behind UNIX and LINUX. Ok onto business, my questions are-: Was/Is UNIX ever an open source operating system ? If UNIX was... (21 Replies)
Discussion started by: sreyan32
21 Replies

2. Linux

Linux open source for admin

Hi, I have created my VM lab on redhat linux, but giving me error after updating new yum repository, its asking me for subscription. I want want switch my redhat linux lab from VM, which linux open source will be best to perform admin commands and tasks?? If possible , please provide iso file... (2 Replies)
Discussion started by: Nats
2 Replies

3. UNIX and Linux Applications

need open source KB software for UNIX

Anyone know of a good open source Knowledge Base software for UNIX that can connect to an Oracle back end? (0 Replies)
Discussion started by: RJ45
0 Replies
Login or Register to Ask a Question
Arch::Inventory(3pm)					User Contributed Perl Documentation				      Arch::Inventory(3pm)

NAME
Arch::Inventory - class representing a tree inventory SYNOPSIS
use Arch::Inventory qw(:category :type); my $inv = Arch::Inventory->new; # use cwd print Arch::Inventory->to_string($inv->get_root_entry), " "; print $inv->get_listing; or (most commonly): use Arch::Tree; my $tree = Arch::Tree->new; my $inv = $tree->get_inventory; print $inv->get_listing; DESCRIPTION
Arch::Inventory generates a tree inventory. An inventory is a tree structure of elements, each representing a single directory entry of the source tree. Each inventory entry is described by an hash with the following fields: category The classification of the tree element. category can be one of TREE, SOURCE, PRECIOUS, BACKUP or JUNK. untagged A boolean value indicating whether the element was first classified as SOURCE but lacked an inventory id. type The tree element type. type can be one of FILE, DIRECTORY or SYMLINK. path The complete path to the tree element relative to the inventory base directory. id The elements inventory id. May be "undef". children A hash of the elements direct children, idexed by their last path element. This field exists for elements of type DIRECTORY only. The category and type constants can be conveniently imported using the tags ":category" and ":type". use Arch::Inventory qw(:category :type); METHODS
The following methods are available: new, directory, get_root_entry, get_entry, get_listing, annotate_fs, foreach, dump, to_string. new [$dir] Create an inventory for $dir or the current directory if $dir is not specified. directory Returns the inventories base directory as passed to new. get_root_entry Returns the inventory element for the base directory. The root entry always has the following properties: $root = { category => TREE, # if {arch} exists, SOURCE otherwise untagged => 1, type => DIRECTORY, path => '', id => undef, children => { ... }, } get_entry $path get_entry @path_elements Returns the inventory element for the specified path. The path may either be given as a single string or as a list of path elements. If the element does not exist "undef" is returned. Using an empty or no path is equivalent to calling get_root_entry. get_listing Generates a textual inventory listing equivalent to the output of tla inventory -tspbju -B --kind --ids --untagged Note: The output order is not equivalent to tla. Instead of strict ASCII order of path names, a directory entry is always directly followed by its child entries. Entries with the same parent entry are ASCII ordered. annotate_fs annotate_fs $entry Add filesystem information to $entry or every inventory entry if none is provided. This adds the fields stat and symlink to the annotated entries which contain the output of lstat and readlink respectively. foreach $coderef Execute $coderef for every inventory entry, passing the entry as $_[0]. dump Generates a dump of the inventory structure using Data::Dumper. to_string $inventory_element Generates an inventory line for the inventory element as produced by tla. BUGS
Awaiting for your reports. AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel). Enno Cramer (uebergeek@web.de--2003/arch-perl--devel). SEE ALSO
For more information, see tla, Arch::Util. perl v5.10.1 2005-10-23 Arch::Inventory(3pm)