LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2015, 05:50 AM   #1
mogmog
Member
 
Registered: Jun 2012
Location: UK
Posts: 89

Rep: Reputation: Disabled
Mint: list installed software?


Hi, I looked at this a bit a while ago - I have a SSD waiting to be installed...

On Windows there are various programs that can export a list of software that is installed. On Linux this seems to be a lot harder. When I tried before, I ended up with an enormous list of all the packages, 99% of which meant nothing to me - really I just need the "headline" or program name so I can easily add what I had before.

Really it's a dump of the Applications List but I haven't found anything to do this. I've seen people resorting to taking multiple screen grabs of the App List: there must be a better way!
Again, any help gratefully received.
TIA
 
Old 06-17-2015, 08:09 AM   #2
mogmog
Member
 
Registered: Jun 2012
Location: UK
Posts: 89

Original Poster
Rep: Reputation: Disabled
Enlightenment?

Looking into this, I wonder if I have missed a trick here & actually this process is easier in Linux than Windows? The Backup tool saves a package list which seems to me that this can be restored in some way? And therefore reinstalling all the packages automatically, saving one the hassle of finding them manually?
 
Old 06-17-2015, 08:15 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
dpkg -l | grep ^ii | awk '{print $2}' > installed
 
1 members found this post helpful.
Old 06-17-2015, 09:12 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
On the occasion(s) I tried it, the Mint backup tool promised more than it delivered.
But as usual the question is easier than the answer. A more detailed explaination of Habituals answer here.
 
Old 06-17-2015, 01:16 PM   #5
mogmog
Member
 
Registered: Jun 2012
Location: UK
Posts: 89

Original Poster
Rep: Reputation: Disabled
Hmmm

Habitual, thanks. I ran that. Not at all sure what has happened if anything.

syg00 Thanks for the link. I've been through that & now onto awk language & can't make sense of the '{print $2}'- the refs I'm looking at are not clear to me (not a coder). Not quite all Greek, but an uphill task & one I am not able to take on at present.

Re Backup tool, I opened the list file in Bluefish and that gives me all installed packages so I'll wade through that & highlight the programs I added.

I might be able to do better than that, but for what effort as I don't speak the lingo?

Thanks

Last edited by mogmog; 06-17-2015 at 01:19 PM.
 
Old 06-17-2015, 01:21 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by mogmog View Post
can't make sense of the '{print $2}'
'{print $2}' prints the second column or field only of
Code:
dpkg -l | grep ^ii
output, eg, the package name.
 
1 members found this post helpful.
Old 06-17-2015, 02:00 PM   #7
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by mogmog View Post
I ran that. Not at all sure what has happened if anything.
You now have a text file called "installed" in whichever was your working directory when you ran Habitual's command.

You can copy this file to your new system and use this to install them all to the new box:
Code:
# apt-get install $(cat installed)
 
1 members found this post helpful.
Old 06-18-2015, 02:06 AM   #8
mogmog
Member
 
Registered: Jun 2012
Location: UK
Posts: 89

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
'{print $2}' prints the second column or field only of
Code:
dpkg -l | grep ^ii
output, eg, the package name.
Thanks, that helps a lot. I'm still not used to files not having extensions.
Apologies if I was a bit short yesterday, I'd had a gutfull of misc hassle.

Headonastick. That is great much easier than I had hoped - now almost looking forward to disk swap process!
 
Old 06-26-2015, 01:45 PM   #9
mogmog
Member
 
Registered: Jun 2012
Location: UK
Posts: 89

Original Poster
Rep: Reputation: Disabled
Software list

Thanks for your input.
Migration done. List created then I edited it in Bluefish to remove a few entries then reimported into new installation.
Backup tool worked pretty well - got 90%+ of the software with maybe a dozen bits missing.
Only had the new SSD for about 5 months, waiting for the perceived task/upheaval of the whole process...
Thanks again.
 
  


Reply



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
[SOLVED] List installed software and each one's purpose porphyry5 Slackware 2 12-22-2013 03:30 PM
How to list all installed software on Solaris 10? SusanMJC Solaris / OpenSolaris 7 08-12-2011 08:23 PM
List of software installed in fedora 12 anika.ella Linux - Newbie 5 02-01-2010 10:01 AM
How can I get a list of software that was installed via rpm TruongAn Linux - Software 10 10-04-2005 11:53 AM
How do you list what software is installed? Tiyogi Linux - Software 5 04-22-2004 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:12 AM.

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
Open Source Consulting | Domain Registration