LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-13-2016, 08:39 AM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
Always reboot after every install?


Hi
On Windows or OSX I always reboot after every application install. Is this necessary or recommended in Linux as well?
 
Old 12-13-2016, 08:58 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,983

Rep: Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182
I normally only bother if the kernel has been altered and have noticed some video card upgrades can mess with some applications. Other than that all applications work fine but some may not use the newer version until you upgrade or restart a service.
 
1 members found this post helpful.
Old 12-13-2016, 09:00 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,413

Rep: Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540
Quote:
Originally Posted by grail View Post
I normally only bother if the kernel has been altered and have noticed some video card upgrades can mess with some applications. Other than that all applications work fine but some may not use the newer version until you upgrade or restart a service.
+1 - Generally only after kernel or major library updates or if it's a security/vulnerability update.
 
1 members found this post helpful.
Old 12-13-2016, 09:53 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
NOPE! that is what is better then Windows, where it takes a day or a week (exaggeration to an extent) to finally get done with an upgrade that you did not even authorize. Then you still have to reboot Windows and wait again for an extended period of time for it to finalize before Windows finally lets you back in so you can do whatever you please.

When Linux apps are updated, if you are running one that has been updated. all You have to do it shut it down and restart it so its upgrades will take effect. Not having to bring down your entire system in the process. Just restart services, or close your web browser and restart it. the upgrades are now in effect.

and they are only done when you tell it to, not when the manufacturer hard codes it into the system to do.

Last edited by BW-userx; 12-13-2016 at 09:54 AM.
 
1 members found this post helpful.
Old 12-13-2016, 10:02 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
No it is not necessary to reboot after each application installed.
 
Old 12-13-2016, 11:09 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,049
Blog Entries: 17

Rep: Reputation: 4222Reputation: 4222Reputation: 4222Reputation: 4222Reputation: 4222Reputation: 4222Reputation: 4222Reputation: 4222Reputation: 4222Reputation: 4222Reputation: 4222
This is where Linux filesystems are so much more efficient. In Windows, you have to reboot after updates because software files (especially libraries) can't be replaced while something is using them.

In Linux, programs that are using a library have a private link to it. When a file is deleted in order to be replaced by a new version, the name is deleted but the content of the file is not unless no one is actually using it. As long as it is in use, that file continues to exist for the benefit of anything that is already linked to it. However newly started programs use the filename to find the file, so they link to the new version. Both versions exist side by side until you shut down.
 
2 members found this post helpful.
Old 12-13-2016, 12:34 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,679

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by BW-userx View Post
NOPE! that is what is better then Windows, where it takes a day or a week (exaggeration to an extent) to finally get done with an upgrade that you did not even authorize. Then you still have to reboot Windows and wait again for an extended period of time for it to finalize before Windows finally lets you back in so you can do whatever you please.

When Linux apps are updated, if you are running one that has been updated. all You have to do it shut it down and restart it so its upgrades will take effect. Not having to bring down your entire system in the process. Just restart services, or close your web browser and restart it. the upgrades are now in effect.

and they are only done when you tell it to, not when the manufacturer hard codes it into the system to do.
Agreed.
Any currently running process, or currently running library, which is updated should, then, be restarted in order that the changes take effect (so if you don't ned the changes yet, don't bother). To me this usually means restarting applications when I see an update and restarting completely, eventually, when it's conmvenient, when I see a library update and always restarting for kernel or driver updates just so that I can spot problems early.
 
Old 12-13-2016, 03:09 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,772

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
If you want to be sure the system will work when you leave. ALWAYS check it before you go. That is my advice. If you work in tech and you walk away from an issue or drive miles away it would look pretty bad if you had to go back and make sure it is fixed under any normal condition. Power down is a normal condition.

I don't care what OS you have. If you want to be sure, test it.

If it doesn't matter then don't.

Last edited by jefro; 12-13-2016 at 03:10 PM.
 
2 members found this post helpful.
Old 12-13-2016, 03:13 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by jefro View Post
If you want to be sure the system will work when you leave. ALWAYS check it before you go. That is my advice. If you work in tech and you walk away from an issue or drive miles away it would look pretty bad if you had to go back and make sure it is fixed under any normal condition. Power down is a normal condition.

