I describe here how to uncompress .7z files in linux, specifically Ubuntu.
1. Install p7zip – a command line port of the 7zip utility for Unix, Mac OS X, BeOS and Amiga – if not already installed by running the following command
$ sudo apt-get install p7zip
2. Uncompress the file using the command
$ p7zip -d my-file-name