Fedora Linux Support Community & Resources Center
  #1  
Old 28th March 2010, 11:23 AM
Martiini Offline
Registered User
 
Join Date: Mar 2010
Posts: 1
linuxsafari
Question Howto: save "list of installed packages"

how do I save installed packages in a list and restore ...

rpm -qa > installed-software.log
yum install $(cat installed-software.log)

sorting rpm packages by size
rpm -qa --qf '%{SIZE}\t%{NAME}\n' | sort -n

Last edited by Martiini; 28th March 2010 at 12:06 PM.
Reply With Quote
  #2  
Old 28th March 2010, 11:28 AM
kyryder
Guest
 
Posts: n/a
linuxfedorafirefox
Re: Howto: save "list of installed packages"

Hello, and Welcome to Fedoraforum.org,

This should work just fine.
Code:
rpm -qa > installed-software
or in alphabetical order:
Code:
rpm -qa|sort > installed-software
Hope this helps,

Ky
Reply With Quote
  #3  
Old 28th March 2010, 12:10 PM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 48
Posts: 3,864
linuxfedorafirefox
Re: Howto: save "list of installed packages"

Also another way if you want to make a kickstart file for installing with or making a livecd..(assuming you have system-config-kickstart installed)

Quote:
system-config-kickstart --generate current.ks
Reply With Quote
  #4  
Old 28th March 2010, 01:21 PM
BugRocks1 Offline
Registered User
 
Join Date: Jan 2010
Posts: 894
linuxfedorafirefox
Re: Howto: save "list of installed packages"

Fedora 12 Backup installed software


To make the txt with your files:
Quote:
rpm -qa | sort > /home/[user]/Desktop/installed-software.log
To reinstall everything from the txt:
Quote:
yum -y install $(cat /home/[user]/Desktop/installed-software.log)
To download all the packages without installing anything(to make a local repository perhaps)
Quote:
yumdownloader $(cat /home/[user]/Desktop/installed-software.log) --destdir="/home/[user]/Desktop/local_repository"
Addition:

To restore your configurations too you need to backup the /etc folder and maybe also the user folder. I don't really know because I don't care that much about the configuration files.

Last edited by BugRocks1; 28th March 2010 at 02:27 PM.
Reply With Quote
  #5  
Old 13th August 2011, 01:59 PM
kkshethin Offline
Registered User
 
Join Date: Dec 2009
Location: India
Posts: 288
linuxfirefox
Re: Howto: save "list of installed packages"

i have installed yum-plugin-local to keep copies of downloaded/installed packages. The directory is /var/lib/yum/plugin/local. It contains all rpm packages (along-with different versions).

I want to copy only latest packages from that directory. How to do that?
Reply With Quote
Reply

Tags
howto, save

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
Hiding dot files in "Save" and/or "Save As" n926bb Using Fedora 1 7th September 2009 12:24 AM
"No kernel packages were installed" cavus Installation, Upgrades and Live Media 2 29th June 2009 04:44 PM
both rame "i386" and "x86_64" rpm installed yves_69 Using Fedora 5 15th December 2008 03:32 PM
Package Updater - "Packages Already Installed" Problem bnt Using Fedora 6 5th February 2007 10:06 AM
I installed Eternal-Lands an"no icon""installed using yumd now I'm lost Nickmorgan19457 Using Fedora 9 16th March 2006 08:28 AM


Current GMT-time: 15:48 (Wednesday, 23-04-2014)

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