Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,51 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-nc-4.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
---
|
4 |
+
# Extracting Split 7z Archives on Linux
|
5 |
+
|
6 |
+
This guide explains how to extract a split `.7z` archive (e.g., `STAR.tar.7z.001`, `STAR.tar.7z.002`, ...) on Linux.
|
7 |
+
|
8 |
+
## Prerequisites
|
9 |
+
|
10 |
+
Make sure `p7zip` is installed on your system. You can install it using one of the following commands based on your distribution:
|
11 |
+
|
12 |
+
- For **Ubuntu/Debian**:
|
13 |
+
```bash
|
14 |
+
sudo apt update && sudo apt install p7zip-full
|
15 |
+
```
|
16 |
+
- For **CentOS/RHEL**:
|
17 |
+
```bash
|
18 |
+
sudo yum install p7zip p7zip-plugins
|
19 |
+
```
|
20 |
+
- For **Arch Linux**:
|
21 |
+
```bash
|
22 |
+
sudo pacman -S p7zip
|
23 |
+
```
|
24 |
+
|
25 |
+
## Steps to Extract
|
26 |
+
|
27 |
+
1. **Navigate to the directory** where your split `.7z` files are located:
|
28 |
+
```bash
|
29 |
+
cd /path/to/your/files
|
30 |
+
```
|
31 |
+
|
32 |
+
2. **Extract the `.7z` archive**:
|
33 |
+
To extract the archive, run:
|
34 |
+
```bash
|
35 |
+
7z x STAR.tar.7z.001
|
36 |
+
```
|
37 |
+
> **Note:** You don't need to extract `.002`, `.003`, etc. separately. Starting with `.001`, `7z` will automatically handle the rest of the parts.
|
38 |
+
|
39 |
+
3. **Extract the resulting `.tar` file**:
|
40 |
+
After extracting the `.7z` files, you'll have a `STAR.tar` file. To extract it, run:
|
41 |
+
```bash
|
42 |
+
tar -xvf STAR.tar
|
43 |
+
```
|
44 |
+
|
45 |
+
Now, your original files should be restored!
|
46 |
+
|
47 |
+
## Troubleshooting
|
48 |
+
|
49 |
+
- If you encounter issues, ensure all parts of the `.7z` archive are in the same directory and correctly named (`STAR.tar.7z.001`, `STAR.tar.7z.002`, etc.).
|
50 |
+
- If `p7zip` is not installed or not working, try reinstalling it or using a different version of the tool.
|
51 |
+
|