problem with packages that have .tar.gz in the extention


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers problem with packages that have .tar.gz in the extention
# 8  
Old 09-25-2011
.tar.gz indicates that the file is a gzipp'ed tarball. Use the gunzip utility to unzip the tarball and tar xvf to untar the resultant tarball.

For example, if the gzipp'ed tarball is called openssl.tar.gz, you could do the following to unpack it:
Code:
$ gunzip openssl.tar.gz
$ tar xvf openssl.tar

 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Ubuntu

Encountering problem on upgrading the packages

Hi folks, Ubuntu 9.04 I have an old box not running for years. I just dig it out from the store room. On running; $ sudo aptitude update ...... ...... Err http://hk.archive.ubuntu.com jaunty/main Packages 404 Not Found Err http://hk.archive.ubuntu.com jaunty/restricted Packages ... (1 Reply)
Discussion started by: satimis
1 Replies

2. Shell Programming and Scripting

add a extention to all files

I'm working on implementing a mail indexer and it currently saves every file with a series of numbers with no extension. ex. 021545545544 I was wondering if someone could point me in the correct direction for a script that would check all the files and give it a .eml extension if it doesn't... (1 Reply)
Discussion started by: binary-ninja
1 Replies

3. Shell Programming and Scripting

Program to tar files to packages less then 200000 bytes

Trying to write program to archive files from a file system. I got some problem with appropriate selection of files in regard to size. Algorithm basic : ----------------- 1. Remotely executes on machine ls cmd and its output redirects and sorts by size of a files : # cd... (0 Replies)
Discussion started by: presul
0 Replies

4. Shell Programming and Scripting

Listing files in a given directory with given extention

for some reason my code does not give the right number of files. can omeone help me please? (2 Replies)
Discussion started by: andrew1400
2 Replies

5. Shell Programming and Scripting

Add extention to files recursively.

I want to add a .txt extension to all files in a directory and it's sub directories. So far I have managed to come up with this for the current directory but how do I do this recursively? for e in *; do mv "$e" "`echo $e | sed -e 's/\ /_/g'`.txt"; done Thanks (5 Replies)
Discussion started by: lewk
5 Replies

6. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

7. Shell Programming and Scripting

tar doubts - problem with tar

The below tar command works fine for me, tar -cvf - `find ./srcdir -type d` | (cd ./destdir ; tar -xvf - ) but this version is giving error to me: cd ./srcdir && tar -cf - . | gzip -9 | cd ../destdir && gzip -d | tar -xf - error is: gzip: compressed data not read from a terminal.... (2 Replies)
Discussion started by: royalibrahim
2 Replies

8. Shell Programming and Scripting

Strip extention from filename

Hey, How to strip the extention from filename? MY_XML.xml -> MY_XML MY_TEST_FILE.txt -> MY_TEST_FILE HELLO_WORLD.xls -> HELLO_WORLD Thanks in advance! (2 Replies)
Discussion started by: mpang_
2 Replies

9. UNIX for Dummies Questions & Answers

Uninstalling packages (.tar.gz)

Hi, I still don't know if there's a standard way to do this. I'm hoping there's a *more or less* standard way to do this across linux platforms but the platform in question is Gentoo. Let's say I download a source tarball as tar.gz and I do the typical gunzip app_to_install.tar.gz tar xvf... (2 Replies)
Discussion started by: d11wtq
2 Replies
Login or Register to Ask a Question
DH_GENCONTROL(1)						     Debhelper							  DH_GENCONTROL(1)

NAME
dh_gencontrol - generate and install control file SYNOPSIS
dh_gencontrol [debhelperoptions] [--params] DESCRIPTION
dh_gencontrol is a debhelper program that is responsible for generating control files, and installing them into the DEBIAN directory with the proper permissions. This program is merely a wrapper around dpkg-gencontrol(1), which calls it once for each package being acted on (plus related dbgsym packages), and passes in some additional useful flags. Note that if you use dh_gencontrol, you must also use dh_builddeb(1) to build the packages. Otherwise, your build may fail to build as dh_gencontrol (via dpkg-gencontrol(1)) declares which packages are built. As debhelper automatically generates dbgsym packages, it some times adds additional packages, which will be built by dh_builddeb(1). OPTIONS
-- params Pass params to dpkg-gencontrol(1). -uparams, --dpkg-gencontrol-params=params This is another way to pass params to dpkg-gencontrol(1). It is deprecated; use -- instead. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_GENCONTROL(1)