1

I installed the .tar.gz file for BRL-CAD. File name is BRL-CAD_7.26.0.2_Linux_x86_64.tar.gz at location /home/user/Downloads.

I opened Terminal and typed in

$ tar -zxvf BRL-CAD_7.26.0.2_Linux_x86_64.tar.gz
tar (child): BRL-CAD_7.26.0.2_Linux_x86_64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

What exactly should I type into Terminal so I can extract the .tar.gz file?

muru
  • 197,895
  • 55
  • 485
  • 740
  • 1
    Did you cd to Downloads before running the command? – Gunnar Hjalmarsson Oct 21 '16 at 00:28
  • You can simply double-click to open it and extract wherever you want and you can also just select "Extract here..." –  Oct 21 '16 at 00:29
  • @CelticWarrior You don't have the right permissions to extract archives in the folder "bin" – user604803 Oct 21 '16 at 00:34
  • @GunnarHjalmarsson How do I command to Downloads before running the command? (i.e. what do I type specifically?) – user604803 Oct 21 '16 at 00:34
  • @user604803 - No, you don' t but that's NOT part of the question, or is it? The question mentions /home/user/Downloads. –  Oct 21 '16 at 00:36
  • 1
    @user604803 WHY are you using source code (requires compiling) when don' t know the basics, far from it, and there's already a Debian/Ubuntu package (.deb) available? https://sourceforge.net/projects/brlcad/files/BRL-CAD%20for%20Linux/7.26.0/ <- Just download the one for your architecture, double-click it and install. Done! –  Oct 21 '16 at 00:41

1 Answers1

0

Try this:

Open a terminal,

Press Ctrl+Alt+T

Run it:

cd /home/user/Downloads
tar -zxvf BRL-CAD_7.26.0.2_Linux_x86_64.tar.gz
kyodake
  • 15,401
  • This extracts the files straight back to `/home/user/Downloads – user604803 Oct 21 '16 at 00:38
  • Is the extraction destination determined in the files itself? (i.e. Am I unable to control this?) – user604803 Oct 21 '16 at 00:39
  • @user604803 - Yes, it extracts to the same folder, obviously. No, it's not determined by the file itself. –  Oct 21 '16 at 00:42
  • @CelticWarrior But for the program to be installed doesn't it need to be extracted to folders in /? – user604803 Oct 21 '16 at 00:49
  • @user604803 It depends on the program and by the look of it this needs to be compiled because it's just source code. The .deb installer will do everything for you. –  Oct 21 '16 at 00:55