if you’re on Windows use NanaZip. 7Zip refuses to use modern compression and encryption algorithms or integrate with the new Windows APIs. NanaZip is a fork that does just that.
7-zip doesn’t exist on Linux. p7zip does, which hasn’t been updated since 2016
EDIT: It does, I stand corrected
7zip does exist on Linux:
https://www.7-zip.org/download.html
p7zip itself is out of date but updated forks exist. With 7zip having an up to date official version though there’s no point to it.
Of course! 7-zip is absolutely a software cornerstone, but as in all things open source it’s now better as it’s forked version with more active community efforts taking place