LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-31-2012, 02:51 PM   #1
LQ Newbie
Registered: Jun 2011
Posts: 7

Rep: Reputation: Disabled
Linux re-install, any way to re-install packages after?

I'm planning to re-install my Ubuntu OS ... if it's relevant, I'm running Ubuntu 12.04 on a Dell Inspiron E1505 laptop, 2 GB RAM, 40 GB internal hard drive. I'm going to erase the partition Linux is on and re-install it on my external hard drive (I'm running out of room).

I know how to re-install Linux itself, but is there any way to make a list (or better yet, a GRUB code file) of all my installed packages, so that I can easily re-install them afterwards? I was going to simply look at Synaptic and write down which ones are installed, then go through and manually install them all after Linux installs, but that's going to take a while. Please note, I am not a Linux newbie but I am a bit of a GRUB newbie! Any help appreciated!

Anyone know also where the file is that contains my bookmarks for Chrome browser? I'd like to grab and save that too.

Last edited by linux10.4; 10-31-2012 at 02:52 PM. Reason: Thought of something else.
Old 10-31-2012, 03:40 PM   #2
Registered: May 2009
Location: Chelmsford, England
Distribution: OpenSuse 12.2 and 13.2
Posts: 102

Rep: Reputation: 21
I don't use Ubuntu or Chrome, so this is a guess. The bookmarks file is presumably in your home directory, that is, /home/yourusername. Firefox keeps its user data, including bookmarks in a directory called .mozilla, so maybe .chrome? You'll have to look at your home directory. Actually, I have a couple of distributions of opensuse withe the same /home and the same user name: the bookmarks are available to both without any alteration
1 members found this post helpful.
Old 10-31-2012, 04:00 PM   #3
LQ Newbie
Registered: Jun 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks, but not there.

I found .mozilla, but neither .chrome nor .google (or anything similar) exist. I appreciate the response though!
Old 10-31-2012, 05:12 PM   #4
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,512

Rep: Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092
You might check the link below for info on finding currently installed packages:

If that doesn't help, googling something like "ubuntu list of installed packages" should get you a number of sites. I'm not sure how Grub enters into this as that would have no relevance to package installed as it is just the bootloader?

Check the site below which explains where Chrome bookmarks are stored. I don't use Chrome so I can't verify.
1 members found this post helpful.
Old 10-31-2012, 05:52 PM   #5
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,489

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
It is dead simple.

To get a list of your currently installed file into a text file:
dpkg --get-selections > selections.txt
To make your new system aware of those packages:
dpkg --set-selections < selections.txt
Then run
apt-get dselect-upgrade
1 members found this post helpful.
Old 10-31-2012, 06:53 PM   #6
LQ Newbie
Registered: Jun 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks, exactly the answers I was hoping for.
Old 11-01-2012, 04:37 AM   #7
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,040

Rep: Reputation: 859Reputation: 859Reputation: 859Reputation: 859Reputation: 859Reputation: 859Reputation: 859
For me, in a somewhat different situation, chromium seems to store its bookmarks in:


(which, of course, you can find with a simple

locate home | grep -i chrome | grep -i bookmarks
assuming that locate is installed). This is probably not quite the location that anyone would expect, so it does take a bit of poking around to spot.
Old 11-01-2012, 12:48 PM   #8
LQ Newbie
Registered: Jun 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
In case anyone else needs to re-install, on Ubuntu 12.04 with Google Chrome (not Chromium browser, Chrome for Linux) I found the bookmarks in /home/[username]/.config/google-chrome/Default. In this folder there is a text document named "Bookmarks" which I assume is the file that I was looking for. Thanks all!


os, packages, reinstall

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How install packages in Macbook pro.. like apt-get install <pkg>. Dinesh184 Linux - Newbie 2 08-19-2012 05:51 AM
Uncertain how to configure/install packages & compiler before install VMware on FC8. Azazwa Linux - Newbie 1 03-28-2009 07:27 PM
Can't install packages on Debian Sarge base install Mark_667 Debian 5 01-29-2007 02:40 PM
How to install the rest of the Linux packages from USB drive after install? ArchW Linux - General 2 03-08-2006 07:50 AM
How to install teh rest of the Linux packages from USB drive after install? ArchW Linux - Newbie 4 03-07-2006 08:43 AM

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration