Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-09-2004, 01:07 PM   #1
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Rep: Reputation: 30
question about installing software???

when i need to update a software package using rpm,apt-get or whatever, to a newer version, do i need to close the currently running problem,say gaim,when i am chatting with me friends...
or can i continue my chatting while updating...... i am curious to know why linux can do so or why linux can do not so...... ???
Old 08-09-2004, 01:39 PM   #2
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
That's not an easy question to answer, but if I were forced to give a short answer, it would probably be: no, you can't upgrade while running.

Here's why: do a thought experiment. Think about having a sheet of paper in front of you, and you begin writing. Then you deicde you would rather write on a different style of paper. Is it possible for you to replace that sheet of paper and never stop writing? I would doubt it. There would be a pause, no matter how short, where you have to stop writing to put the new paper in place. It's a similar situation for computers.

When you run a program, some (possibly all) of the program is copied into memory; the computer's sheet of paper so to speak. If only part of the program were loaded into memory, you run the risk of crashing the program (horribly I might add) by changing the program on the disk. At some point, the computer will need to read some more information from the program file, but it would no longer be coherent. That would be like reading War and Peace, stopping in the middle of a page, picking up Crime and Punishment, start reading at some random page, and expecting the transition to make sense/be coherent.

If all of the program is copied into memory, then you can upgrade the file on disk without crashing the program, but you still have a problem. The program you're running is the older copy. You won't get any new features or updates until you close the program and restart. Similarly, this would be like expecting an old copy of War and Peace to update itself when a new edition is printed with a new foreword, biographical information, or whatever.

This isn't a problem with Linux alone. All operating systems "suffer" from this.

Last edited by Dark_Helmet; 08-09-2004 at 01:42 PM.


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
installing software question oasisbhrnw99 Linux - Newbie 5 10-20-2004 03:33 AM
REALLY silly question -- installing software Lechium Linux - Newbie 3 06-10-2004 08:27 AM
A question regarding installing software duerra Linux - Newbie 3 01-21-2004 04:01 PM
Question about installing new version of software ICO Slackware 2 01-18-2004 08:50 AM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 11:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 AM.

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