a utility to archive files into a sequential stream, then commonly placed into one file on disk (previously tapes, hence the name, Tape ARchive)

learn more… | top users | synonyms

32
votes
5answers
24k views

What's the best way to use parallel bzip2 and gzip by default?

Bzip2 and gzip only use one core, although many computers have more than one core. But there are programs like lbzip2, pbzip2 and pigz, which use all available cores and promise to be compatible with ...
1
vote
1answer
33 views

What do I do after extracting *.tar.gz file? [duplicate]

I downloaded and extracted *.tar.gz file. Here's the link - Robomongo. Then I located a folder named Bin and double clicked on a executable file. The program started to run. I didn't have to install ...
-4
votes
1answer
39 views

Cannot install Telegram for Desktop from website [closed]

I downloaded the app from desktop.telegram.org. It gives me a tar.xz file which uncompressed leaves me with two files: Telegram and Updater. Clicking on either opens up a box asking which program. ...
325
votes
9answers
587k views

How do I uncompress a tarball that uses .xz?

I'm used to extracting tarballs with a -xfz flag, which handles gzip and bzip2 archives. Recently I've run into a .tar.xz file and I would like to uncompress it in one step using tar, how can I do ...
0
votes
1answer
517 views

NEW popcorn-time.se Beta 3.2 installation - ./configure not found

Currently the Popcorn-time tar.gz available on the site is version 3.2 I have followed a few guides on here, youtube. there is only 4 files located in the tar.gz libffmpegsumo.so nw.pak package.nw ...
1
vote
1answer
23 views

How to perform differential backups with tar?

I know I can perform progressive (incremental) backups with tar using snapshots, I am doing something like this for the directory I want to create a backup for: tar cpf progressive.tar ...
1
vote
1answer
22 views

tar slow on Ubuntu Server

I have two servers (accessed via SSH of the Internet), one with a high-end CPU and 32GB RAM. However, when I try to tar a large number of files (about 400,000) via the command: tar cvf archive.tar ...
2
votes
2answers
2k views

How can I prevent two shell scripts running at the same time?

I have a tar backup script that runs once a month. It runs at night through cron. I also have a power schedule that reboots the server at 4.15 every night. The problem is that the server reboots ...
0
votes
1answer
45 views

How to install tar.gz file? [duplicate]

I downloaded Apache httpd-2.4.18.tar.gz file. But I don't know how to install that one?!
0
votes
1answer
33 views

Lubuntu gtar not responding

I am using Lubuntu32 bit. ubuntu 15.10, linux4.2.0 32 bit in VM ware. I am trying to install prismtech DDS community edition for a cross compiler. In the instructions I was asked to use gtar ......... ...
0
votes
0answers
96 views

diff and vim -d give different result

I am working on Ubuntu 14.04 and I archived a folder folder-a with tar cfvz folder-a.tar.gz folder-a. When I needed the folder I untar the folder with tar xfvz folder-a.tar.gz. How I want to compare ...
1
vote
2answers
50 views

Extract specific folder from tarball into specific folder

I created a tarball on Ubuntu 14.04 with: cd /tmp tar -cfvz archive.tar.gz /folder Now I want to extract a specific folder in the tarball (which inside the tarball lies in /tmp) into a specific ...
293
votes
2answers
406k views

How to extract files to another directory using 'tar' command?

I thought tar archive.tar /users/mylocation would work, but it doesn't. How can I do that?
1
vote
0answers
43 views

Files lost after tar command

I had a symlink called st and I wanted to compress it into a tar.gz archive. I ran the command: tar zcf st.tar.gz st The resulting archive st.tar.gz contains only a link to an empty folder called ...
1
vote
2answers
3k views

Installing rtl8812AU_linux_v4.2.0_6952.20130315.tar.gz

Hi while trying to get the drivers for my "EDIMAX AC600 Dual-Band High Gain Wi-Fi USB Adapter" I run into the following problem: After sudo apt-get install build-essential and cd /home/"USERNAME" I ...
1
vote
2answers
2k views

tar commands returns stdin error

tar -xvfz files.tgz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now This the error i got. (This file is created by tar -cvzf file.tgz file ) ...
1
vote
1answer
52 views

problems with backup and tar in command line

