|
kaptain_zero
|
 |
« on: May 23, 2007, 02:20:32 AM » |
|
I know how to check using synaptic to see what programs are installed, but I was unable to find a way to actually print them out in a hardcopy. I've done quite a bit of tweaking to my TR3 and TR4 versions but I want to re-install now that Final has been released. I would like to have a paper copy of the programs I had installed before so I could get them re-installed without having to search all over to figure out what they were called..... I tried to copy and paste from synaptic but that didn't work, nor was there a print option in synaptic. Knowing linux, there must be a list somewhere in txt format that I could print out before re-installing my OS, I just can't seem to find it.....<sigh>.
Regards
Christian
|
|
|
|
|
Logged
|
Lucky number Seven?!?!?! No thanks, I'll take the sure bet with PClos.
Asus M4A78-EM Phenom II X4 940 Black Edition Quad Core Processor AM2+ OC'd to 3.3GHZ GeForce 8800 GT HP LaserJet 1200 HP OfficeJet 5610xi
Works great, tastes less filling!
|
|
|
jaydot
Administrator
Super Villain
   
Offline
Posts: 14824
there is no limitation on imagination
|
 |
« Reply #1 on: May 23, 2007, 02:25:11 AM » |
|
probably somewhere in /var. lemme have a look.
edit:
can't find anything useful, but there was a thread about this, along with a script to get the list and save to text file for printing.
hang around. one of the brighter members will be along soon.
|
|
|
|
|
Logged
|
PCLinuxOS Get it? Got it? Good!!  We don't have any millionare angels or corporate backers paying the bills here, PLEASE DONATE. http://pclinuxos.com/?page_id=7
|
|
|
|
indianseason
|
 |
« Reply #2 on: May 23, 2007, 04:27:25 AM » |
|
Are you comfortable using a command line? If so the method is very simple. Use the following command: rpm -qa > installed_list.txt The command definitely works when logged in as root. I am not so sure if it works for a normal user. You can use the "rpm" command to get a lot of information about installed programs, etc. I use it all the time to figure out if I have an app installed (you can pipe the output of rpm -qa through grep for example).
|
|
|
|
|
Logged
|
|
|
|
|
pongster
Guest
|
 |
« Reply #3 on: May 23, 2007, 05:00:09 AM » |
|
cool! ive been looking for a way to do this! thanks! 
|
|
|
|
|
Logged
|
|
|
|
|
PeterTheBike
Guest
|
 |
« Reply #4 on: May 23, 2007, 10:56:04 AM » |
|
Does File/Save Markings do what you want? You need to check Save full state.
Peter
|
|
|
|
|
Logged
|
|
|
|
|
Cobbydaler
|
 |
« Reply #5 on: May 23, 2007, 11:09:46 AM » |
|
Are you comfortable using a command line? If so the method is very simple. Use the following command: rpm -qa > installed_list.txt The command definitely works when logged in as root. I am not so sure if it works for a normal user. Works for an ordinary user as well... Couldn't you then do the same with a fresh install & use sdiff to list the differences between the two files, i.e. what you needed to reinstall?
|
|
|
|
|
Logged
|
We suffer love together as one, an empty heart with nowhere to turn. We find ourselves looking back another way, a brand new day...
|
|
|
jaydot
Administrator
Super Villain
   
Offline
Posts: 14824
there is no limitation on imagination
|
 |
« Reply #6 on: May 23, 2007, 11:22:58 AM » |
|
thanks very much cobbydaler. i find this useful too.
|
|
|
|
|
Logged
|
PCLinuxOS Get it? Got it? Good!!  We don't have any millionare angels or corporate backers paying the bills here, PLEASE DONATE. http://pclinuxos.com/?page_id=7
|
|
|
|
kaptain_zero
|
 |
« Reply #7 on: May 23, 2007, 12:49:44 PM » |
|
Thanks! That's exactly what I wanted. I should have known there would be a switch, I just never thought to go looking at the command line... I guess I've gone soft since the last few OS's have become so gui oriented. I love the power of the command line but I dislike the excessive number of switches available with each command in linux, sometimes it seems to take forever to ferret out the correct magical incantation one is looking for!
Regards
Christian
|
|
|
|
|
Logged
|
Lucky number Seven?!?!?! No thanks, I'll take the sure bet with PClos.
Asus M4A78-EM Phenom II X4 940 Black Edition Quad Core Processor AM2+ OC'd to 3.3GHZ GeForce 8800 GT HP LaserJet 1200 HP OfficeJet 5610xi
Works great, tastes less filling!
|
|
|
bluezdog
Jr. Member

Offline
Posts: 18
|
 |
« Reply #8 on: May 24, 2007, 02:25:12 PM » |
|
Nice just what I wanted my self, sure can use this text file.
Bluezdog
|
|
|
|
|
Logged
|
|
|
|
|
larry1160
|
 |
« Reply #9 on: May 27, 2007, 05:37:00 PM » |
|
a little more detail, try this
rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n
|
|
|
|
|
Logged
|
|
|
|
|
pongster
Guest
|
 |
« Reply #10 on: May 27, 2007, 07:52:28 PM » |
|
a little more detail, try this
rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n
cool, what does it give in details and how do we make it output to a txt file for backup? 
|
|
|
|
|
Logged
|
|
|
|
|
barryc
|
 |
« Reply #11 on: May 29, 2007, 02:11:20 PM » |
|
This will save it to your /home/yourname/ directory
rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n > installedstuff.txt
You can name it whatever you want. Make sure you leave a space before and after the >
|
|
|
|
|
Logged
|
 Register your computer here
|
|
|
|
ikerekes
Guest
|
 |
« Reply #12 on: May 29, 2007, 02:25:07 PM » |
|
a little known modifier of the rpm -qa command is the --last. Try rpm -qa --last
|
|
|
|
|
Logged
|
|
|
|
|
pongster
Guest
|
 |
« Reply #13 on: May 29, 2007, 08:35:35 PM » |
|
This will save ti to your /home/yourname/ directory
rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n > installedstuff.txt
You can name it whatever you want. Make sure you leave a space before and after the >
Excellent! 
|
|
|
|
|
Logged
|
|
|
|
|
jiml
|
 |
« Reply #14 on: June 15, 2007, 10:52:40 AM » |
|
As an ajunct to this if the output is changed to;
rpm -q -a --qf '%{NAME} ' | sort -k1,1n > installedstuff.txt
the output is now in a "packagename package-name packagename" format. Can this (somehow) be piped back into the "rpm" command to do a re-install of all the packages. This would be useful to re-install previously installed packages when a fresh build needs to be done (in my case to remove XP totally and have a PURE PClinuxOS PC.
Jim!
|
|
|
|
|
Logged
|
PCLinuxOS 2007 / HP Pavillion dv6157eu
|
|
|
|