Tuesday, July 8, 2014
How to Install a Tar File
1. Log into the Unix system with your username and password. If you don't have this information, ask your system administrator to give you access to the Unix system.
2. Once you are on the Unix system, open up a command line window if you are in a GUI. In many Unix environments, you can open the command line window by clicking on the 'Terminal' icon. The remaining steps will use this command line window.
3. In the command line window, change to the directory where the tar file is located. The command to type is 'cd /directory' where '/directory' is the path and name of the directory you want to go to.
4. If the tar file is going to be installed in a different directory, move the tar file to the directory where you want it to be installed. The command to type is 'mv example.tar /directory' where 'example.tar' is the name of the tar file while '/directory' is the path to the directory. Once the file has been moved, go to that directory with the command 'cd /directory'.
5. Install the tar file. Type 'tar xvf example.tar' which extracts the tar file in the directory you've chosen in the earlier step. Once this step has been completed, all files and directories from the tar file will be installed at the current location.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment