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

1
vote
2answers
10k views

“Cannot open: No such file or directory” when extracting a tar file

I am trying to install Apache Cassandra that is a tar.gz file. The following is the output I am getting. 1st instance: tar -zxvf apache-cassandra-2.0.3-bin.tar.gz tar (child): ...
3
votes
1answer
4k views

I am trying to install a compressed package ending in .tar.gz and I am getting an error saying that it is not in the right format,

I am new to Ubuntu and after doing some research I still can't figure what I am doing wrong. I am downloading the a package ending in .tar.gz,then I when I try to use: tar -xvf matlab_r2011b.tar.gz ...
1
vote
1answer
3k views

Problem with extracting a .tar.gz file

I've downloaded a '.tar.gz' file from here. File size is 152 MB. The downloaded file size is 450 MB on my computer !! I tried to extract that file but I get below error : gzip: stdin: invalid ...
1
vote
0answers
15 views

/opt: Cannot open: Not a directory

I run sudo tar -xzvf eclipse-jee-mars-R-linux-gtk-x86_64.tar.gz -C /opt But I can't extract it: tar: /opt: Cannot open: Not a directory tar: Error is not recoverable: exiting now
0
votes
2answers
27 views

How to create a zip file from contents of a folder with certain name pattern?

is it possible to create a tar.gz file from contents of a folder but only put the files with certain name pattern in the archive and ignore the rest? for example just put the files which their names ...
0
votes
2answers
14 views

Error when extracting lzma tar ball in terminal tar : “Unexpected EOF in archive”

xz: (stdin): Unexpected end of input tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now What does this mean? What I entered: sudo tar --lzma ...
1
vote
1answer
20 views

trying to copy from root to user

I mounted a folder inside my C drive to a root path of mnt/myFolder now I am trying to copy the contents of that folder to /home/dev/build/mysource I used that command that was taught by my senior ...
1
vote
1answer
24 views

backing up and compressing /home directory using lzma

Will this work? sudo tar -cvpf backboxhome.tar.gz/home/user --lzma I am mainly confused on where to place the --lzma argument.
0
votes
1answer
32 views

Trying to append file to tar archive returns error “Cannot stat: No such file or directory” [closed]

Just started using Linux and practising using different commands, as a learning exercise I was trying to append a file to a tar archive that I created named "test.tar" using this command: tar rvf ...
0
votes
0answers
20 views

Installing wavetomidi (tar.gz archive)

I'm trying to install wavetomidi (http://sourceforge.net/projects/wavetomidi/) but it won't work... It's a tar.gz archive, so I extracted it. I then ran ./configure, but it told me to install ...
0
votes
1answer
19 views

Extract all files from a .tar.gz after wget and rename them

Is there any easy way extract all files from a .tar.gz and rename the files upon extraction? The tars inside look like: file1.obj file2.xr file3.ty file4.hjg All files are different extensions, but ...
0
votes
1answer
23 views

xcrysden 1.5.53: unable to resolve host address `prdownloads.sourceforge.net'

I'm Mayuri. When I tried to install xcrysden 1.5.53 in Ubuntu, I ran into the difficulty below: After running the commands: tar xvf xcrysden-1.5.53.tar.gz && cd xcrysden-1.5.53/ cp ...
0
votes
1answer
26 views

Error “Cannot utime: Operation not supported” when restoring a tar archive on an android device

I replaced the MicroSD card in my mobile (Samsung Galaxy S4 Mini running CyanogenMod 11 with encryption) with a bigger one. Before I pulled the old one out I backed up its content into a tar file: ...
1
vote
0answers
118 views

LTO Backup problem in Ubuntu

I'm seeking advice how to troubleshoot this further... I have a Adaptec ASC-1405 SAS card and a HP LTO-4 tape drive. I make a normal tar backup, tar -cvf /dev/nst0 ... This works with any fuzz. But ...
0
votes
1answer
23 views

I cannot uncompress the file linux.hla.tar.gz because the computer cannot find the file

I am new to ubuntu, and I cannot seem to solve this problem. When I try running the command tar -xvf linux.hla.tar.gz, I get the error message tar: linux.hla.tar.gz: Cannot open: No such file or ...
0
votes
0answers
35 views

Error executing “./configure” command : bash: ./configure: No such file or directory

I have downloaded CiscoPacketTracer6.2.tar.gz file. Now I want to install it. The command I have use is tar xvfz CiscoPacketTracer62Student.tar.gz Then I navigate to that directory using cd ...
0
votes
1answer
71 views

How to put Preinstalled UBUNTU Touch Image in usb

I have an x86 tablet and I want to install Ubuntu touch on it I downladed the tar.gz image at http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/20150523/ but since its tar.gz I do not know ...
0
votes
1answer
44 views

Issue when attempting to install utorent 3.3

After attempting to set a symbolic link this comes up (I assume this mean I have done it already, which would make sense because this is one of many attempts). :~/Downloads$ sudo ln -s ...
1
vote
1answer
44 views

How to install Audacity [closed]

First of all, I'm new to Ubuntu. I just install it. I do not know anything about linux though I'm a Windows user. I'm trying to install Audacity in the software center but always fails. First, it says ...
2
votes
2answers
60 views

Archiving a lot of files / one big file

I want to compress about 100'000 files (that's what find . -type f | wc -l says) with a total disk usage of 100 GB. Most of the files are small but just a handful of them makes up about 70 GB of the ...
0
votes
2answers
21 views

How to recover boot filesystem from a tar archive

I have rebuild my Ubuntu 14.04.1 installation as the USB drive which contained the boot partition crashed. I have a recent backup of all of / except for /proc /sys /mnt /media /run /tmp /dev. ...
8
votes
3answers
7k views

How do I create tar.7z file from the command line?

I would like to zip up my homework from last year. How do I tar and zip the whole folder from command line Ubuntu (I don't have GUI).
0
votes
1answer
289 views

Why I get “Cowardly refusing to create an empty archive” with TAR command?

I'm trying to follow this tutorial to full backup my linux / Ubuntu 12.04 after a fresh restore. my code in fullserver.sh : tar -cvpf /backups/fullbackup.tar --directory=/ --exclude=proc ...
0
votes
1answer
24 views

Getting a tar file for latest linux patches

$ curl -L https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.0.1.tar.xz | tar -xjkf - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left ...
0
votes
0answers
32 views

Restoring a new install of Ubuntu from a .tar.gz backup

I have created a backup of my system using .tar.gz archive. Followed this example. Now I want a new install of Ubuntu on my other computer and want to carry accross my backup which contains all the ...
8
votes
2answers
632 views

Is it possible to convert 7z to tar directly?

I have a .7z file containing ~360,000 images in multiple directories. I'd like to convert it to a .tar so that I can open it in another computer. Is there a better way than extracting it to files and ...
3
votes
2answers
186 views

Why does gzip on tar output always produce different results?

What I expect from two commands which always produce the same output on their own, is them to always produce the same output when put in a pipeline, but apparently this is not the case for tar | gzip: ...
4
votes
1answer
401 views

How can I make tar read input from stdin?

I need to use tar in a pipeline inside a shell script to archive and compress some files. After having read the manpage for tar I was able to make tar output to stdout by running it along with the -O ...
0
votes
2answers
1k views

compressing a list of files by using tar

what I am trying to do is to compress a list of files using tar. So what I am doing is sudo tar -pcf filename.tgz `cat filename.list` so if there is a directory on the list like this ...
0
votes
1answer
242 views

Install or run FlashTool?

Okay, I've downloaded "flashtool-0.9.18.5-linux.tar.7z" from the Xda Forums ( http://xda-forum.blogspot.nl/2015/03/how-to-install-xperia-firmware-using.html ) and I have tried to run "x10flasher.jar" ...
0
votes
1answer
807 views

tar: Removing leading `../' from member names

I am testing out the functionality of tar by compressing and extracting directories as follows: cd test mkdir Documents mkdir foo cd foo sudo tar cf - ../Documents | tar xf - The last command ...
1
vote
1answer
392 views

How to install qpdfview 0.4.14?

I have been using the 0.4.12 build for a couple of months now and am ready to update to 0.4.14. I've tried a couple of things to install it but for fear of screwing up my Trusty environment I thought ...
10
votes
2answers
2k views

