<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Linux Get list of installed software for reinstallation / restore software</title>
	<atom:link href="http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html</link>
	<description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description>
	<lastBuildDate>Fri, 19 Mar 2010 02:53:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: elyograg</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-153967</link>
		<dc:creator>elyograg</dc:creator>
		<pubDate>Fri, 26 Feb 2010 23:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-153967</guid>
		<description>This is what I did.  It ensures that if the list is long enough to exceed the length limit on a command, it will still work:

cat installed-software.log &#124; xargs yum -y install</description>
		<content:encoded><![CDATA[<p>This is what I did.  It ensures that if the list is long enough to exceed the length limit on a command, it will still work:</p>
<p>cat installed-software.log | xargs yum -y install</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doc</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-153253</link>
		<dc:creator>Doc</dc:creator>
		<pubDate>Sun, 31 Jan 2010 05:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-153253</guid>
		<description>But....
rpm -qa 
Returns the long name, with version number, distro and arch, 
for ex. gnome-utils-libs-2.28.3-1.fc11.i586
And if you try to install this list on a newer version distro you get 
&lt;b&gt;No gnome-utils-libs-2.28.3-1.fc11.i586 package availabe.&lt;/b&gt;

You shoud use:
rpm -qa --queryformat &quot;%{NAME}\n&quot; &gt; packages.log

The problem is that I&#039;ve just figure out this, just when I&#039;ve formatted and installed a newer version of Fedora. Is there a trick to use the list I have? because there is no pattern at all to use sed/awk, isn&#039;t it?</description>
		<content:encoded><![CDATA[<p>But&#8230;.<br />
rpm -qa<br />
Returns the long name, with version number, distro and arch,<br />
for ex. gnome-utils-libs-2.28.3-1.fc11.i586<br />
And if you try to install this list on a newer version distro you get<br />
<b>No gnome-utils-libs-2.28.3-1.fc11.i586 package availabe.</b></p>
<p>You shoud use:<br />
rpm -qa &#8211;queryformat &#8220;%{NAME}\n&#8221; &gt; packages.log</p>
<p>The problem is that I&#8217;ve just figure out this, just when I&#8217;ve formatted and installed a newer version of Fedora. Is there a trick to use the list I have? because there is no pattern at all to use sed/awk, isn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AShok1288</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-152715</link>
		<dc:creator>AShok1288</dc:creator>
		<pubDate>Tue, 05 Jan 2010 02:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-152715</guid>
		<description>i can&#039;t automate the installation process in fedora since it is asking 
&quot;Total Download size:xxMB 
Is this ok [y/n]?&quot;
every time for all packages i have to give &#039;y&#039; to download the package ............

is there any other way to automate the process?

please helpme........................</description>
		<content:encoded><![CDATA[<p>i can&#8217;t automate the installation process in fedora since it is asking<br />
&#8220;Total Download size:xxMB<br />
Is this ok [y/n]?&#8221;<br />
every time for all packages i have to give &#8216;y&#8217; to download the package &#8230;&#8230;&#8230;&#8230;</p>
<p>is there any other way to automate the process?</p>
<p>please helpme&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnhere</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-148044</link>
		<dc:creator>johnhere</dc:creator>
		<pubDate>Tue, 07 Apr 2009 22:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-148044</guid>
		<description>Nice to see Debian and RPM based distro&#039;s working so peacefully together in this
gr8 tutorial. I gonna give it a try to put this as an aftercare script in a kickstart file.
I want to call it a &#039;clone kickstart&#039;.  ;-)

ks.cfg extracted/edited from a fedora distro /root/anaconda-ks.cfg

for rpm:

%post
for i in $(cat /some_network/kickstart_server/installed-software.log) ; do 
packages+=&quot;$i &quot; ; done
yum install -y $packages
%end

Just an idea so correct me if i am wrong. That saves time.  ;-)</description>
		<content:encoded><![CDATA[<p>Nice to see Debian and RPM based distro&#8217;s working so peacefully together in this<br />
gr8 tutorial. I gonna give it a try to put this as an aftercare script in a kickstart file.<br />
I want to call it a &#8216;clone kickstart&#8217;.  ;-)</p>
<p>ks.cfg extracted/edited from a fedora distro /root/anaconda-ks.cfg</p>
<p>for rpm:</p>
<p>%post<br />
for i in $(cat /some_network/kickstart_server/installed-software.log) ; do<br />
packages+=&#8221;$i &#8221; ; done<br />
yum install -y $packages<br />
%end</p>
<p>Just an idea so correct me if i am wrong. That saves time.  ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JK Wood</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-145496</link>
		<dc:creator>JK Wood</dc:creator>
		<pubDate>Wed, 05 Nov 2008 18:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-145496</guid>
		<description>For Slackware-based distros:

&lt;code&gt;ls /var/log/packages&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>For Slackware-based distros:</p>
<p><code>ls /var/log/packages</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diabolic Preacher</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143906</link>
		<dc:creator>Diabolic Preacher</dc:creator>
		<pubDate>Wed, 28 May 2008 06:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143906</guid>
		<description>for debian/ubuntu method. will it reinstall all the 1313 packages that i noted as being saved to the backup log or will it skip the packages that need not be updated?</description>
		<content:encoded><![CDATA[<p>for debian/ubuntu method. will it reinstall all the 1313 packages that i noted as being saved to the backup log or will it skip the packages that need not be updated?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narendra Sisodiya</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143782</link>
		<dc:creator>Narendra Sisodiya</dc:creator>
		<pubDate>Wed, 14 May 2008 12:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143782</guid>
		<description>suppose i have 3 software A B and C
now i have taken backup..in log file..
now,, I have installed D and E , and removed B
-- If Now i will restore then i will be having A B C D E , but is now a full restore,,,
ideally,, you need to create a new backuplist of software which has A C D and E
and then find the diff so that you can get D and E are extra software to remove first and B is need to installed. also,, you need to check that software are available or not, but nice article ,,, can be integrated in Yumex</description>
		<content:encoded><![CDATA[<p>suppose i have 3 software A B and C<br />
now i have taken backup..in log file..<br />
now,, I have installed D and E , and removed B<br />
&#8211; If Now i will restore then i will be having A B C D E , but is now a full restore,,,<br />
ideally,, you need to create a new backuplist of software which has A C D and E<br />
and then find the diff so that you can get D and E are extra software to remove first and B is need to installed. also,, you need to check that software are available or not, but nice article ,,, can be integrated in Yumex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ZaK</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143428</link>
		<dc:creator>ZaK</dc:creator>
		<pubDate>Thu, 10 Apr 2008 22:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143428</guid>
		<description>Im new to linex i was viewing utorrent in VNC i closed it by mistake how do i run it again so i can view the current activities</description>
		<content:encoded><![CDATA[<p>Im new to linex i was viewing utorrent in VNC i closed it by mistake how do i run it again so i can view the current activities</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143119</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Tue, 11 Mar 2008 10:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143119</guid>
		<description>Just what I needed :-)
Linux is great!!!</description>
		<content:encoded><![CDATA[<p>Just what I needed :-)<br />
Linux is great!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peace</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143102</link>
		<dc:creator>peace</dc:creator>
		<pubDate>Sun, 09 Mar 2008 11:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-143102</guid>
		<description>nice tut man I LOVE LINUX  too much</description>
		<content:encoded><![CDATA[<p>nice tut man I LOVE LINUX  too much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caio</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-141449</link>
		<dc:creator>Caio</dc:creator>
		<pubDate>Sat, 20 Oct 2007 18:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-141449</guid>
		<description>That&#039;s why I LOVE LINUX!</description>
		<content:encoded><![CDATA[<p>That&#8217;s why I LOVE LINUX!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cambo81</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-140278</link>
		<dc:creator>cambo81</dc:creator>
		<pubDate>Sun, 24 Jun 2007 00:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-140278</guid>
		<description>hi im new to this comp. stuff but i just got 1 question. i installed a game as imess around my laptop i uninstalled the game that i just installed. how can i recover that lost game cause i do not have the disc anymore please help me.</description>
		<content:encoded><![CDATA[<p>hi im new to this comp. stuff but i just got 1 question. i installed a game as imess around my laptop i uninstalled the game that i just installed. how can i recover that lost game cause i do not have the disc anymore please help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Motin</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-82260</link>
		<dc:creator>Motin</dc:creator>
		<pubDate>Mon, 05 Mar 2007 02:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-82260</guid>
		<description>There is a huge disadvantage using package lists - it lists a lot packages that one have not chosen to install but are installed because they are dependencies. This makes it veeery tedious to restore if the list is somewhat old or using another distro since dependencies change a lot. 

For debian-based system: Install “debfoster” and run it. After answering a lot of questions about your packages you will have a system without unnecessary packages and a short list of only the packages that you have actively chosen to install.</description>
		<content:encoded><![CDATA[<p>There is a huge disadvantage using package lists &#8211; it lists a lot packages that one have not chosen to install but are installed because they are dependencies. This makes it veeery tedious to restore if the list is somewhat old or using another distro since dependencies change a lot. </p>
<p>For debian-based system: Install “debfoster” and run it. After answering a lot of questions about your packages you will have a system without unnecessary packages and a short list of only the packages that you have actively chosen to install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chewie</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5542</link>
		<dc:creator>chewie</dc:creator>
		<pubDate>Fri, 25 Aug 2006 18:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5542</guid>
		<description>For Debian systems, you can also grab the debconf database and use it to preseed the installation questions that occur, including how to partition your hard drive.  This allows you to completely automate the installation process.  Check out the debian-installer Install manual at http://d-i.alioth.debian.org/manual/en.i386/apb.html.</description>
		<content:encoded><![CDATA[<p>For Debian systems, you can also grab the debconf database and use it to preseed the installation questions that occur, including how to partition your hard drive.  This allows you to completely automate the installation process.  Check out the debian-installer Install manual at <a href="http://d-i.alioth.debian.org/manual/en.i386/apb.html" rel="nofollow">http://d-i.alioth.debian.org/manual/en.i386/apb.html</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5514</link>
		<dc:creator>Grant</dc:creator>
		<pubDate>Fri, 25 Aug 2006 07:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5514</guid>
		<description>When you install with CentOS it puts the list of installed rpms in /root/install.log. If root&#039;s home dir is backed up you&#039;re in business. Although I doubt if it&#039;s update after the install.

Couldn&#039;t you just create a kickstart disk after install/config and pop it in to reinstall then do a yum update? That would get you closer than just reainstalling packages. Of course all of this is fun to talk about but realistically you&#039;d have backups and you&#039;d just restore... I backup MBRs and files. Throw a live cd in the machine to be restored and from the backup server - dd if=/backup/MBR.bin &#124; ssh  &quot;cat &#124; dd of=/dev/hda&quot;

It&#039;s late and this is from memory but I think that&#039;ll work to restore the MBR across the network. Then format and restore from backup.</description>
		<content:encoded><![CDATA[<p>When you install with CentOS it puts the list of installed rpms in /root/install.log. If root&#8217;s home dir is backed up you&#8217;re in business. Although I doubt if it&#8217;s update after the install.</p>
<p>Couldn&#8217;t you just create a kickstart disk after install/config and pop it in to reinstall then do a yum update? That would get you closer than just reainstalling packages. Of course all of this is fun to talk about but realistically you&#8217;d have backups and you&#8217;d just restore&#8230; I backup MBRs and files. Throw a live cd in the machine to be restored and from the backup server &#8211; dd if=/backup/MBR.bin | ssh  &#8220;cat | dd of=/dev/hda&#8221;</p>
<p>It&#8217;s late and this is from memory but I think that&#8217;ll work to restore the MBR across the network. Then format and restore from backup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nixcraft</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5510</link>
		<dc:creator>nixcraft</dc:creator>
		<pubDate>Fri, 25 Aug 2006 04:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5510</guid>
		<description>apt-get command does not support this kind of facility. You need to use dpkg command only.</description>
		<content:encoded><![CDATA[<p>apt-get command does not support this kind of facility. You need to use dpkg command only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zerohalo</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5495</link>
		<dc:creator>zerohalo</dc:creator>
		<pubDate>Fri, 25 Aug 2006 02:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5495</guid>
		<description>How would you do this on Ubuntu using apt-get instead of dpkg?</description>
		<content:encoded><![CDATA[<p>How would you do this on Ubuntu using apt-get instead of dpkg?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Hall</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5484</link>
		<dc:creator>Matthew Hall</dc:creator>
		<pubDate>Thu, 24 Aug 2006 22:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5484</guid>
		<description>Even easier - Fedora users should get their installed packages list automagically updated every day to &#039;/var/log/rpmpkgs&#039; - so, assuming you&#039;ve taken a backup and restored the file the following should suffice:

yum -y install $(cat /var/log/rpmpkgs)</description>
		<content:encoded><![CDATA[<p>Even easier &#8211; Fedora users should get their installed packages list automagically updated every day to &#8216;/var/log/rpmpkgs&#8217; &#8211; so, assuming you&#8217;ve taken a backup and restored the file the following should suffice:</p>
<p>yum -y install $(cat /var/log/rpmpkgs)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nixcraft</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5482</link>
		<dc:creator>nixcraft</dc:creator>
		<pubDate>Thu, 24 Aug 2006 19:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5482</guid>
		<description>Short answer YES

Long answer - Both dselect and aptitude act as a Debian package management frontend.</description>
		<content:encoded><![CDATA[<p>Short answer YES</p>
<p>Long answer &#8211; Both dselect and aptitude act as a Debian package management frontend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TQ</title>
		<link>http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5481</link>
		<dc:creator>TQ</dc:creator>
		<pubDate>Thu, 24 Aug 2006 19:16:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html#comment-5481</guid>
		<description>Instead of dselect, can aptitude be used instead? What are the parameters involved?

Thanks.</description>
		<content:encoded><![CDATA[<p>Instead of dselect, can aptitude be used instead? What are the parameters involved?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.209 seconds -->
<!-- Cached page served by WP-Cache -->
