What file type are .tar.bz2 and .tar.gz ?

I'm using Windows 10, 64-bit Pro computer.

I want to download following Two files from internet to my hard disk:

filename.tar.bz2
filename.tar.gz

These Two files should contain 'c' source code.

What are these file types?  Are they like zip files?  If yes, how do I unzip them.
LVL 1
naseeamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
Download and use 7zip: https://www.7-zip.org/download.html
1
Cliff GaliherCommented:
Those are files very common in Linux.  Tarball files (the dot-tar extension) is often a single file "containing" a bunch of files.  But is not compressed.  So when Linux folks want to distribute a bunch of files as a package, they "tar" them up into a .tar file.  Then they compress that file...using bzip or gzip, which generates .bz2 or .gz files respectively.  Thus you get something.tar.gz
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Julian HansenCommented:
To answer the question - what are they?

.tar is a tarball - it is a single file made up of a bunch of files concatenated together.
.gz is a ZIP format (GNU Zip) common on most linux systems
.bz2 is also a ZIP format

The files are zipped tarballs. To open them you can use almost any Zip tool. I use WinRAR but any of the major tools should handle these formats

WinRAR => https://www.rarlab.com/download.htm
1
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

naseeamAuthor Commented:
Above Three comments have answered the question but I'm not seeing any prompts to assign points.
0
naseeamAuthor Commented:
How do I go by assiging points ?
0
McKnifeCommented:
There should be buttons "best answer"/ "assisted answer" and you'll be able to adjust the points after selecting those.
1
McKnifeCommented:
This might be interesting for win10 users: the new win10 1803 release, which will be released to the public next week, allows unpacking of .tar.gz files natively in powershell. See https://blogs.technet.microsoft.com/virtualization/2017/12/19/tar-and-curl-come-to-windows/

Again about the closure process: the closure wizard has changed. To your left, you'll see instructions and ann "I have my answer" button.
0
Julian HansenCommented:
AcceptPoints.jpg
1
naseeamAuthor Commented:
Nice detailed explanation of the file types.
0
naseeamAuthor Commented:
The system didn't allow me award points?
0
McKnifeCommented:
You can edit the points during the closure process. If you are not happy with the point distribution, you might still be able to request administrative attention using the buttons that you see.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.