I was annoyed when i discovered cachyos used paru.
I understand defaulting to prompting a code review is a good idea, especially now, but i was very used to typing yay (yes I installed yay instead of making an alias)
Yes, it's a command from apt-get that apt only passes through:
--auto-remove, --autoremove
If the command is either install or remove, then this option acts like running the autoremove command, removing unused dependency packages. Configuration Item: APT::Get::AutomaticRemove.
--with-new-pkgs
Allow installing new packages when used in conjunction with upgrade. This is useful if the update of an installed package requires new dependencies to be installed. Instead of holding the package back upgrade will upgrade the package and install the new dependencies. Note that upgrade with this option will never remove packages, only allow adding new ones. Configuration Item: APT::Get::Upgrade-Allow-New.
-U, --update
Run the update command before the specified command. This is supported for commands installing, removing, or upgrading packages such as install, remove, safe-upgrade, full-upgrade. This can be useful to ensure a command always installs the latest versions, or, in combination with the --snapshot option to make sure the snapshot is present when install is being run.
Never thought about it, but wouldn't that just fail after the first one it fails to find? I think most install commands return nonzero if nothing is installed
The $1 is a positional variable. So if you run ./script.sh arg1 $1 would be arg1 in that example, $0 would be the ./script.sh. It's the simplest way to pass an argument to a script.
So... huh? What role does this play, since all the lines in the picture have $1? If you run it with arg1, won't it run them all? And if you left out arg1 and also didn't add $1 to each line, wouldn't it also just run all of them?
So the joke is, you've got something you want to install, be it a Python module, Java library, steam game, desktop application, whatever. You want it installed, figuring out which package manager has it and remembering the exact command syntax starts getting to be a pain, so just use this script to try installing it from a variety of sources.
You would evoke it by running ./install.sh package and it will replace all instances of $1 with the string "package" at runtime. The ampersand at the end of each line will run that line as a separate background process rather than in the foreground process, so effectively this will attempt to install "package" or whatever you put in as an argument from a half dozen sources simultaneously in parallel.
These include the old and new Python package managers, the old and new Red Hat package managers, debian/Ubuntu's APT with and without sudo, cloning a git repo and building from source, and the icing on the cake is curling directly into bash.
Don't curl directly into bash. You'll catch genital rabies.
Remember that this is an XKCD comic, it's a joke. The alt-text says "The failures usually don't hurt anything and if it installs multiple versions it increases the chance one of them is right. (the 'yes' command and '2>/dev/null' are recommended additions.)" "Yes" is a bash command that will spam 'y' in the terminal, the point of it is to answer yes to any questions an automated system asks, and 2>/dev/null will stop it from displaying errors. These add an even deeper level of Yolo-ing.
Yes, that is the intention. When you're following some guide online and it requires you use some "software", you may not know how to install that software.
This install.sh script tries package managers, because one of them will probably work. Others will fail.
For example, installing numpy (python package): pip install succeeds and all the other ones (hopefully) fail.
Installing libcurl4-openssl-dev (curl with openssl library file): apt-get install works and all other ones (hopefully) fails.
With Arch, if you have the Yay manager, you can do “yay ” and it’ll search not just the names of packages but the descriptions too. I’m sure there’s equivalents for other distros, and even with pacman itself
IMO apt's search is just not very good at that (or at least it's unintuitive). Even if you know the name of the program, apt-cache search often shows like 90% irrelevant results.
According to the man-page at https://manpages.debian.org/buster/apt/apt.8.en.html and the linked https://manpages.debian.org/buster/manpages/regex.7.en.html, you should be able to use regex like apt search '(-|^)vim(-|$)' to get vim as either whole name or related packages with containing vim with leading or trailing dashes, or apt search '^vim' to get any beginning with vim—in case that helps. zypper lets me do essentially that with zypper se '/(-|^)vim(-|$)/' and such.
(I do sometimes use apt-cache search ^[applicationname], but depending on the application it might not help as much as you'd think, and it requires that you know what specific application you want, vs. something general like 'a cd burning application')
I understand what you mean, and tend to agree, although I had some success with zypper se -d '/CD.*burn/'—'CD.*(burn)|(writer)' produced more results than I'd like—for your example. It also appears apt-cache search already searches descriptions by default.
Looking at results for just /CD/—amid the many poor results—it seems my earlier search missed some due to differing word usage, such as recording rather than burning, and whatnot.
There is nothing wrong with using your distro's app center. Often it will save you extra steps by updating things like Flatpaks as well, if you use them (or Snaps, if you're an insane person).
I also like graphical frontends because there I can see screenshots of the software, because there's a lot of software out there with really bad UI and UX.
Snaps I agree just because there is no open source snap store and it’s impossible to set up a 3rd party store.
Flatpaks though? They let people install packages with weird / rare / not available requirements on any distro. All open source with a really nice sandbox. I think flatpaks are great.
System packages: not viable for the majority of packages because the distro devs don't have time to manually package everything
AppImage: even worse integration (like no desktop shortcuts on install). Developer has to guess what libraries need to be included and which ones are already installed by the user. No sandboxing. Probably worse SLSA scores.
AUR: even worse security. No sandboxing. Packages are often compromised by hackers.
Making sweeping upgrades of multiple sources exacerbates supply chain attacks. Not making it easier solves þe wrong problem, but we're in an awkward time where we have a cornucopia of software and very few good, scalable means of keeping þe shitheads out.
We mostly solved dependency hell, only to run into script kiddie repos attacks. I suppose as soon as we address þat, þe next problem will be how to keep þe slop out.
Making sweeping upgrades of multiple sources exacerbates supply chain attacks
What else are you supposed to do? Not upgrade? The user most likely installed those packages/flatpaks/distroboxes for a reason, why would they not upgrade them?
Sure, security can be improved. But no idea why topgrade deserves any blame here.
I do both. If I know exactly what I want to install, I'll install it from the terminal because it's often more direct. If I go "I need an app that does thing, what's available?"
apt-search and dnf-search both exist. I have used both. I prefer a GUI for that because they'll provide things like screenshots, no CLI tool does, neither to TUI tools like Aptitude.
I wasn't sure, the gui is nicer in some ways but defs less direct and given that you said "terminal is more direct" I thought you were using the gui because you hadn't made some simple helper scripts for searching the database quickly
While I still tend to stick to the terminal for updating, I still have fond memories of doing everything through Synaptic Package Manager when I first got into Ubuntu in 2009.
Am I the only one that always has to LOL when I think about how Red Hat tried so hard to push for modules to be a thing with DNF but then they decided to kill it off because nobody wanted to maintain it. lmao
# update via apt wrapper
pkg upgrade
# update yt-dlp
yt-dlp -U
# update everything in ~/.src
# (in this case, just ksh93)
gr ~/.src
cd ~/.src/ksh
bin/package make
bin/package install /data/data/com.termux/files/usr
Yes... until I started using Fedora Silverblue and now I use software center, but only occasionally because the flatpaks update themselves in the background.
if [ -x "$(command -v sk)" ]; then
finder=sk
elif [ -x "$(command -v fzf)" ]; then
finder=fzf
else
echo "neither fzf or sk are installed" >&2
exit 1
fi
it's safer to run it as a regular user and have topgrade ask for root access. With this config line it can ask ahead when starting, so you don't need to babysit it:
[misc]
# ...
# Run `sudo -v` to cache credentials at the start of the run; this avoids a
# blocking password prompt in the middle of a possibly-unattended run.
pre_sudo = true
126 Comments
ruuster13@lemmy.zip · 49 pts · 2d
If that's the game we're gonna play:
yay
sorghum@sh.itjust.works · 18 pts · 1d
I'm old enough to
yum
RIP in peace yellow dog linux
chronicledmonocle@lemmy.world · 11 pts · 1d
Yum was used on way more than Yellow Dog Linux. CentOS, Fedora, RHEL, etc all did
DarkSirrush@piefed.ca · 7 pts · 1d
I was annoyed when i discovered cachyos used paru.
I understand defaulting to prompting a code review is a good idea, especially now, but i was very used to typing yay (yes I installed yay instead of making an alias)
Kangae_Hishiryo@scribe.disroot.org · 2 pts · 1d
paru is based, Rust >> Go lol
waz@feddit.uk · 1 pts · 1d
YaST?
konomi@piefed.blahaj.zone · 45 pts · 1d
I'll keep making Debian users aware that they can do it all in one command since Trixie.
antianarchist@sopuli.xyz · 24 pts · 1d
First they changed apt-get to apt. Now this.
I can’t keep up with all the sudden changes.
CrabAndBroom@lemmy.ml · 5 pts · 1d
I also like topgrade for this.
psilotop@lemmy.world · 4 pts · 1d
I love you. Thanks for sharing 😌
some_kind_of_guy@lemmy.world · 4 pts · 1d
Ok now that's pretty good. Can we use this with dist-upgrade/full-upgrade?
Successful_Try543@feddit.org · 6 pts · 1d
Yes, it's a command from apt-get that apt only passes through:
https://manpages.debian.org/trixie/apt/apt-get.8.en.html
some_kind_of_guy@lemmy.world · 3 pts · 1d
Excellent! Feel like I've been continuously learning new things about Aptitude for the better part of 20 years lmao
ActualGrapesTasteGreen@piefed.zip · 28 pts · 1d
girsaysdoom@sh.itjust.works · 6 pts · 1d
This one hurts.
boonhet@sopuli.xyz · 3 pts · 1d
Never thought about it, but wouldn't that just fail after the first one it fails to find? I think most install commands return nonzero if nothing is installed
Should probably use or instead of and
0x0@lemmy.dbzer0.com · 17 pts · 1d
Nope, this launches all those commands in parallel. Logical and is
&&.canaryWart@programming.dev · 1 pts · 17h
And strict mode (
set -e) is offelectric_nan@lemmy.ml · 1 pts · 1d
I don't get it. Looks like a script that runs all these things, but I don't get the one dollar.
FlexibleToast@lemmy.world · 6 pts · 1d
The
$1is a positional variable. So if you run./script.sh arg1$1 would be arg1 in that example, $0 would be the ./script.sh. It's the simplest way to pass an argument to a script.electric_nan@lemmy.ml · 1 pts · 1d
So... huh? What role does this play, since all the lines in the picture have $1? If you run it with arg1, won't it run them all? And if you left out arg1 and also didn't add $1 to each line, wouldn't it also just run all of them?
captain_aggravated@sh.itjust.works · 7 pts · 1d
So the joke is, you've got something you want to install, be it a Python module, Java library, steam game, desktop application, whatever. You want it installed, figuring out which package manager has it and remembering the exact command syntax starts getting to be a pain, so just use this script to try installing it from a variety of sources.
You would evoke it by running
./install.sh packageand it will replace all instances of $1 with the string "package" at runtime. The ampersand at the end of each line will run that line as a separate background process rather than in the foreground process, so effectively this will attempt to install "package" or whatever you put in as an argument from a half dozen sources simultaneously in parallel.These include the old and new Python package managers, the old and new Red Hat package managers, debian/Ubuntu's APT with and without sudo, cloning a git repo and building from source, and the icing on the cake is curling directly into bash.
Don't curl directly into bash. You'll catch genital rabies.
Remember that this is an XKCD comic, it's a joke. The alt-text says "The failures usually don't hurt anything and if it installs multiple versions it increases the chance one of them is right. (the 'yes' command and '2>/dev/null' are recommended additions.)" "Yes" is a bash command that will spam 'y' in the terminal, the point of it is to answer yes to any questions an automated system asks, and 2>/dev/null will stop it from displaying errors. These add an even deeper level of Yolo-ing.
electric_nan@lemmy.ml · 3 pts · 1d
Ah alright. Pretty sure I get it now. Thank you for explaining!
ABasilPlant@lemmy.world · 6 pts · 1d
Yes, that is the intention. When you're following some guide online and it requires you use some "software", you may not know how to install that software.
This install.sh script tries package managers, because one of them will probably work. Others will fail.
For example, installing numpy (python package): pip install succeeds and all the other ones (hopefully) fail.
Installing libcurl4-openssl-dev (curl with openssl library file): apt-get install works and all other ones (hopefully) fails.
Longer and more thorough explanation:
https://www.explainxkcd.com/wiki/index.php/1654:_Universal_Install_Script
Crumpled6273@lemmy.ca · 27 pts · 2d
Yes. At the beginning I preferred distro's specifically with a graphical software manager. Now i force uninstall it and use terminal for anything.
abbadon420@sh.itjust.works · 17 pts · 2d
My first Ubuntu (8), the software manager was so buggy, that I rage quit and learned about the terminal
caseyweederman@lemmy.ca · 5 pts · 1d
I miss Synaptic
provectus@lemmy.ml · 4 pts · 1d
Synaptic is still on Debian lxqt for me. Synaptic is also installed on trisquel 12, which is what I am using also.
TabbsTheBat@pawb.social · 18 pts · 2d
The only time I use the software center is if im looking for software to do a job without already knowing the name of the program that would
hyphen0175@lemmy.zip · 11 pts · 2d
With Arch, if you have the Yay manager, you can do “yay ” and it’ll search not just the names of packages but the descriptions too. I’m sure there’s equivalents for other distros, and even with pacman itself
TabbsTheBat@pawb.social · 8 pts · 2d
There's apt-cache search, but I just prefer doing it with the package manager tbh :p
konomi@piefed.blahaj.zone · 1 pts · 1d
Consider trying
apt list ~nvim. Wherevimis, is where the package name goes ~rumschlumpel@feddit.org · 1 pts · 1d
IMO apt's search is just not very good at that (or at least it's unintuitive). Even if you know the name of the program,
apt-cache searchoften shows like 90% irrelevant results.MaskedNybbles@piefed.social · 2 pts · 1d
According to the man-page at https://manpages.debian.org/buster/apt/apt.8.en.html and the linked https://manpages.debian.org/buster/manpages/regex.7.en.html, you should be able to use regex like
apt search '(-|^)vim(-|$)'to getvimas either whole name or related packages with containingvimwith leading or trailing dashes, orapt search '^vim'to get any beginning withvim—in case that helps.zypperlets me do essentially that withzypper se '/(-|^)vim(-|$)/'and such.rumschlumpel@feddit.org · 1 pts · 1d
... I'll just duckduckgo it instead.
(I do sometimes use
apt-cache search ^[applicationname], but depending on the application it might not help as much as you'd think, and it requires that you know what specific application you want, vs. something general like 'a cd burning application')MaskedNybbles@piefed.social · 2 pts · 1d
I understand what you mean, and tend to agree, although I had some success with
zypper se -d '/CD.*burn/'—'CD.*(burn)|(writer)'produced more results than I'd like—for your example. It also appearsapt-cache searchalready searches descriptions by default.Looking at results for just
/CD/—amid the many poor results—it seems my earlier search missed some due to differing word usage, such as recording rather than burning, and whatnot.chronicledmonocle@lemmy.world · 17 pts · 1d
There is nothing wrong with using your distro's app center. Often it will save you extra steps by updating things like Flatpaks as well, if you use them (or Snaps, if you're an insane person).
Kangae_Hishiryo@scribe.disroot.org · 5 pts · 1d
I also like graphical frontends because there I can see screenshots of the software, because there's a lot of software out there with really bad UI and UX.
corsicanguppy@lemmy.ca · 4 pts · 1d
Flatpaks and snaps are two examples of deliverables with terribad integration and low SLSA scores. They should be considered toxic.
mholiv@lemmy.world · 9 pts · 1d
Snaps I agree just because there is no open source snap store and it’s impossible to set up a 3rd party store.
Flatpaks though? They let people install packages with weird / rare / not available requirements on any distro. All open source with a really nice sandbox. I think flatpaks are great.
hirihit640@sh.itjust.works · 6 pts · 1d
Let's look at the alternatives:
Trampampoline@sh.itjust.works · 5 pts · 1d
Immutable Linux users didn't like that
Disgruntled@lemmy.ca · 3 pts · 1d
Unless you use openSUSE Tumbleweed, right? Then it’s “sudo zypper dup”, from what I’ve heard.
chronicledmonocle@lemmy.world · 1 pts · 1d
OpenSUSE used to use yum and then briefly dnf. Zypper is fairly recent in the last several years.
hperrin@lemmy.ca · 16 pts · 2d
Don’t forget
eaterofclowns@lemmy.world · 3 pts · 1d
Hey just wanted to say thanks this might have solved an issue I've had for a couple of months that crashed Cyberpunk when launching via Heroic!
djdarren@piefed.social · 11 pts · 2d
topgrade -y
eager_eagle@lemmy.world · 2 pts · 2d
Underrated. We usually have a lot more to upgrade than just the main distro's package manager.
Sxan@piefed.zip · -2 pts · 1d
Making sweeping upgrades of multiple sources exacerbates supply chain attacks. Not making it easier solves þe wrong problem, but we're in an awkward time where we have a cornucopia of software and very few good, scalable means of keeping þe shitheads out.
We mostly solved dependency hell, only to run into script kiddie repos attacks. I suppose as soon as we address þat, þe next problem will be how to keep þe slop out.
hirihit640@sh.itjust.works · 6 pts · 1d
First off, downvoted for thorn.
What else are you supposed to do? Not upgrade? The user most likely installed those packages/flatpaks/distroboxes for a reason, why would they not upgrade them?
Sure, security can be improved. But no idea why
topgradedeserves any blame here.antianarchist@sopuli.xyz · 9 pts · 1d
yay
Nutteman@lemmy.world · 6 pts · 1d
When I just want to go to bed and deal with the repercussions of my actions in the morning:
Jiral@lemmy.world · 9 pts · 1d
Non of those.
sudo zypper dupnailbar@sopuli.xyz · 5 pts · 1d
Another on Tumbleweed?? Hi!
Jiral@lemmy.world · 3 pts · 1d
indeed :)
mountaincalledmonkey@sopuli.xyz · 4 pts · 1d
me three!
sudoer777@lemmy.ml · 9 pts · 1d
nix flake update && nixos-rebuild switch --flake .Or
nh os switchZacpod@lemmy.world · 2 pts · 20h
Nix has ruined me. I can never go back.
Paulemeister@feddit.org · 1 pts · 1d
`nh os switch --update'
captain_aggravated@sh.itjust.works · 9 pts · 1d
I do both. If I know exactly what I want to install, I'll install it from the terminal because it's often more direct. If I go "I need an app that does thing, what's available?"
naevaTheRat@lemmy.dbzer0.com · 1 pts · 19h
pacman can list all packages and their description, then you just grep for key words
captain_aggravated@sh.itjust.works · 2 pts · 19h
apt-search and dnf-search both exist. I have used both. I prefer a GUI for that because they'll provide things like screenshots, no CLI tool does, neither to TUI tools like Aptitude.
naevaTheRat@lemmy.dbzer0.com · 1 pts · 17h
I wasn't sure, the gui is nicer in some ways but defs less direct and given that you said "terminal is more direct" I thought you were using the gui because you hadn't made some simple helper scripts for searching the database quickly
plateee@piefed.social · 8 pts · 1d
Aren't you supposed to do
apt full-upgradeinstead ofapt upgrade?Also wtf is
pkconfor?Jiral@lemmy.world · 2 pts · 1d
It is what Sailfish OS uses as default package manager even though it can also use zypper.
Routhinator@startrek.website · 2 pts · 1d
For extra fun, there's also
dist-upgrademoonlight@fedia.io · 8 pts · 1d
(it's an alias)
Dadifer@lemmy.world · 8 pts · 1d
I actually like Mint's software center
southsamurai@sh.itjust.works · 6 pts · 1d
Same. It really makes finding shit easy
yesman@lemmy.world · 8 pts · 2d
I love it when a program says theirs a new version, would you like to download? pffffftt.
pacman -S [program name]Sir_Premiumhengst@lemmy.world · 7 pts · 1d
ujust update
I use Bazzite BTW
naevaTheRat@lemmy.dbzer0.com · 1 pts · 19h
I use bazzite on my BC250 console but bazzite's package management is horrible lmao.
It's good for something you install and never touch but not adequate for general purpose computing.
Pacman is an amazing package manager, dnf is probably better but inertia has me prefer pacman. The rest suck
ImgurRefugee114@reddthat.com · 6 pts · 2d
sudo nixos-rebuild switch --flake path
(Or just my
nswitch [path]script with a file-backed path cache)Lettuceeatlettuce@lemmy.ml · 5 pts · 1d
festnt@sh.itjust.works · 3 pts · 1d
flatpak is only "flatpak update -y" from what i remember
harmbugler@piefed.social · 1 pts · 1d
Sure, if you want to type your password 17 times.
festnt@sh.itjust.works · 6 pts · 1d
it's not supposed to ask for any password at all
otacon239@lemmy.world · 5 pts · 2d
While I still tend to stick to the terminal for updating, I still have fond memories of doing everything through Synaptic Package Manager when I first got into Ubuntu in 2009.
provectus@lemmy.ml · 1 pts · 1d
Synaptic is still around in Debian.
DaddleDew@lemmy.world · 5 pts · 2d
Sudo dnf up
Downright quicker than opening a software center.
And it gives me the illusion of being some sort of super user
Zacryon@feddit.org · 4 pts · 1d
Don't forget to check
needrestartor similar afterwards if you have no idea what has happened.RustyNova@lemmy.world · 3 pts · 2d
I don't even install anymore I just do
nix run. What I use daily is in my nix config, the rest can stay in the storeHawk@lemmy.dbzer0.com · 3 pts · 1d
paruEvil_Incarnate@sopuli.xyz · 4 pts · 1d
Yay!
DonutsRMeh@lemmy.world · 3 pts · 1d
CachyOS has this app called “Shelly”. I use nothing but that. It does everything.
hirihit640@sh.itjust.works · 1 pts · 1d
Is it just a terminal app?
Natanox@discuss.tchncs.de · 1 pts · 1d
No, that would be arch-update.
Shelly is a really handy GUI. Also manages AppImage and stuff, I think the only thing they didn't include are Snaps.
silicon@lemmy.dbzer0.com · 3 pts · 1d
Well no one uses Snaps on purpose so that's fine.
Jiral@lemmy.world · 1 pts · 1d
I consider that a positive.
DonutsRMeh@lemmy.world · 1 pts · 1d
No, it’s a whole GUI. It’s new and in active development. So there are always new updates. I really like it.
darthsundhaft@piefed.social · 3 pts · 1d
Am I the only one that always has to LOL when I think about how Red Hat tried so hard to push for modules to be a thing with DNF but then they decided to kill it off because nobody wanted to maintain it. lmao
vivalapivo@lemmy.today · 0 pts · 1d
This was basically an attempt to make FreeBSD by redhat
silver@das-eck.haus · 3 pts · 1d
I'm a
pveupdate && pveupgradeguy myselfranzispa@mander.xyz · 3 pts · 2d
Fedora recommends using the software center rather than and in order to get more reliable updates.
hirihit640@sh.itjust.works · 2 pts · 1d
It's true, offline updates are more reliable. Less risk of running programs interfering with the update.
SaharaMaleikuhm@feddit.org · 1 pts · 1d
Yeah, many such ridiculous notions with RedHat. Part of why I won't use their stuff if I can help it. Don't get me started on Podman.
cojo5@sh.itjust.works · 1 pts · 1d
what’s your take on podman? i was just reading a thread where people seemed to agree that it’s better than docker.
juipeltje@lemmy.world · 3 pts · 2d
Nah, just declare your packages programmatically
WillieShen@lemmy.world · 2 pts · 1d
leduvisc00l@lemmy.zip · 2 pts · 1d
'true' ?
WillieShen@lemmy.world · 2 pts · 1d
in case I run with set -e
vivalapivo@lemmy.today · 0 pts · 1d
Just use
mommydudeheliotrope@slrpnk.net · 2 pts · 2d
Updating my shit in Termux:
uuj8za@piefed.social · 2 pts · 2d
Yes... until I started using Fedora Silverblue and now I use software center, but only occasionally because the flatpaks update themselves in the background.
chunkystyles@sopuli.xyz · 2 pts · 1d
Bazzite/Bluefin/Aurora do all updates in the background. Flatpak and Brew as well.
So all you have to do is restart your computer on a regular basis and everything just works.
It's what make them nice for people who use their computers like a Chromebook.
Wildmimic@anarchist.nexus · 2 pts · 2d
or just put into your .bashrc
alias update="sudo dnf up --assumeyes && sudo flatpak update --system --assumeyes && flatpak update --user --assumeyes"
a lot more comfortable
ScoffingLizard@lemmy.dbzer0.com · 2 pts · 1d
TIL what dnf is finally.
Evil_Incarnate@sopuli.xyz · 8 pts · 1d
Did not finish. Used a lot in racing after an accident....oh wait...
hakunawazo@lemmy.world · 2 pts · 1d
Write that down

BeatTakeshi@lemmy.world · 2 pts · 1d
Damn! I wish Keanu would validate me
mk_machinist@lem.cochrun.xyz · 2 pts · 1d
This matches my experience exactly.
Shanmugha@lemmy.world · 2 pts · 1d
Duh. Why do you think I switched to Linux the moment I learned it existed
pirate2377@lemmy.zip · 1 pts · 19h
On Arch, Discover only updates flatpaks though, smh
Zephyr@sh.itjust.works · 1 pts · 1d
Flatpak?
Eat_Your_Paisley@lemmy.world · 1 pts · 2d
sudo softwareupdate -i -a --restart
thethunderwolf@lemmy.dbzer0.com · 1 pts · 19h
but gui app will also update flatpaks
KernelTale@programming.dev · 3 pts · 19h
Cachy has a tray icon running the updates in terminal. It likely can be started from terminal as well and I think it was like octopy?
canaryWart@programming.dev · 1 pts · 17h
I use an fzf based script that queries for updates and lets me choose what to install.
If you use xbps, or are just curious:
::: xu #!/bin/env sh
self="$(basename "$0")"
error() { printf '%s:' "$self" >&2 # shellcheck disable=SC2068 printf ' %s' $@ >&2 printf '\n' >&2 }
fatal() { error "$@" exit 1 }
if [ -x "$(command -v sk)" ]; then finder=sk elif [ -x "$(command -v fzf)" ]; then finder=fzf else echo "neither fzf or sk are installed" >&2 exit 1 fi
tmp="$(mktemp)" || fatal "couldn't source bindings" grep '^export' "$DOTFILES/.zshenv" | grep -E 'FZF|SKIM' >"$tmp" . "$tmp" rm "$tmp"
shellcheck disable=SC2046
choices="$(xbps-install -nSu | cut -f1 -d' ' | sed 's/-[^-]*$//g' | $finder | tr '\n' ' ')"
[ -n "$choices" ] || exit
guard=pkexec command -v "$guard" >/dev/null 2>/dev/null || guard=sudo
shellcheck disable=SC2086
while ! $guard xbps-install -Syu $choices; do :; done
:::
godsammitdam@lemmy.zip · 1 pts · 22h
The fingers tho
vivalapivo@lemmy.today · 1 pts · 1d
LoL
Quibblekrust@thelemmy.club · 1 pts · 2d
Which distro supports m-dashes for long option?
RiceManatee@lemmy.ca · 1 pts · 1d
I'm not seeing any smitty love
jdr@lemmy.ml · 1 pts · 1d
Declarative config skeleton at bottom of swimming pool
KindaABigDyl@programming.dev · 1 pts · 2d
Nah download AppImage and put in ~/Applicaitons
nutcase2690@lemmy.dbzer0.com · 1 pts · 2d
sudo topgrade for me, it just does it all
eager_eagle@lemmy.world · 6 pts · 2d
it's safer to run it as a regular user and have topgrade ask for root access. With this config line it can ask ahead when starting, so you don't need to babysit it: