How Do I Install a Tgz File in Linux?
Contents How Do I Install a Tgz File? “How to Install Tgz File in Linux” Code Answer Download the Desired. Tar. Gz or (. Tar. … Open Terminal. Extract The...
Contents
How do I install a TGZ file?
“how to install tgz file in linux” Code Answer
- Download the desired . tar. gz or (. tar. …
- Open Terminal.
- Extract the . tar. gz or (. tar. …
- tar xvzf PACKAGENAME. tar. gz.
- tar xvjf PACKAGENAME. tar. bz2.
- Navigate to the extracted folder using cd command.
- cd PACKAGENAME.
- Now run the following command to install the tarball.
How do I run a TGZ file in Linux?
tar command options
- -z : Uncompress the resulting archive with gzip command.
- -x : Extract to disk from the archive.
- -v : Produce verbose output i.e. show progress and file names while extracting files.
- -f backup. …
- -C /tmp/data : Unpack/extract files in /tmp/data instead of the default current directory.