10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
2. Linux
HI,
First I'll use yum check-update to check any updates.
Q1: How can I know that how much space needed to update all packages listed by yum check-update command?
Q2: How can I list kernel related packages?
TIA (2 Replies)
Discussion started by: Sumanthsv
2 Replies
3. UNIX and Linux Applications
Is there a reason why yum provide can't find libquazip? I did this.
yum whatprovides */libquazip
A quick google search told me it was in quazip and libquazip.
RPM resource libquazip.so.1 (1 Reply)
Discussion started by: cokedude
1 Replies
4. Red Hat
I was trying to get some dependency checks done in one of my task.
I was running repoquery for one of the package in my repository, output is
repoquery --repoid=gsix-usb --tree-requires App-A-1.1.1-1.i386
App-A-1.1.1-1.i386
\_ Core-2.2.2-1.i386
I was checking for... (1 Reply)
Discussion started by: sumantkukunooru
1 Replies
5. Red Hat
Hi All,
Just installed new Redhat server. I am trying to do rhn_register. I get this error message.
Fatal error: The SSL certificate failed verification.
Any one ran into this error. Please let me know.
I do have internet connection-
ping www.google.com
PING... (1 Reply)
Discussion started by: samnyc
1 Replies
6. Red Hat
How do I delete all of my repo information and start completely fresh? (8 Replies)
Discussion started by: cokedude
8 Replies
7. UNIX for Advanced & Expert Users
Hi Guys,
I am trying install mysql.i386 with yum... But unfortunately I am getting error as listed below:
# yum install mysql.i386
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
... (2 Replies)
Discussion started by: mahesh_raghu
2 Replies
8. Red Hat
hi
i am not able to do yum update in centos5
i was not able to use yum at all.i am getting an like this.
#yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Update Process
No Packages marked for Update
please help me what i have missed (6 Replies)
Discussion started by: praneel2k
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does.
Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies
10. Red Hat
I am using Cent OS 5 i need to update proxy server address in yum, i don't know where to update and how exactly i need to specify the proxy address can anyone help me in the issue. (2 Replies)
Discussion started by: praneel2k
2 Replies
App::Cmd::Setup(3pm) User Contributed Perl Documentation App::Cmd::Setup(3pm)
NAME
App::Cmd::Setup - helper for setting up App::Cmd classes
VERSION
version 0.318
OVERVIEW
App::Cmd::Setup is a helper library, used to set up base classes that will be used as part of an App::Cmd program. For the most part you
should refer to the tutorial for how you should use this library.
This class is useful in three scenarios:
when writing your App::Cmd subclass
Instead of writing:
package MyApp;
use base 'App::Cmd';
...you can write:
package MyApp;
use App::Cmd::Setup -app;
The benefits of doing this are mostly minor, and relate to sanity-checking your class. The significant benefit is that this form
allows you to specify plugins, as in:
package MyApp;
use App::Cmd::Setup -app => { plugins => [ 'Prompt' ] };
Plugins are described in App::Cmd::Tutorial and App::Cmd::Plugin.
when writing abstract base classes for commands
That is: when you write a subclass of App::Cmd::Command that is intended for other commands to use as their base class, you should use
App::Cmd::Setup. For example, if you want all the commands in MyApp to inherit from MyApp::Command, you may want to write that package
like this:
package MyApp::Command;
use App::Cmd::Setup -command;
Do not confuse this with the way you will write specific commands:
package MyApp::Command::mycmd;
use MyApp -command;
Again, this form mostly performs some validation and setup behind the scenes for you. You can use "base" if you prefer.
when writing App::Cmd plugins
App::Cmd::Plugin is a mechanism that allows an App::Cmd class to inject code into all its command classes, providing them with utility
routines.
To write a plugin, you must use App::Cmd::Setup. As seen above, you must also use App::Cmd::Setup to set up your App::Cmd subclass if
you wish to consume plugins.
For more information on writing plugins, see App::Cmd::Manual and App::Cmd::Plugin.
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-05-05 App::Cmd::Setup(3pm)