LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2015, 10:59 PM   #1
ztdep
Member
 
Registered: Jul 2005
Posts: 212

Rep: Reputation: 31
how to resolve extract these first column from the output


Dear friends:
I want to extract the dependencies to a file from the output of rpm
how to resolve this problme
rpm -ivh condor-7.9.5-126.2.x86_64.rpm
warning: condor-7.9.5-126.2.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 1221a38b: NOKEY
error: Failed dependencies:
globus-common is needed by condor-7.9.5-126.2.x86_64
globus-gsi-callback is needed by condor-7.9.5-126.2.x86_64
globus-rsl is needed by condor-7.9.5-126.2.x86_64
libboost_python.so.1.54.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_callout.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_common.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_common.so.0(GLOBUS_COMMON_14)(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_ftp_control.so.1()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gass_transfer.so.2()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gram_client.so.3()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gram_protocol.so.3()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_callback.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_cert_utils.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_credential.so.1()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_proxy_core.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gsi_sysconfig.so.1()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gss_assist.so.3()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gssapi_error.so.2()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gssapi_gsi.so.4()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_gssapi_gsi.so.4(globus_gssapi_gsi)(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_io.so.3()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_oldgaa.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_openssl.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_openssl_error.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_proxy_ssl.so.1()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_rsl.so.2()(64bit) is needed by condor-7.9.5-126.2.x86_64
libglobus_xio.so.0()(64bit) is needed by condor-7.9.5-126.2.x86_64
libstdc++.so.6(GLIBCXX_3.4.18)(64bit) is needed by condor-7.9.5-126.2.x86_64
 
Old 04-15-2015, 12:20 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Code:
rpm -ivh condor-7.9.5-126.2.x86_64.rpm | awk '{print $1}'
You would have to remove the first few lines which we don't want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract column and paste in another file manish72 Linux - Newbie 2 06-24-2014 09:57 AM
How to convert two column output into 4(+) column output beeblequix Linux - Enterprise 4 09-26-2011 09:41 PM
[SOLVED] Not able to extract last column from awk vinaytp Linux - Newbie 4 05-20-2011 05:27 AM
[SOLVED] Perl extract information for a particular column kdelover Programming 7 10-26-2010 04:24 AM
Multiple Column output for LS Scratch59 Linux - Newbie 4 12-09-2009 06:28 PM


All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration