Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:tar [2011/05/12 00:26] – [Extract an .rpm file] Guy | wiki:tar [2011/08/07 00:23] (current) – [tinycore.gz, and microcore.gz] Guy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Extract tgz, tar.gz, tbz, tar.bz2, tar.xz | + | ====== Extract |
+ | |||
+ | If the file is owned by root, you may need to use sudo. | ||
+ | |||
+ | ==== tgz, tar.gz, tbz, tar.bz2, | ||
To extract a tgz, tar.gz, tbz, tar.bz2, or tar.xz file, open the terminal and type | To extract a tgz, tar.gz, tbz, tar.bz2, or tar.xz file, open the terminal and type | ||
Line 6: | Line 10: | ||
tar -xvf filename</ | tar -xvf filename</ | ||
- | If the file is owned by root, you may need to use sudo. | ||
- | |||
- | ==== Other File Types ==== | ||
==== .bz2 ==== | ==== .bz2 ==== | ||
Line 18: | Line 19: | ||
< | < | ||
- | Note: Files such as tinycore.gz, tc-install.gz and nettools.gz, are different. See below. | + | Note: Files such as tinycore.gz and microcore.gz are different. See below. |
==== .rar ==== | ==== .rar ==== | ||
Line 47: | Line 49: | ||
.txz is equivalent to .tar.xz | .txz is equivalent to .tar.xz | ||
- | ==== tinycore.gz, tc-install.gz and nettools.gz ==== | + | ==== tinycore.gz and microcore.gz ==== |
- | To extract files such as tinycore.gz, tc-install.gz and nettools.gz, use | + | To extract files such as tinycore.gz and microcore.gz, use |
< | < | ||
- | zcat tc-install.gz | sudo cpio -i -H newc -d</ | + | zcat tinycore.gz | sudo cpio -i -H newc -d</ |
For more information, | For more information, |