I don't care what OS you have. If you want to be sure, test it.

If it doesn't matter then don't.
wouldn't that go for mostly or just a kernel update in Linux, as with most is not all other software can be restarted without shutting down and restarting the entire system (to be sure it still works)?

and I vaguely remember reading somewhere where someone knew how to reload the kernel without even having to reboot the Linux system.
 
Old 12-13-2016, 04:48 PM   #10
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Quote:
If you want to be sure the system will work when you leave. ALWAYS check it before you go. That is my advice. If you work in tech and you walk away from an issue or drive miles away it would look pretty bad if you had to go back and make sure it is fixed under any normal condition. Power down is a normal condition.
+1 (or more)

It's particularly annoying to find out the system you worked on but didn't test fails to reboot, and you're on a plane half way between New York and L.A. heading home. And a very expensive oversight if you have to turn around and fly back to fix it
 
Old 12-13-2016, 09:07 PM   #11
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,991
Blog Entries: 28

Rep: Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071
The reason you have to reboot after updates and some installs in Windows is because of that ginormous kludge, the Windows registry. Some programs must needs be write information to the registry that can be written only during shutdown or boot-up while the registry is not in use. AV programs generally fall into that category.

I generally reboot my Linux machines after a kernel update. Rarely, I might reboot one to clear out the dustbunnies if it's been up for several weeks and appears to be lagging a bit.

I've used MacOS but only on someone else's computer as a volunteer for an organization, so I don't have any experience installing software on Macs.

Last edited by frankbell; 12-13-2016 at 09:15 PM.
 
Old 12-13-2016, 09:15 PM   #12
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
The windows registry is no more a kludge than /etc in linux. The problem is the registry is proprietary and there is little documentation (although little useful documentation is a built-in linux feature). Testing a system after making changes is not a windows or linux or DEC or IBM or Sun oir Mac thing, it's just one of the things you do if you are in the business of servicing computer systems.
 
Old 12-13-2016, 09:21 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,991
Blog Entries: 28

Rep: Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071Reputation: 6071
Quote:
The windows registry is no more a kludge than /etc in linux.
I call the registry a kludge because it's monolithic, well nigh impenetrable, and almost impossible for average user to fix or maintain. In contrast, if one mucks up a text file in /etc, one can rather easily fix it. I know that because I've mucked up my share of text files in /etc. /etc may be untidy, but I would not equate "untidy" with "kludge."

Just my two cents.
 
Old 12-14-2016, 06:31 AM   #14
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,359
Blog Entries: 4

Rep: Reputation: 3822Reputation: 3822Reputation: 3822Reputation: 3822Reputation: 3822Reputation: 3822Reputation: 3822Reputation: 3822Reputation: 3822Reputation: 3822Reputation: 3822
Be that as it may (and declining a nice morning's round of Windows-bashing ...), I agree with Jefro. Power-down the thing and make damn sure that it comes up and that everything is working again. Because, even though power supplies are fairly reliable, it's still possible for your system to go down when you l...
 
Old 12-14-2016, 12:42 PM   #15
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I tend to avoid reboots in linux. If the kernel updates, sure, but be sure to rebuild any driver oddities before you do. Like non-distro supplied wifi drivers, or proprietary video drivers. For some things a reboot is the easier answer. Like when there's updates to X, desktop, or window manager environment. Most applications are not those, although sometimes updates to udev or dbus are best handled with a reboot. Like using jackdbus and you unplugged your usb soundcard for a second. Or the powered hub it was plugged into lost power (cat problems). Plus other oddities with systemd that are easier to solve with a reboot. Where you could otherwise avoid that practice with other init systems.
 
  


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
[SOLVED] Will not reboot after install (Arch) smturner1 Linux - Newbie 6 10-11-2010 09:09 PM
freezes after reboot during install BrianK Ubuntu 2 04-15-2006 07:19 PM
XP/PCLOS install- Reboot XP fails wrc1944 Linux - General 1 07-21-2004 12:54 AM
After new install of RedHat only L after reboot monta2 Linux - Newbie 3 08-26-2003 10:45 PM
how to reboot after install? benutne Linux - Newbie 8 02-25-2003 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 PM.

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
Open Source Consulting | Domain Registration