LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-31-2012, 02:51 PM   #1
linux10.4
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!

**EDIT:**
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
Peverel
Member
 
Registered: May 2009
Location: Chelmsford, England
Distribution: OpenSuse 11.3, 11.4 and 12.2
Posts: 97

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
linux10.4
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
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,551

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

http://www.howtogeek.com/howto/linux...ntu-or-debian/

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.

http://superuser.com/questions/52428...-specific-data
 
1 members found this post helpful.
Old 10-31-2012, 05:52 PM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,053

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

To get a list of your currently installed file into a text file:
Code:
dpkg --get-selections > selections.txt
To make your new system aware of those packages:
Code:
dpkg --set-selections < selections.txt
Then run
Code:
apt-get dselect-upgrade
jlinkels
 
1 members found this post helpful.
Old 10-31-2012, 06:53 PM   #6
linux10.4
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
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,888

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

home/username/.config/google-chrome/Default/Bookmarks

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

Code:
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
linux10.4
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!
 
  


Reply

Tags
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 08:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration