LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2012, 04:59 PM   #1
JulianD
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Rep: Reputation: Disabled
Linux in place updating


Hello all!

My first post !

I would like to understand one thing. I would like to update a linux version that I have without having to reinstall with the latest version of that distribution that I have. Even this has to be done with Linux from Scratch.
I have read that the Toolchain is the heart of linux after the kernel.
Can I update a system step by step myself however hard.

I have at present nst installed and want to do Linux from Scratch which I have started before but not finished.

I installed gcc once but it did not replace the one that was installed from the distro I had at the time. How can I update a system completely with having to use a new install disc?


Thanks,

JulianD

Last edited by JulianD; 11-21-2012 at 05:11 PM.
 
Old 11-21-2012, 05:26 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hello JulianD, welcome to LQ,

I doubt that I've understood your question. From what I've understood, you can upgrade any Linux-distribution with the tools the distribution provides, for example the packagemanager or how ever the tool is named for your distribution. You should read the documentation.

As for Linux from Scratch: the have a very good handbook. Upgrading Linux from Scratch is done manually.

Markus
 
Old 11-22-2012, 07:11 AM   #3
JulianD
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Hi Markus,

Thanks.

I think the example of installing GCC might help a little. I think I had a Suse distro at that time.
I also manually installed the new version. It installed fully.
But the system GCC was still the one installed by the distro.
What I am looking into is upgrading a linux installation manually without the distro.
Linux from Scratch is a good example. It needs to be done manually.
But upgrading lfs needs to be done carefully. The toolchain needs to be upgraded step by step.
Would this be the same for any distro. ie upgrade the toolchain.
ie dependancy problems.

thanks,

Julian
 
Old 11-22-2012, 07:29 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
It sounds like you want to upgrade a particular application without using the package manager. the first answer is that this is a very bad idea.

If you insist----you have to find out the various library files (AKA dependencies) that are required by the new application. Then you have to find the right version of each one and install it manually. Finally, you have to fix everything else that broke because the new files are not the right one for OTHER applications. It is not possible to estimate how long all this will take........

Now that I've scared you, it certainly IS possible to have 2 different versions of a library file installed. sometimes, you'll find MANY versions---with a symlink set up to the one to be actually used.
 
Old 11-22-2012, 07:30 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Originally Posted by JulianD View Post
...
What I am looking into is upgrading a linux installation manually without the distro.
Linux from Scratch is a good example. It needs to be done manually.
But upgrading lfs needs to be done carefully. The toolchain needs to be upgraded step by step.
Would this be the same for any distro. ie upgrade the toolchain.
ie dependancy problems...
Yes, that's what the maintainers of a distribution do. Once when gcc and glibc or the kernel have to be updated, the toolchain must be adapted at first. An important word to google for is "kernelheaders"

Markus
 
Old 11-22-2012, 07:47 AM   #6
JulianD
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Hello,

Thanks for your comments. I am interested in running my own linux but want to understand the core problems that I have experienced myself before.
I also wanted in the last few days install a distro that has a light desktop but where things work especially networking and NST was the one I installed. It then installed 500MB of updates.
I item that is in my head is that I have a LFS Live CD but it is out of date. Can I update this without restarting the whole thing again.

Anyway I will leave it at this and say thanks.
I think I will be around with a few questions with the problems I encounter.

Thanks,

Julian
 
Old 11-22-2012, 08:45 AM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Originally Posted by JulianD View Post
...
I item that is in my head is that I have a LFS Live CD but it is out of date. Can I update this without restarting the whole thing again.
...
We have a forum for LFS here at LQ, maybe that's the place to ask.

As of restarting the whole thing, I would write some scripts which handle those tasks which are often repeated.

Markus
 
  


Reply


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
It's THE BEST place to start with Linux! Ponchitto LinuxQuestions.org Member Intro 1 04-05-2012 08:55 AM
[SOLVED] Mplayer place in KDE, lost icon, wrong place. firekage Slackware 4 01-24-2012 03:23 PM
Is there a place where I can find all Linux? jeowu Linux - Software 8 06-29-2010 11:19 AM
LXer: A Year of Linux: January 22: Crashing at Linux’s Place! LXer Syndicated Linux News 0 01-23-2009 12:00 PM
Where is the best place to get Linux games Voodudejnr General 3 12-16-2004 05:00 PM


All times are GMT -5. The time now is 03:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration