LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot extract a tar.gz file in Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-extract-a-tar-gz-file-in-ubuntu-4175456716/)

lorahjo 04-03-2013 11:17 AM

Cannot extract a tar.gz file in Ubuntu
 
Firstly, hello. Secondly, I apologise for my utter lack of knowledge of Linux and computers on the whole. I'm a total novice. I am predominantly a Windows user but after it broke (and I refused to part with anymore money to fix it) I have downloaded Ubuntu.

However, (and I feel a tad bad sayin this) I want to extract a file to make ubuntu look like Windows.

It's a lzma.tar.gz file. I archived it and then tried to extract it but it keeps saying "Operation not supported". I've literally tried ALL DAY to try and extract it but I've had enough, I admit defeat and I'm asking for any technoligical minds out there to help me. Please.

Thanks,

Laura.;)

jdkaye 04-03-2013 11:36 AM

Hi and welcome to LQ
From the command line type:
Code:

tar zxvf %path to file%/filename.tar.gz
Have fun,
jdk

shivaa 04-03-2013 11:37 AM

Just try:
Code:

~$ tar -zxvf lzma.tar.gz
OR, try:
Code:

~$ gunzip lzma.tar.gz
~$ tar -xvf lzma.tar

If it again gives same error, once invoke following cmd and share output here:
Code:

~$ file lzma.tar.gz

lorahjo 04-03-2013 12:02 PM

:S
 
Quote:

Originally Posted by shivaa (Post 4924395)
Just try:
Code:

~$ tar -zxvf lzma.tar.gz
OR, try:
Code:

~$ gunzip lzma.tar.gz
~$ tar -xvf lzma.tar

If it again gives same error, once invoke following cmd and share output here:
Code:

~$ file lzma.tar.gz

I think I should have replaced the word 'novice' with 'absolutely hopeless'.
When you say 'the command' are you referring to the 'terminal'. Also, am I to write them letter for letter? Or am I supposed to be writing the filename in there somewhere (currently it's located in downloads).

Thanks so much for your speedy replies.I really do appreciate it! :)

snowday 04-03-2013 12:04 PM

Simply double-click the file in your Nautilus file manager, and it should open with Archive Manager, allowing you to extract it. (If it doesn't for whatever reason, then try right-clicking, Open With).

However.... what do you mean by this statement, exactly?

Quote:

Originally Posted by lorahjo (Post 4924382)
I want to extract a file to make ubuntu look like Windows.


DavidMcCann 04-03-2013 12:28 PM

lzma is a compression type, so I presume the file is called something.lzma.tar.gz

The correct extraction command is
tar --lzma -xvf something.lzma.tar.gz

If that fails, you probably need to do
sudo apt-get install lzma

lorahjo 04-03-2013 12:47 PM

laura@laura-laptop:~$ sudo apt-get install lzma
[sudo] password for laura:
Reading package lists... Done
Building dependency tree
Reading state information... Done
lzma is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
laura@laura-laptop:~$

It still doesn't work when I do that.

It keeps coming up with an error when I "Extract to".

The file I want to open is file:///home/laura/Downloads/Win2-7Pack_v6.8.3_Multilang_Aero_MD5_14f6a20dee3a4355cf0df01631487853.tar.lzma.tar.gz


This is infuriating. :S

snowday 04-03-2013 12:56 PM

Quote:

Originally Posted by lorahjo (Post 4924440)
It keeps coming up with an error when I "Extract to".

And the error says what? (We are not mind readers ;))

HOWEVER

If you are trying to install this: http://gnome-look.org/content/show.p...content=113264
It is for an old obsolete version of Gnome and probably won't work in recent Ubuntu releases.

Why not spend some time getting used to Ubuntu's interface, instead of trying to make it look like Windows?
Here are some frequently asked questions about Ubuntu's default "Unity" desktop environment: http://askubuntu.com/questions/tagged/unity?sort=faq
Or maybe try KDE, which some users think looks more "Windows-like": http://www.psychocats.net/ubuntu/kde

shivaa 04-03-2013 12:56 PM

Quote:

I think I should have replaced the word 'novice' with 'absolutely hopeless'.
When you say 'the command' are you referring to the 'terminal'. Also, am I to write them letter for letter? Or am I supposed to be writing the filename in there somewhere (currently it's located in downloads).
You can extract the file in both ways, that is, from command line (by opening a terminal, and invoking the above said commands) as well as from GUI (for GUI, follow what snowpine has said above).

However, it's all about your preferences. From command line, simply open a terminal and invoke command:
Code:

~$ tar -zxvf /path/to/lzma.tar.gz

Madhu Desai 04-03-2013 01:02 PM

1. How can I extract it?
A. Use "Extract Here" from the context menu or run "cat Win2-7Pack*.tar.lzma | lzma -d | tar x" at a terminal.

2. When extracting I get: "This does not look like a tar archive"?
A: Remove ".tar" from the end of the filename.

3. How do I install?
A: Run GUIInstall.sh.

For more information: Win2-7 Pack 6.8.3 Multilang FAQ

JackHamm3r 04-03-2013 01:04 PM

Open the terminal
Do this command 'su -' (without the '' of course), it'll require root password
Then type 'nautilus', it'll open the nautilus with root permission
Then browse for ur file in that window
Double click on the file, it'll open the archiver
Then select all the desired files, click drag them to any folder outside
That should about do it

John VV 04-03-2013 01:05 PM

Quote:

Win2-7Pack_v6.8.3_Multilang_Aero_MD5_14f6a20dee3a4355cf0df01631487853.tar.lzma.tar.gz
from where did you get this ?

from Google i am seeing a LOT of " file sharing"
hits "hotfile","4shared", and so on

and NONE OF THEM i would trust

once you do get is extracted
RUN ClamAV on it !!!!!!!!!!!!
to check for a virus


now "gnome-look"
has it
http://gnome-look.org/content/show.p...content=113264
that one i would trust
BUT ,and it is a big one
it is for Gnome2 !!!!!!

it will not even come close to working on Gnome 3

about the only OS's that are still using Gnome2 is
RHEL5 and 6 ( cent and sl also)
and "fuduntu "
and Debian stable

Madhu Desai 04-03-2013 01:13 PM

Quote:

Originally Posted by lorahjo (Post 4924382)
...to make ubuntu look like Windows.

You should try this: How to make Ubuntu Linux look like Windows 7

But i agree with snowpine

Quote:

Why not spend some time getting used to Ubuntu's interface, instead of trying to make it look like Windows?
Here are some frequently asked questions about Ubuntu's default "Unity" desktop environment: http://askubuntu.com/questions/tagged/unity?sort=faq
Or maybe try KDE, which some users think looks more "Windows-like": http://www.psychocats.net/ubuntu/kde

shivaa 04-03-2013 01:17 PM

OP:
You can download Windows based themes from gnome website (see here). Simply download it, and install and apply it.

lorahjo 04-03-2013 01:20 PM

Hmmm... I wonder what I've done
 
Quote:

Originally Posted by shivaa (Post 4924448)
You can extract the file in both ways, that is, from command line (by opening a terminal, and invoking the above said commands) as well as from GUI (for GUI, follow what snowpine has said above).

However, it's all about your preferences. From command line, simply open a terminal and invoke command:
Code:

~$ tar -zxvf /path/to/lzma.tar.gz

I get this: laura@laura-laptop:~$ ~$ tar -zxvf /path/to/lzma.tar.gz
~$: command not found
laura@laura-laptop:~$


All times are GMT -5. The time now is 10:13 PM.