# UnZip and UnCompress

#### xz-utils:

You will need xz-utils if you dont have it already. If not, You have to install xz-utils package first:

```c++
sudo apt-get install xz-utils
```

You can use unxz command to extract .xz files:

```
unxz file.xz
```

or using with --decompress option of xz:

```
xz --decompress file.xz
```

---

#### 7 Zip

You will need 7zipif you dont have it already. If not, You have to install xz-utils package first:

```bash
sudo apt install p7zip
```

Then, uncompress using the `-d` command:

```bash
p7zip -d something.7z
```