Computing.Net > Forums > Linux > File Compression and Archiving

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

File Compression and Archiving

Reply to Message Icon

Name: gardenair
Date: March 3, 2009 at 22:11:40 Pacific
OS: Windows Vista
CPU/Ram: 2GB
Product: Dell / DELL
Subcategory: General
Comment:

Hi,
I need assistance regarding to File Compression and Archiving.Just like in windows we use winrar or some people use winzip software to compress the files and keep them in memory stick or another partition so in Linux which programm is best.
thanks in advance.
smith



Sponsored Link
Ads by Google

Response Number 1
Name: ernie
Date: March 3, 2009 at 23:13:57 Pacific
Reply:

If you use the KDE Desktop Environment, ark is the gui application that handles file archiving. Many compression algorithms are supported including zip, arc, arj, rar, bzip, and bzip2, etc. Most Linux distributions include packages for the various compression algorithms (you simply install the appropriate package(s)). Check in your distributions software package manager (there should be an archiving category) to see which are available.

HTH,

Ernie Registered Linux User 247790


0

Response Number 2
Name: gardenair
Date: March 4, 2009 at 01:13:39 Pacific
Reply:

Thanks "ernie" for your reply.Well please let me know in shall prompt which compression utility should i use. I does't want to go in GUI mode.


0

Response Number 3
Name: ernie
Date: March 4, 2009 at 03:33:07 Pacific
Reply:

Each of the compression algorithm
packages includes a command line utility,
so for example if the utility for the bzip2
algorithm is named bzip2, you would call it
as bzip2 <arguments>.

The traditional (default) archiver for Linux
is the tar utility. It does not compress files
itself, but works with the gzip algorithm to
accomplish that feat. To learn about tar or
any other installed command, (from a
command prompt) use the man command.
To see the tar man page the command
would be:

man tar

HTH,

Ernie Registered Linux User 247790


0

Response Number 4
Name: jefro
Date: March 4, 2009 at 15:59:30 Pacific
Reply:

Might consider a program that is supported it both windows and linux. Might need to access the files in either.

I sure wouldn't bother with compression unless you post to or across web. One advantage with compressed files is that there is a very basic file(s) test when you try to un-compress it.

Don't think tar is compression. Isn't it just tape archive, a way to put files end to end in a single file?


"Best Practices", Event viewer, host file, perfmon, antivirus, anti-spyware, Live CD's, backups, are in my top 10


0

Response Number 5
Name: ernie
Date: March 4, 2009 at 22:17:39 Pacific
Reply:

Jefro said: "Don't think tar is compression. Isn't it just tape archive, a way to put files end to end in a single file?"

That is correct, but tar can work in conjunction with gzip to achieve compression within the tar archive, hence the .tar.gz file extension in lieu of .tar

Ernie Registered Linux User 247790


0

Related Posts

See More



Response Number 6
Name: gardenair
Date: March 6, 2009 at 20:38:11 Pacific
Reply:

thanks for all of your replies.Well i just need to compress a file say "mydata" which is 1 GB .So this should i use gzip.If yes then what will be the syntex? Should be thankfull to you i you kindly write the command.

smith.


0

Sponsored Link
Ads by Google
Reply to Message Icon

comparison between linux ... version and updates



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: File Compression and Archiving

file-system and format problem www.computing.net/answers/linux/filesystem-and-format-problem-/26681.html

File Dependencies and RPMs www.computing.net/answers/linux/file-dependencies-and-rpms/26626.html

Linux Mandrake 8.0: File Storage and Pro www.computing.net/answers/linux/linux-mandrake-80-file-storage-and-pro/9688.html