I am studying for a Linux certification from the Linux foundation but I have some questions about one lab. Here is the lab: Create a directory called backup and in it place a compressed tar ...
1
vote
1answer
48 views

What compression is supported by debian file [.deb] decompressor?

I know that a typical .deb file contains three files: debian-binary control.tar.gz data.tar.gz and that some are xz compressed instead of gzip (control.tar.xz, data.tar.xz). What are other ...
6
votes
2answers
850 views

How to archive with ignoring files larger than 100MB

I'm trying to archive files with tar and ignoring files larger than 100MB. Is that possible? PS: Not have to use tar.
-1
votes
1answer
42 views

Externally installing netwide assembler in Ubuntu

I have downloaded the tar.gz file of nasm and extracted it on my desktop. But I don't know how to install it. Please can anyone tell me how to install nasm externally on Ubuntu. Thanks in advanced
1
vote
2answers
4k views

(tar: /dev/nst0: Cannot read: Cannot allocate memory) with tar, pv and tape drive

I'm trying to use pv (pipeviewer) along with tar to do tape backups in order to see the progress and eta like so: du -s /home/myuser 115630916 /home/myuser tar -cf - /home/myuser/ | pv -s 115630916 ...
0
votes
2answers
39 views

untar single file error

I am trying to untar a single file inside a big tar.gz file with this command: tar -xvf files.tgz '/home/home_ndb_fp/DATI (ex parc.)/DOC AAA/AAAAA/TRES VIN/AAAA AAAA - AAAA AAA AAAA/BBBBBB by ...
0
votes
1answer
48 views

how to install cassandra tarball?

from http://www.planetcassandra.org/cassandra/ I have dsc-cassandra-2.2.4-bin.tar.gz How do I install it?
1
vote
1answer
51 views

Search and encrpyt single file in gpg encrypted folder

i have a huge gpg encrypted tar-gzip file ~100 GB. But only need a single folder from it. I can list/search the content by doing eg. gpg -d file.tar.gz.gpg|tar -tz |grep "filename"|more This is ...
0
votes
0answers
10 views

Which type of tar compression has the best compression power? [duplicate]

There are many variations of the .tar compressed packages tar.bz2; tar.gz; tar.Z; tar.lz; tar.xz I want to compress: A series of text files video(s) I understand that the different types of tar ...
0
votes
2answers
65 views

What is the difference between .tar files [duplicate]

What is the difference between .tar.gz and .tar.xz (is there more?)? I know that you can just open up Archive Manager and extract them. But what is the actual difference? Which should I use? What ...
1
vote
2answers
330 views

Manually add files to tar

I have a ton of txt.gz files on a network I want to ungzip and put into a tgz. I have enough disk space for the all compressed files, but not uncompressed. The way I see it in my head is tar -czf ...
0
votes
1answer
21 views

Backup script for Unix

I have written a shell script to take backup. #!/bin/bash TIME=`date +%b-%d-%y` FILENAME=backup-$TIME.tar.gz SRCDIR=/home/ubuntulover/scripts ...
0
votes
1answer
20 views

Backup and restore whole system with TAR issue

This happened a few times. So I am curious why. For some purpose, I did tar cf /backup/os.tar / --one-file-system. Then booted into rescue system and remade root filesystem. Then tar xf ...
0
votes
0answers
15 views

Installing a .tar file without configure, install or readme file [duplicate]

I've managed to extract the file and gained two additional executable files but nothing seems to work and I have been kind of stuck for the last couple of hours. Everybody else seems to get these ...
0
votes
1answer
134 views

How to untar a .tar.xz file

I tried to run: tar -zxvf name.tar.xz but all I got was: tar: Child returned status 2 tar: Error is not recoverable: exiting now
-1
votes
1answer
82 views

How to extract .tar.bz2?

Im downloading an engine game file witch it compressed in .tar.bz2. Im trying command tar -zxvf enginsxt.tar.bz2 And it gives error. I know that command tar -zxvf only for extracting .tar.gz ...
4
votes
2answers
275 views

Confusion between archiving and compressing?

I am confused about archiving and compression and I am going to write what I think is correct. Here are the commands that I wish to get a better understanding of: tar –c file > file.tar tar –cf ...
0
votes
2answers
2k views

Popcorn-Time installation