Why I can't uncompress a .bz2 file using tar?

So I have this wikipedia dump sized at about 10gb and named as "enwiki-latest-pages-articles.xml.bz2". I have been trying the following commands in the terminal to unzip the dump: tar jxf ...
2
votes
1answer
48 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 ...
0
votes
1answer
64 views

Installation of Older version QGIS2.4 on Ubuntu 14.04 rather than QGIS2.8

I downloaded the qgis2.4 tarball from the qgis website, but it doesn’t follow the typical 3 steps of installation : ./configure make make install So I am stuck and unable to move forward. Could ...
12
votes
3answers
6k views

Any linux command to perform parallel decompression of tar.bz2 file?

I have a rather large file (~50GB) and it takes some time to run tar xvf file.tar.bz2 on it. I'm aware of programs that can do parallel compression for bzip2 files but unaware of programs that can ...
0
votes
1answer
31 views

Revkit make.py bootstrap error

username@ubuntu:~$ cd revkit-2.2 username@ubuntu:~/revkit-2.2$ ./make.py bootstrap bash: ./make.py: No such file or directory What does this mean and why does this happen?
2
votes
1answer
118 views

Tar restore from tape fails

I have a basic backup to tape script and restore script that was written by a previous admin. When trying to restore from tape, I get the following error: tar: v: Cannot open: No such file or ...
216
votes
8answers
361k 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
395 views

How do I install torbrowser 4.0.3 in Ubuntu 14.10 using tar command?

When I enter the command: tar -xvJf tor-browser-linux32-4.0.3_LANG.tar.xz It gives me this error: tar (child): tor-browser-linux32-4.0.3_LANG.tar.xz: Cannot open: No such file or directory tar ...
0
votes
0answers
269 views

Ubuntu 14.04 Anaconda Install Help

I started using ubuntu not to long ago. I am trying to install Anaconda on my linux distribution. Am following the instructions below: http://docs.continuum.io/anaconda/install.html#linux-install ...
0
votes
1answer
66 views

default package: tar .xz or tar .bz2?

I am using Ubuntu 12.04 LTS 32 bit, 2 GB of memory. Which default package should I select when asked before downloading an application like the Opera Web Browser?
-1
votes
1answer
128 views

I have a problem trying to install files with .tar.gz

I tried to install .tar.gz files in my computer through command line with the tar -xzf archive.tar.gz and it gives me this error tar (child): archive.tar.gz: Cannot open: No such file or ...
0
votes
0answers
63 views

Compressed backup solutions

The Question Is there a way I can use rsync, and enable compression of my data at the backup target? I'm aware of compression of data during transport, but I've disk space restrictions. I am ...
8
votes
3answers
17k views

How can I update a tar.gz file?

I have created a tar.gz file (using the GUI, not the command line). How can I update it with a command that new files are added and modified files are updated, too?
1
vote
1answer
82 views

Excluding files and directories from tar

Why does the command tar -cvpzf backup_140128.tar.gz --exclude=/backup_140128.tar.gz --exclude=/temp_intel * not exclude the /temp_intel directory?
8
votes
2answers
28k views

How to unzip .tgz file using the terminal?

I've downloaded mongodb-linux-x86_64-2.6.3.tgz file using windows 7 and kept it on D:\Amra\Software\Developing Soft location. When I right click this .tgz file using Ubuntu and see property it shows ...
0
votes
0answers
35 views

Please help me to install tar.gz packages with terminal [duplicate]

I’m trying to install tar.gz packages with terminal and I’m completely lose. Please help me to install them.
0
votes
1answer
7k views

install from .tar.gz [duplicate]

I am running Ubuntu 14.04 LTS, 64-bit. I know there are a lot of topics on ".tar.gz" but it didn't answer my questions and/or I didn't undetstand the answers. I am trying to install from a .tar.gz ...
0
votes
0answers
23 views

Ways to unpackage a tar file [duplicate]

I have heard of many different ways to unpackage a .tar file but it is unclear which ones are "official" (if there is one) and how they are different. Also, I have noticed that some work on some ...