3 ms·
> Doing similar for my Linux VPS with only a terminal is much more complicated. Debian/Ubuntu: sudo apt update sudo apt upgrade Fedora/RHEL: sudo dnf
by KronisLV 2y ago
> Doing similar for my Linux VPS with only a terminal is much more complicated.
Debian/Ubuntu:
sudo apt update
sudo apt upgrade
Fedora/RHEL:
sudo dnf update
Arch:
sudo pacman -Syu
Alpine Linux:
apk update
apk add --upgrade apk-tools
apk upgrade --available
Of course, if the package you need isn't available in the standard repos, then you'll need to look elsewhere (e.g. PPAs or third party repos). There's also options like Flatpak and AppImage if you want something that's a bit closer to how you'd choose to install new releases on Windows.
If I wanted to update all of the installed software I have on my Windows install, there'd basically be no way for me to do this, outside of shady update manager software.
At the same time, I get the appeal of being able to just download a new release and install it, both AppImage on Linux and the way you install software on macOS (just drag the file into Applications) seem similarly pleasant to me in that regard.
To expand on the latter (the response got deleted), you can very much do something like https://peazip.github.io/peazip-linux.html https://peazip.github.io/peazip-linux.html (I wish 7-Zip was available on Linux natively, but as far as GUI software goes, PeaZip is pretty nice) however that's not the most common approach. You should generally prefer using the package manager when you can.
- deleted 2y ago[deleted]
- thrdbndndn 2y agoSorry I wasn't very clear, it's totally on me. On average, the experience of upgrading/managing packages is obviously much better than Windows. I meant to say in certain cases (like the `unzip` example I mentioned above), when the system's build-in package manager fails, I seem to not be able to find alternatives like what I did on Windows (just find the piece of binary I want and manually install it). I to this day still can't find a way to update `unzip` to a version that supports AES on my Debian VPS.
- deleted 2y ago[deleted]
- MaKey 2y ago> I to this day still can't find a way to update `unzip` to a version that supports AES on my Debian VPS. Maybe because there is none? I quickly googled and found this bug: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/220654 https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/220654 For archives encrypted with aes-256 p7unzip-full can be used. This is not a Linux only issue though, the native Windows unzip tool also doesn't seem to support aes-256 (yet): https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-add-aes-256-decryption-support-for-zip/3539e845-0e94-4693-aae3-c17099f885aa https://answers.microsoft.com/en-us/windows/forum/all/how-do...
- thrdbndndn 2y agohttps://stackoverflow.com/questions/60674080/how-to-open-winzip-password-protected-archive/60676298#60676298 https://stackoverflow.com/questions/60674080/how-to-open-win... The author in this answer clearly has a version of unzip that can detect "AES_WG". Unfortunately they only vaguely said (in one of the comment) "Since then the main Linux distros have added patches to fix various issues" and didn't specify which distro.
- MaKey 2y agoHe also says: > Your best bet is to yry 7z to uncompress the zip file with AES encrypted entries. So why not just do that and call it a day?
- thrdbndndn 2y agoBecause this does not only happen to unzip and I want to find a solution in general.
- MaKey 2y agoWhat do you mean exactly with "this"? The upstream unzip doesn't support AES_WG. How should a general solution look like?