Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th September 2011, 03:01 AM
muhammad ammar Offline
Registered User
 
Join Date: Feb 2010
Posts: 42
linuxchrome
list of packages with license

Is there anyway to get names of all the packages on a system and their license types?
Reply With Quote
  #2  
Old 20th September 2011, 03:35 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
linuxfirefox
Re: list of packages with license

Quote:
Originally Posted by muhammad ammar View Post
Is there anyway to get names of all the packages on a system and their license types?
Yes:
To your terminal:
Code:
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{VENDOR}.%{License}\n"|sort -d|cat -b
To a file [packages.txt]
Code:
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{VENDOR}.%{License}\n"|sort -d|cat -b >> /home/username/packages.txt
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 20th September 2011, 03:46 AM
muhammad ammar Offline
Registered User
 
Join Date: Feb 2010
Posts: 42
linuxchrome
Re: list of packages with license

Quote:
Originally Posted by Seve View Post
Yes:
To your terminal:
Code:
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{VENDOR}.%{License}\n"|sort -d|cat -b
To a file [packages.txt]
Code:
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{VENDOR}.%{License}\n"|sort -d|cat -b >> /home/username/packages.txt
Great Thanks.
Reply With Quote
Reply

Tags
license, list, packages

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
license of description of rpm packages tripod31 Using Fedora 2 21st March 2008 06:53 PM
Question regarding GPL license and LGPL license gninja21 Programming & Packaging 1 11th March 2008 04:06 PM
list of packages for the CD deanlinkous Using Fedora 3 22nd May 2007 02:41 AM
List of packages in FC6 ?? chas_martel Using Fedora 2 15th October 2006 07:21 PM


Current GMT-time: 08:14 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat