06-27-2017
That depends on the distribution you use (and which you failed to mention, btw); there are quite some. Ubuntu / Debian have synaptic, Fedora use yum, and RedHat have their RPM.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Suppose I have a script named "sc.sh"
in the script how to print out its name "sc.sh"? (3 Replies)
Discussion started by: meili100
3 Replies
2. Shell Programming and Scripting
HI im a novice with shell scripts but i need help with a random script I have this folder filled with 500 different file names... I need help creating a script that will take each filename and make a new folder named that filename and then move that file into the newly created folder. Then the... (1 Reply)
Discussion started by: emachala
1 Replies
3. Shell Programming and Scripting
In shell Can I pass " to a program ? If not what is the work around ..?
Can I define * as a wild card charecter that will return all the values from
the files ..?
I am trying to create a tool that will return the values from a property file . This tool has to support all the wild card... (1 Reply)
Discussion started by: app1sxv
1 Replies
4. Shell Programming and Scripting
Hi,
I have been working on Sun Solaris since a long time. Recently I got to work on RH Linux. My Linux version details are:
Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
I have a simple command in my shell script:
export BKPTAG=`date... (3 Replies)
Discussion started by: sagarparadkar
3 Replies
5. Shell Programming and Scripting
Hi all,
I am trying to make a Nodemanager work in RHEL 5
I got this script from 'oraclemiddleware.wordpress.com', and made appropriate changes to suit my weblogic installation.
I keep getting the error, "line 82: syntax error: unexpected end of file".
I have checked every line to make sure all... (4 Replies)
Discussion started by: chakrv1
4 Replies
6. Homework & Coursework Questions
Hi Guys
I am new to Linux Shell Scripting . Can any one help me with this Task...files are attached for reference
Task 1: write a script to generate a large size report file MX0002_new.XML by using the template MX0001_new.XML. Shell script is recomended, and it can run on Linux without... (2 Replies)
Discussion started by: samy_1811
2 Replies
7. Shell Programming and Scripting
Hello,
Please, how can I complete this script:
Thank you (2 Replies)
Discussion started by: chercheur857
2 Replies
8. UNIX Desktop Questions & Answers
Taking a class and having trouble with this whole section.
1. What is the name of the action the shell performs on your command-line after you hit the ENTER key (i.e., to cut your command-line syntax into its constituent tokens, including its commands, options and arguments)?
Hint: It is a... (1 Reply)
Discussion started by: red20132014
1 Replies
9. UNIX for Dummies Questions & Answers
we need help with the syntax with this shell script,
if you could create this shell script we can donate to a charity etc.
we need to set up a directory called user3
inside directory user3 we need to create the following files :
afile, anyfile, anotherfile, afiletest, bfile. bfiletest, cfile,... (3 Replies)
Discussion started by: cometboy
3 Replies
10. UNIX for Beginners Questions & Answers
I have a csv file that looks like this
Name,Food,Sport
James,Curry,Gym
Darren,Pizza,Football
Jim,Fish,Hockey
James,Sushi,Tennis
My code looks like this
IFS=","
sed 1d $file_name | while read Name Food Sport
do
mkdir -p $Name
#echo "=================="
#echo "Name: $Name" (3 Replies)
Discussion started by: darklord173
3 Replies
LEARN ABOUT CENTOS
yum-list-data
yum-list-data(1) yum-list-data(1)
NAME
yum list data plugin
SYNOPSIS
yum [options] [command] [package ...]
DESCRIPTION
This plugin extends yum for some commands that give aggregate package data based on lists of packages
added yum commands are:
* list-vendors
* info-vendors
* list-rpm-groups
* info-rpm-groups
* list-packagers
* info-packagers
* list-licenses
* info-licenses
* list-arches
* info-arches
* list-committers
* info-committers
* list-buildhosts
* info-buildhosts
* list-baseurls
* info-baseurls
* list-package-sizes
* info-package-sizes
* list-archive-sizes
* info-archive-sizes
* list-installed-sizes
* info-installed-sizes
* list-groups
* info-groups
all of which take the same arguments as the list and info yum commands. The difference between the list and info varieties is that the info
versions lists all the packages under each aggregation.
list-vendors, info-vendors
Is used to list the aggregate of the vendor attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.".
list-rpm-groups, info-rpm-groups
Is used to list the aggregate of the group attribute on the packages, examples are "Applications/System", "Development/Tools" and
"System Environment/Base"
list-packagers, info-packagers
Is used to list the aggregate of the packager attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.".
list-licenses, info-licenses
Is used to list the aggregate of the license attribute on the packages, examples are "GPL" and "MIT"
list-arches, info-arches
Is used to list the aggregate of the arch attribute on the packages, examples are "i386" and "x86_64"
list-committers, info-committers
Is used to list the aggregate of the committer attribute on the packages, this is taken from the most recent changelog entry of the
package.
list-buildhosts, info-buildhosts
Is used to list the aggregate of the buildhost attribute on the packages, examples are "mybuilder.example.com" and "xen-
builder1.fedora.redhat.com"
list-baseurls, info-baseurls
Is used to list the aggregate of the url attribute on the packages after discarding the path of the URL, examples are
"http://yum.baseurl.org/" and "http://www.and.org/"
list-package-sizes, info-package-sizes
Is used to list the aggregate of specified ranges the packagesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[
750KB - 1MB ]".
list-archive-sizes, info-archive-sizes
Is used to list the aggregate of specified ranges the archivesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[
750KB - 1MB ]".
list-installed-sizes, info-installed-sizes
Is used to list the aggregate of specified ranges the installedsize attribute on the packages, examples are "[ 1B - 10KB ]" and
"[ 750KB - 1MB ]".
list-groups, info-groups
Is used to list the aggregate of the yum groups that the packages are in, examples are in "yum grouplist". Note that in yum groups a
package can be in more than one group at a time.
It is worth noting that some of the above data can be "unknown", to yum, at which point a separate aggregation called "-- Unknown --" is
listed.
EXAMPLES
To list all the groups that have an update, along with the number of packages in each group, use:
yum list-rpm-groups updates
To list all the committers to packages that have yum in their name, use:
yum list-committers 'yum*'
To list ranges of the sizes of packages installed or available, use:
yum list-package-sizes
To list yum groups that have an update, use:
yum list-groups
SEE ALSO
yum-filter-data (1)
yum (8)
yum.conf (5)
AUTHORS
James Antill <james.antill@redhat.com>.
James Antill 04 February 2008 yum-list-data(1)