Questions tagged [tar]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

I get an error when trying to extract the tor browser .tar.xz file, what did i do wrong?

sudo tar -xf [TB archive] tar: [TB: Cannot open: No such file or directory tar: Error is not recoverable: exiting now
erich slaight's user avatar
2 votes
1 answer
357 views

Two ways to install partimage in Ubuntu 22.04?

I have a folder for the program "partimage", and I want to install partimage in Ubuntu 22.04. The path to this extracted tar file is (I know it is case sensitive): /Home/Downloads/partimage/...
oliver maz's user avatar
0 votes
0 answers
94 views

how to uninstall 7z2201-linux-x64.tar.xz applications in ubuntu 22.04?

sudo apt-get purge 7z2201-linux-x64.tar.xz 7z2301-linux-x64.tar.xz Error like Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate ...
Jasmi VInay's user avatar
0 votes
1 answer
48 views

Including a specific file which is already `--exclude`d in the `tar` command line

I want to backup some directories using tar. However, there are some sub-directories that I want to skip. So, my command line is something like this: cd / tar \ --exclude=thisdir --exclude=thatdir ...
FedKad's user avatar
  • 10.5k
0 votes
0 answers
631 views

The sdl2-config script installed by SDL could not be found

I had tried to install archive.tar.gz file, on fresh installed linux OS and it give me this error message. after i had apply lm@debian:/$ sudo apt-get install libsdl2-dev Reading package lists... Done ...
antondroid's user avatar
1 vote
0 answers
421 views

DXVK doesn't install in wine prefix

i recently installed spitfire audio app using wine. The app has graphical issues. i was told to install dxvk, but when i did, winetricks returned this error: Executing cd /home/USERNAME/.wine/...
Josiah's user avatar
  • 11
1 vote
0 answers
43 views

tar skip trying to compress files by extension

I noticed when compressing a directory with tar+gzip that the compressor was spending a lot of time trying to compress mp4 video files in vain. This makes me wonder: does gzip or any other common ...
qwr's user avatar
  • 2,802
0 votes
0 answers
90 views

Compiling source code for Audacity 2.4.2 on Xubuntu Linux

After recently switching to Xubuntu Linux 22.04 on my laptop, I am trying to install Audacity 2.4.2 (specifically this version, as succeeding versions of audacity contain spyware that not only steals ...
Cranberry's user avatar
0 votes
0 answers
28 views

How to extract the contents of a tar file into an existing directory [duplicate]

Please do not mistake this question with "how to untar a tar file into an existing directory". For this question there are already answers such as this one What I am trying to do is to untar ...
KansaiRobot's user avatar
0 votes
1 answer
377 views

Tor Browser Installation: How to Make the Application Icon Persist?

I installed the Tor browser by first downloading the tar.xz file and extracting it using the command 'tar -xf your_file.tar.xz'. Then, to run the application, I used the command './start-tor-browser....
Kami Karamazov's user avatar
0 votes
0 answers
415 views

Corrupted TAR archive

I'm reinstalling my pc and I made a TAR archive to backup my home folder (~22GO when compressed). When I reinstalled my system, I tried to extract the archive. It goes well until it says tar: Skipping ...
Kertrix's user avatar
2 votes
1 answer
343 views

How to tar xf glib-*.tar.gz correctly?

I downloaded glib-2.76.3.tar.xz from https://download.gnome.org/sources/glib/2.76/ Extracted the file and opened the INSTALL.md inside of it. Here's an excerpt of it: Simple install procedure =========...
Gimper's user avatar
  • 41
3 votes
2 answers
502 views

tar command with and without --absolute-names option

I am currently using ubuntu 20.04 machine. I was trying to create compressed archives using tar command using the below command, sudo tar -caf /opt/archive.tar.bz2 /home/bob/databases/ my current ...
Alakananda S's user avatar
0 votes
0 answers
317 views

How to limit tar process to not utilize IO at max?

So I have a server where I have important processes running 24/7, and once per day I run a backup of a specific folder like this: time tar cf ${HOME}/${SNAP_NAME} -C ${DATA_PATH} . &>>${...
user1692021's user avatar
7 votes
1 answer
55k views

Help with installing the Chrome web browser (22.04.2 LTS)

I have just installed Ubuntu 22.04.2 LTS on my computer a few hours ago. For a few days, I tried to do an install so I could dual boot between Ubuntu & Windows 10. But I had failure after failure,...
user3284954's user avatar
0 votes
1 answer
320 views

22.04 upgrade stuck on extracting jammy.tar.gz

upgrading from 20.04 to 22.04. Ran these commands: sudo apt update && sudo apt upgrade -y sudo update-manager -d This is what is showing on screen: Checking for a new Ubuntu release ...
John M.'s user avatar
  • 31
0 votes
1 answer
231 views

tar change permission of parent directory to 775

I tried to untar file with below command sudo -u ubuntu tar -xzf tar.tgz -C "$(dirname "/home/ubuntu/deploy/")" The tar log looks like ./ ./deploy/deploy_scy.yml ./deploy/...
Tien Dung Tran's user avatar
0 votes
0 answers
42 views

I have yet to locate any clearly delineated instruction on how to install a .tar.xz file in ubuntu 22+ using the command prompt only. Anyone? [duplicate]

I have yet to locate any clearly delineated instruction on how to install a .tar.xz file in Ubuntu 22+ using the command prompt only. Anyone? I've found so many variations, permutations, and ...
user avatar
2 votes
1 answer
1k views

tar extract ignore timestamp

I create myarchive.tar on machine A and use tar -xvf myarchive.tar on machine B where tar complains about timestamps : tar: lib/libboost_date_time.so.1.65.1: time stamp 2023-02-27 20:06:01 is 254449....
Bradley Bauer's user avatar
4 votes
3 answers
626 views

How do you efficiently/correctly extract data from a tarball into a new Ubuntu distribution?

I am updating my Ubuntu distribution from 18.04 to 22.04. I exported the Ubuntu 18.04 instance with wsl --export Ubuntu-18.04 <file.tar> to a tarball and am trying to figure out how to ...
coniferous's user avatar
0 votes
2 answers
52 views

How to set up on Ubuntu 18.04 VM on Virtualbox for Edx Stanford Compiler Course

https://courses.edx.org/courses/course-v1:StanfordOnline+SOE.YCSCS1+3T2020/6b750292e90d4950b895f621a5671b49/ I am trying to untar the downloaded package and it keeps failing. nyck33@nyck33-VirtualBox:/...
mLstudent33's user avatar
0 votes
0 answers
683 views

Why ubuntu doesn't run a bin file?

I'm trying to install a software on Ubuntu 22.04 LTS. After downloading the tar.gz file, I extracted the files with the command: tar -xvf CCS6.1.0.00104_linux.tar.gz Then I entrered the extracted ...
Vittorio 's user avatar
3 votes
3 answers
5k views

Creating tar files without including the directories

I am fairly new using tar having used zip files in the past. I want to just create the tar file without the directories being included. I went here, but found it a bit confusing. https://www.baeldung....
fixit7's user avatar
  • 3,127
0 votes
0 answers
366 views

ssh connection drops immediately, was working recently

I have seen a similar issue posted elsewhere, but mine seems to be slightly different. I am sshing into a Ubuntu 16 server, and it was working literally hours ago. I started a backup using tar -cvpzf ...
mginn's user avatar
  • 101
4 votes
2 answers
1k views

How can I extract files in the directory where they're located with the find command?

I have tried to extract multiple files from the directory where they're located with: for i in $(find . -name '*.tgz'); do # search the tgz files and extract them tar -xvzf $i done I expected ...
Cook4733's user avatar
1 vote
1 answer
309 views

tar lzma autocompression produces the error "This does not look like a tar archive"

The following script mkdir test && cd test mkdir files touch files/{1,2,3} tar --create --file "test.lzma" files/{1,2,3} --auto-compress mkdir extracted_files tar --extract --file &...
cppbest's user avatar
  • 11
0 votes
1 answer
1k views

How to decompress without any extraction a .tar.xz file into .tar file?

I have - file1.txt, file2.txt, file3.txt, file4.txt, file5.txt Now, I do - tar -cvf archive.tar file[1-5].txt Next, I do xz archive.tar and I get archive.tar.xz Now, How can I get back my archive....
Payel Senapati's user avatar
1 vote
1 answer
138 views

Can I rollback apt-upgrade from tar backup?

I recently made apt-upgrade which broke something in my system that I cannot identify. I have a .tar backup of the whole filesystem that I made recently. Is there a way to use this backup to rollback ...
user1616942's user avatar
4 votes
3 answers
8k views

Trying to unzip a tgz in WSL but get ELF not found error

I would like to unzip a .tgz file, but I get an ELF not found error. I am using Windows 10 and Ubuntu 22.04 in WSL. Here is a screenshot of the error:
kk-at-cbx's user avatar
  • 143
0 votes
1 answer
124 views

Cannot locate file after moving

The thing is that I am starting after a few months of experience in linux to use the command line. I was trying to use a new "cursor theme". I found on reddit that I needed to move the file ...
milintime's user avatar
  • 119
0 votes
1 answer
1k views

How to install waterfox from tar.bz2 [duplicate]

brand new to Lubuntu, as in day 2...trying to install Waterfox. I downloaded tar file (waterfox-G4.1.0.en-US.linux-x86_64.tar.bz2), extracted to a folder, but when I try to click on extracted files '...
Jhee's user avatar
  • 1
0 votes
2 answers
843 views

Do I need to convert to gzip format or tar format?

$file ccache-2.4.tar.gz ccache-2.4.tar.gz: HTML document, ASCII text The file, ccache-2.4.tar.gz is in the ASCII test format ccache-2.4.tar.gz: not in gzip format tar: This does not look like a ...
vignesh's user avatar
4 votes
1 answer
159 views

How best to copy just parts of a tar file

I'm retired but I used to teach at a university. I was supposed to destroy all records of student grades (it's a law), but I just noticed a bunch of my backups have years of my home directory from ...
4dummies's user avatar
  • 462
1 vote
1 answer
50 views

How to Install Pulsecaster? Python install not working

I am running Ubuntu 20.04 LTS. I am trying to install the software http://stickster.github.io/pulsecaster/ It comes in a tar.gz file which I have downloaded and extracted to a folder. Instructions on ...
gaoblai's user avatar
  • 83
0 votes
0 answers
17 views

Installing and using dcfldd on 20.04.4 LTS [duplicate]

I was unable to install dcfldd onto my live-ubuntu-usb which I want to do in order to wipe my HD that I am planning to sell. I tried both with simple sudo apt install dcfldd As well as by trying to ...
216ann's user avatar
  • 43
0 votes
0 answers
7k views

Unable to extract using tar: Error is not recoverable: exiting now

Unable to extract using tar: Error is not recoverable: exiting now Can someone help me with this issue ? Log4j2 download link wget https://www.apache.org/dyn/closer.lua/logging/log4j/2.17.1/apache-...
unknown's user avatar
  • 99
3 votes
1 answer
1k views

Unable to install a .sh file

I am trying to use a package called mgl-tools and when I run ./install.sh, it isn't working. It used to work a few days ago. The error: ./install.sh Installing MGLTools to /home/aka/Desktop/Expt 10/...
AKA's user avatar
  • 55
1 vote
2 answers
2k views

GNU tar - update tar file, overwriting the original file in command line(which is possible by drag-and-drop in Archive Manager)

I want to update a tar file with part of the content modified, by overwriting the original file, in a script. I tried tar -u, -A and -r, but none does what I want. I also tried with --overwrite. An ...
WesternGun's user avatar
1 vote
0 answers
364 views

Untar failed due to compressed data--format error?

I've been trying to untar this file for several days now, and every time I try it again it ends up corrupting the file and creating corrupted files and directories. I have tried reinstalling tar and ...
Mr. Goose's user avatar
-5 votes
1 answer
36 views

Bad uninstall of avg2013flx still causing prob (cont of my last issue)

The issue from my last post is still not solved and has rendered the Snap Store useless. I am getting an error that looks like this while uninstalling the Steam Installer. "Unable to remove '...
BaddaBeepBaddaBoop's user avatar
1 vote
1 answer
273 views

Create tar backup on USB fails

A question please: when I use a Data Taveler 100G3 USB stick, capacaity 128 GB to make a backup of my home directory I get an error: tar -czvf /media/dick/linux-bck/home-usb.gz /home/dick gzip: stdout:...
Dirk's user avatar
  • 299
-1 votes
1 answer
575 views

how can i download ubuntu's kernel?

is there any way to find and download latest Ubuntu desktop specific kernel? for example how can i download latest kernel belongs to Ubuntu 21.10? i am looking for .tar.xz file of Ubuntu kernel. also, ...
ali HOZA's user avatar
  • 434
0 votes
2 answers
1k views

installing stripe for VSC on ubuntu 18.04

I am following these directions: Download the latest linux tar.gz file from https://github.com/stripe/stripe-cli/releases/latest Unzip the file: tar -xvf stripe_X.X.X_linux_x86_64.tar.gz Move ./...
band's user avatar
  • 35
2 votes
1 answer
922 views

How to get executable program from tar.xz file

I want to use the program KDE Iso Imagewriter, but it seems to only be available as a tar.xz file. How do I derive an executable file from the tar.xz file?
Paul A.'s user avatar
  • 2,141
0 votes
1 answer
2k views

Why is my alias from .bashrc not working?

I've written a line in .bashrc alias untar='sudo tar –xvzf' Now, when I use "untar" in bash I get the error: untar filename.tar.gz tar: invalid option -- '�' Try 'tar --help' or 'tar --...
Mark Rensen's user avatar
1 vote
2 answers
15k views

I do not know how to install a tar.gz file

I read the answers to similar questions but it did not help me. My computer runs on Xubuntu, a derivative of Ubuntu. I am trying to install a package from this website : https://github.com/...
Sylvain Moraillon's user avatar
0 votes
1 answer
130 views

Where do I extract tar archive in linux? [duplicate]

I use Ubuntu's derivative Xubuntu. Sometimes a software I would like to install is not available in the apt repository and can be downloaded in form of compressed tar archive. What would be the proper ...
blablaalb's user avatar
  • 173
0 votes
0 answers
34 views

Unpacking a .tar only persists if left for 30+ seconds

I work for a company that has several Ubuntu 18.04 Server units scattered across the USA running our own software. The units are used by our clients a few days a week and the rest of the time sit idle ...
JPetersonVNL's user avatar
2 votes
2 answers
10k views

How to create a tar file to a specific folder from a different folder

Hi guys i am new to linux. I am trying to create a tar file from a different directory and want to be placed a specific directory. I have tried this cmd tar -cvf dailybackup.tar /root/...
Rajendran's user avatar
1 vote
0 answers
659 views

Tar a file along with preserved file capabilities

We are building a root filesystem of Ubuntu 20.04 with packages installed using debootstrap and finally tar it using: tar -c --use-compress-program=pigz -f $ROOTFS --numeric-owner -C $TMPDIR . ...
Aravindhan Krishnan's user avatar

1
2 3 4 5
12