I downloaded a new Popcorn Time from popcorn-time.se and I don't know how to install a tar.gz file. I extracted the folder that is in tar.gz and then tried to run command sudo ./install but there in ...
0
votes
1answer
35 views

error in untarring

I am now trying to install Texlive ON UBUNTU 2015, but I get this installation S error : untar: untarring /usr/local/texlive/2015/temp/amsfonts.tar failed (in /usr/local/texlive/2015/texmf-dist) ...
4
votes
1answer
84 views

how to tar in python

I want to backup my website using a python script. This is the script: #!/usr/bin/python import os import time import datetime from subprocess import call DATETIME = time.strftime('%Y%d%m-%H%M%S') ...
1
vote
1answer
95 views

How can I install programs from Tarballs?

I was trying to install get several programs. I realized that a lot of the installations came in the form of tar and deb files. I have no idea how to install tar files so I searched and found that you ...
5
votes
1answer
125 views

Why does Tar preserve the original files' permissions even when not passing the `-p`, `--preserve-permissions` or `--same-permissions` switch?

From man 1 tar: [...] -p, --preserve-permissions, --same-permissions extract information about file permissions (default for superuser) [...] --no-same-permissions ...
1
vote
2answers
1k views

./configure: No such file or directory while installing tar.gz

I am new to the Ubuntu. I tried to install pycharm-community-5.0.tar.gz with following command: tar -xzf pycharm-community-5.0.tar.gz cd pycharm-community-5.0 ./configure it says ./configure: ...
0
votes
0answers
34 views

How to recover backup

I made a back up with the following commands: cd / sudo tar cvpzf /media/fred/New_Book/14.10BU2015Mar25.tgz I am attempting to recover with: cd / sudo tar xvpfz ...
0
votes
0answers
33 views

I'm unable to extract openvpn configuration files in the requisite folder

I'm getting the following error when I enter the command written below. I've already downloaded the configuration files needed to configure openvpn. My System: Ubuntu 15.04 32 bit ...
2
votes
3answers
168 views

simple tar and extract command

I am new to Ubuntu (terminal especially) and I am experimenting with the tar command. I have created a /test folder containing one single /test.txt file at /var/www/html/test/test.txt. I would like ...
2
votes
1answer
923 views

Piping with SSH and split the file

Im using tar zcf - stuff | ssh user@server 'cat > data.tar.gz' Is there a way to split the file on transfer? Something like this: tar zcf - stuff | split -b 5G | ssh user@server 'cat > ...
1
vote
0answers
84 views

tar: gzip: stdin: unexpected and of file

Hi anybody has an idea about this error: PLAY [Deploy to status servers] *********************************************** GATHERING FACTS ...
0
votes
0answers
16 views

Never Hide “Compress” In Nautilus

When a file of basically any format or file extension (I don't know which of them is used to differentiate in this case) is right-clicked in Nautilus, there is this neat entry of File Roller called ...
0
votes
0answers
15 views

How do I install virt-manager from a .tar.gz file? [duplicate]

How do I install virt-manager from a .tar.gz file? I used the tar -zxvf file.tar.gz command. But when I use virt-manager --version, I see the old version. I think if I use the apt-get command, the ...
0
votes
2answers
69 views

Why am I not being able to tar /opt and move it to my USB location in Linux

I am trying to preform this command to tar /opt and move it to my usb with directory: /media/usb-sdb1-1-7-1/ However I am getting an error here is the command I am preforming: tar czf ...
0
votes
1answer
1k views

Using tar, the entire folder structure is including, I don't want that

I am taring a folder and for some reason the entire directory structure that preceds the folder I am tarring is included. I am doing this in a script like: 'tar czf ' + dir + '/asdf.tgz ' + dir + ...
5
votes
2answers
9k views

sudo tar cvpzf exiting with failure due to previous error

I looked at the other question addressing this issue but I think I might have a different setup. I too am trying to backup my Ubuntu machine, but here is the difference. I used Wubi to install Ubuntu ...
2
votes
1answer
369 views

How to create a common base folder with tar and how to rename folders?

So I'm pretty new to Ubuntu and the whole Linux environment though I'm a computer scientist and I want to become familiar with the basic commands. At the moment I am working with .tar and .tar.gz ...