≡ Menu

tar ball

How do I remove a directory from a tar ball under Unix / Linux operating systems?
[click to continue…]

Ubuntu Linux: Compress files using tar Command

How do I compress and backup files using tar command to another directory on same computer or another Linux computer under Ubuntu Linux?
[click to continue…]

I've installed few software using tar ball format under Linux or FreeBSD ports using make command. However, my system doesn't recognize the installed command. I've to reboot the system or log out and log in again to use the same. How do I fix this problem?
[click to continue…]

Extract tar.gz File

I have downloaded a file called foo.tar.gz from the Internets. How do I extract tar.gz file under Linux / UNIX like operating systems using command line options?
[click to continue…]

How do I create a tar file under Linux using command line options?
[click to continue…]

UNIX / Linux Decompress tgz / tar.gz Files

Q. I've downloaded a file from internet in .tgz format. How do I decompress .tgz file under UNIX or Linux operating system using a shell prompt?
[click to continue…]

How to compile program under Linux / UNIX / FreeBSD

Q. I've downloaded tar ball software but I don't know how to compile the same? Can you provide the instructions for compiling a program?

A. Many new users find it difficult to compiling programs in Linux. Usually following steps are involved:

a] Download tar ball using wget

b] Untar tar ball using tar command

c] Compile program using make or configure command

d] Install software

Task: compiling program

Step # 1: Download program tar ball:
$ wget http://url-com/prog.tar.gz
Step # 2: Untar tar ball :
$ tar -zxvf prog.tar.gz
$ cd prog

Step # 3: Untar tar ball:
Configure program:
$ ./configure
Compile program:
$ make
Install program (must be run as the root, login using su or use sudo):
$ sudo make install
$ su -
$ make install