A question about /usr

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
goldstar1
Level 2
Level 2
Posts: 69
Joined: Mon Aug 20, 2007 11:32 pm
Location: On the coast of Southern California USA

A question about /usr

Post by goldstar1 »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Fred

Re: A question about /usr

Post by Fred »

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.
User avatar
tucker4christ
Level 1
Level 1
Posts: 12
Joined: Mon Sep 03, 2007 4:09 pm

Thanks

Post by tucker4christ »

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.
Fred

Re: A question about /usr

Post by Fred »

tucker4christ,

My pleasure sir.

Fred
goldstar1
Level 2
Level 2
Posts: 69
Joined: Mon Aug 20, 2007 11:32 pm
Location: On the coast of Southern California USA

Re: A question about /usr

Post by goldstar1 »

yea! Thanks!
Locked

Return to “Beginner Questions”