The poster would be more convincing if you hadn’t inverted
apt-get update
andapt-get upgrade
…I mean, it’s definitely faster this way around
😭😭
It’s fine! You were trying to show how Windows is better because you can’t make a mistake like that and succeeded!
I’m joking
It accurately got them backwards, the same way I always do. :)
Wait I’m confused, did OP invert it or did you?
Op inverted.
apt update
updates the local package cache of apt so it knows what packages have updates.apt upgrade
then installs those updates.
Meanwhile in Fedora:
It is done that way for better reliability. It is optional and not even needed with Silverblue.
Wait what? I have been running silver blue and vanilla fedora recently and I don’t remember this happening. I always run my update script manually every day or so though. When do you see this screen?
It updates just like Windows automatically, in Discover. Then it asks to restart and upgrade and it’s just like Windows. I did this just today. Nice UI and UX with Fedora with Plasma.
At least you get the option to disable, I have it disabled, I’ll reboot when I say I will reboot.
Who even uses apt-get these days?
Ain’t nobody got time for two commands.
sudo apt upgrade --update
Are you serious? That’s a thing? I’ve been doing apt update and apt upgrade for years
It also has sudo apt autopurge which does autoremove --purge
Yes.
Also don’t forget && exists for sequential completion of any commands
&&
executes the second command, if the command before was successful,||
executes the second command if the first one was unsuccessful and;
executes the second command regardless of success.I didn’t know any of this, thank you both :)
These are much more useful than the :() :;: operator
Fun fact and disclaimer: this is a fork bomb. i tried it to run it on my phone via termux, thinking android would act up and terminate termux; but nope, my phone froze. Thankfully i hard-reset my phone by holding [VOLUME_DOWN]+[POWER] for ~5 seconds.
I’m absolutely serious.
You can also add a package name to install it at the same time as doing the upgrade, though personally I prefer to do that as a separate command so I can see what dependencies are needed.
I’m on arch so its the highlight of every morning 🤣
Click Update and Shut Down
Windows: Updates and restarts
trollface.jpg
Install Windows - does updates as part of the installation process. Get to desktop and check for updates - more updates to install. Reboot and check for updates again - yet more updates.
No it will update and once that is done it will shut down. But the update includes a restart so it will restart and then require you to type your password so it can finish the update, after which it will shut down.
Be me -
Gets the Ok from IT to switch to a Linux Distro for my work desktop.
Gets the Ok from my direct manager.
Gets the Ok from our contracts manager who used to be in my direct managers position before.
Direct manager reaches out to lead developer, who happens to be a windows fanboy, for the web app we use to ensure “compatibility”, gets told to be careful of what I do and our cybersecurity insurance won’t cover it.
Be me, looking around at all the minuscule pieces of hardware connected to the internet likely running some form of Linux or Unix.
Ain’t nobody got time for apt-get. apt all the way.
Yeah it’s crazy to me that people default to it. For scripts, sure, but apt is so much prettier.
I use apt in scripts and docker files. I don’t even know what apt-get is supposed to do better there?
It has a stable API but realistically I can’t see them changing apt so much it matters.
I recall somewhere that it makes some kind of difference in scripts
apt-get has a stable API is my understanding.
wdym “a stable api”?
A mythical thing. Humans tell stories of impossible things around campfires and by the light of monitors
Even better:
sudo apt update && sudo apt upgrade -y
sudo apt --update upgrade -y
sudo pacman -Syu
I believe sudo pacman without an argument works aswell
sudo yay
ssu in config,
yay -Syu
Well, true, one of the slowest packaging systems in Linux world is still faster than Windows Update.
sudo dnf up
Last week my brother had to use my laptop and install Rstudio(for some University project) because his Mac was too old and slow. I was out of home so I had to instruct him through the phone and I could hear his awe while he explained how easy was to install the program. He told me laughing that he could see the pacman and started to cheer for it, this made my day.
sudo zypper ref && sudo zypper dup
Fellow OpenSUSE enjoyer right there
Which just sounds ridiculous frankly. Even when you know what it means it still is rediculous.
Is it?
refresh makes it more clear than update that you’re not updating the computer’s packages, just the database of packages
DPKG based distros also need dist-upgrade or full-upgrade, rather than just upgrade, when you are switching versions where removals might be needed
Oh don’t get me wrong, I use Suse on a laptop. The commands strike me as funny looking. Like if I didn’t know what they did.
There is nothing more serious than Zypper!
⬆️⬆️⬆️⬆️⬆️⬆️ enter