Extract tar or tar.gz files

How do I extract tar or tar.gz files?
Base images are compressed as tar or tar.gz files and must be extracted before they are installed.

If you have the gunzip utility, download the tar.gz file and run the command gunzip -c packagename.tar.gz | tar -xvf.
For example: gunzip -c Java14.sdk.tar.gz | tar -xvf.

To extract the tar file, run the command tar -xvf packagename.tar.
For example: tar -xvf Java14.sdk.tar.

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s