How do I remove a directory from a tar ball under Unix / Linux operating systems?
How do I compress and backup files using tar command to another directory on same computer or another Linux computer under Ubuntu Linux?
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?
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?
How do I create a tar file under Linux using command line options?
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?
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:
Install program (must be run as the root, login using su or use sudo):
$ sudo make install
$ su -
$ make install