LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2005, 03:14 AM   #1
linuxnoob1
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
unzipping files???


Hey guys first i like to say that im a beginner when it comes to linux i used to have windows XP. Anyways i was just wondering how to unzip .zip or .rar files??
 
Old 05-22-2005, 03:21 AM   #2
Sc0pE
Member
 
Registered: Aug 2004
Location: Northern Ireland
Distribution: Suse 9.3
Posts: 46

Rep: Reputation: 15
to open a rar file i had to download winrar http://www.rarlab.com/download.htm
that should open zip files aswell
 
Old 05-22-2005, 03:33 AM   #3
linuxnoob1
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for the quick respones, i just finish d/l winrar..but it says something like " the file could not be opened because the assosiacted application does not exists. Change the associate in youre preference"
 
Old 05-22-2005, 03:42 AM   #4
Sc0pE
Member
 
Registered: Aug 2004
Location: Northern Ireland
Distribution: Suse 9.3
Posts: 46

Rep: Reputation: 15
go into the command like and type tar -xvzf filename.tar.gz and that will extract it then do ls then cd into the folder and type make then su root and enter you're password then type make install and you should be able to open a rar extension now
 
Old 05-22-2005, 04:04 AM   #5
linuxnoob1
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
WOW! im soo lost..i have no idea what you have said im totally new to linux..???
 
Old 05-22-2005, 04:07 AM   #6
linuxnoob1
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
i opened the file /tmp/rarlinux-3.5.b1.tar-5.gz.............
 
Old 05-23-2005, 03:33 AM   #7
Sc0pE
Member
 
Registered: Aug 2004
Location: Northern Ireland
Distribution: Suse 9.3
Posts: 46

Rep: Reputation: 15
did you extract it ? i don't know what distro you're on so i'm not sure where your konsole or terminal is
 
Old 05-23-2005, 05:50 AM   #8
bnj
Member
 
Registered: Apr 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
To unzip a .zip file, open a terminal, cd to the directory where your .zip file is and type
Code:
unzip myfile.zip
 
Old 05-23-2005, 02:06 PM   #9
linuxnoob1
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
ohh yah BTW im using Xandros....still dont know how to do it
 
Old 05-23-2005, 04:38 PM   #10
emf
LQ Newbie
 
Registered: Nov 2004
Location: Costa Rica
Distribution: Debian/FC3
Posts: 14

Rep: Reputation: 0
When a file has a .tar.gz extension it means that there are several files inside that and that they are compressed. You have to extract it as your first step. That is done with the tar command. You can type "man tar" so that you can read the options for tar. ScOpe has already told you which options you need for a .tar.gz, so you can type it in directly without checking the options.

You should now have a folder, in the same directory where you had the .tar.gz. That's why you use the ls command, so that you can see your new extracted folder. Get into that directory using the cd command, it should be something like "cd rarlinux-3.5.b1". When you are in that folder type "ls". You should see a file called INSTALL or something like that. To see it you need to use a text editor. People who know about linux use vim, I am a newbie so use nano, which everyone tells me that sucks, but that's what I am used to. I plan to change that when I have the time. So you should do something like "nano INSTALL", or "vim INSTALL". You should see instructions there on how to proceed. They usually are something like run configure, make, make install. So there should be a file on the folder that says configure and is a binary. If there is, type "./configure". If this runs without problems, you will then type "make". This is where you are compiling the source code in your machine.

After you are done compiling (you should not have any errors here, otherwise the next step won't work), you need to install it. For this you need root privileges. Type "su" press enter, then type your root password. Then type "make install". You are done installing the program.

When you want to decompress rar files, you will have to use the command "unrar --options filename.rar". Use "man unrar" to see which options you need for it to work.

This is the same explanation that ScOpe gave to you, but maybe now with a bigger explanation, which I am not 100% sure it will work for you, you can give it a try.
 
Old 05-23-2005, 05:53 PM   #11
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
If your in kde just use ark. In gnome file-roller. You need the programs unzip unrar installed. There most likely in your distros software repository.
 
Old 05-24-2005, 02:30 AM   #12
bnj
Member
 
Registered: Apr 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
I wonder wonder.
What is it exactly that you still don't know how to do?
You first asked how to uncompress .zip and .rar files.
In order to do that, you'll need to use a terminal and to type commands. Do you know how to do that?
If not, do it this way:
On your desktop, there should be at the bottom-left corner a button called "Launch" or "Start" or something similar. Click on this button, and browse the menu and sub-menues until you find a "Terminal" or a "console".
Then, if you do not know how to use a terminal, I suggest you take a look at page http://linux.org.mt/article/terminal and in particular at section http://linux.org.mt/article/terminal#N100C3.
Does that help you a little?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while "unzipping" rpm files, and lots of lib errors! Einar Magnus Linux - Software 0 10-09-2004 06:58 PM
Unzipping .zip files in linux dr_zayus69 Linux - Software 5 09-27-2004 07:47 PM
Unzipping all .gz files in all subdirectories darin3200 Linux - General 10 04-24-2004 10:58 PM
unzipping files using bz2 bruce64 Linux - Software 6 07-17-2003 03:51 PM
unzipping .zip files...how?? Robert0380 Linux - General 2 04-11-2002 05:54 AM


All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration