A question about /usr

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

A question about /usr

Postby goldstar1 on Mon Feb 18, 2008 5:29 pm

I read in a Linux Administrators Guide that if I made a separate partition for /usr, that I could upgrade my system from whatever to the latest greatest Mint, or even a different distro all together without having to reinstall all the programs. Is that true?

I get pretty irresponsible when it comes to upgrading from one version to the next, ie: Celena to Daryna. I usually trash the whole thing then spend hours loading programs afterwards, but I see that sometimes some programs work in Celena but not in Daryna.
goldstar1
Level 2
Level 2
 
Posts: 70
Joined: Mon Aug 20, 2007 11:32 pm
Location: On the coast of Southern California USA

Linux Mint is funded by ads and donations.
 

Re: A question about /usr

Postby Fred on Mon Feb 18, 2008 9:15 pm

goldstar1,

The answer to your question is yes..... and no. Yes you can do that but it isn't nearly as straight forward as you may have been lead to believe. There are a number of "gotchas" that will have to be dealt with. If you aren't very familiar with Linux the practical answer to your question is no.

I have a better solution to your problem. Make a text file of all the programs you usually add to your new installs and just paste them into a terminal and do them all at one time. Unless you have a very slow connection, ie dial-up, it shouldn't take that much of your time.

Below is a sample of what I mean. I just copy this from a text file I keep for update notes into a terminal and hit enter, put in my password, hit enter again, and watch them all download and install while I have a piece of home-made pecan pie and a cup of coffee. :-)

sudo apt-get -y install armagetron kmahjongg pingus neverball wesnoth bzflag flightgear xpilot-ng tremulous planetpenguin-racer lbreakout2 oolite torcs scorched3d wormux nexuiz openarena vegastrike supertux freeciv chromium airstrike lincity-ng supertuxkart xmoto uqm koffice opera checkgmail scribus-ng scribus-ng-doc kde-extras kdeaddons kubuntu-restricted-extras kcontrol kcontrol-autostart firefox k9copy ubuntu-restricted-extras synaptic gimp gimp-data-extras gimp-help-common gimp-help-en xmms-kde mplayer mozilla-mplayer inkscape kmymoney2 ofx xchat picasa libnet-google-perl libnotify-bin miro w32codecs libdvdcss2 libdvdcss mplayer-doc ladspa-sdk googleearth

As you can see, I would grow old...er trying to install all these one at a time. :-)

Enjoy Life,

Fred

EDIT: Don't try to use the list I have above. It is for Kubuntu, not Mint. There are some things in there that will bork your Mint install.
Last edited by Fred on Tue Feb 19, 2008 12:57 am, edited 1 time in total.
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Thanks

Postby tucker4christ on Mon Feb 18, 2008 10:27 pm

I know I did not post the question but I want to thank you fred

I have tried the /usr setup and your right it only leads to problems.

Then I spend hours upon hours setting up my computer every time a new version of mint comes out. :(

That is such a simple solution that I am almost ashamed that I did not think of it myself.

Thank you, you have just saved me hours of siting in front of the terminal.
User avatar
tucker4christ
Level 1
Level 1
 
Posts: 12
Joined: Mon Sep 03, 2007 4:09 pm

Re: A question about /usr

Postby Fred on Mon Feb 18, 2008 11:56 pm

tucker4christ,

My pleasure sir.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: A question about /usr

Postby goldstar1 on Tue Feb 19, 2008 1:45 pm

yea! Thanks!
goldstar1
Level 2
Level 2
 
Posts: 70
Joined: Mon Aug 20, 2007 11:32 pm
Location: On the coast of Southern California USA


Return to Newbie Questions

Who is online

Users browsing this forum: karlchen, Pilosopong Tasyo and 27 guests