install

ubuntu

sudo apt-get install p7zip-full

Arch Linux

https://wiki.archlinux.org/title/p7zip

paru -S p7zip

7-Zip Extract

extract a .7z file with the following command:

7z x yourfile.7z

If you want to extract the contents to a specific directory, you can use the -o option. For example:

7z x yourfile.7z -o/path/to/extract/directory/