PDA

View Full Version : [ubuntu] Standard ZIP utility



Neural Nut@work
February 9th, 2010, 10:01 AM
Summary: Ubuntu doesnt come packaged with a ZIP/UNZIP utility to unzip windows files
[What I'm looking for is a good reason, and also answers to some other related questions marked Qx) ..thanks!]

I Tried:


apt-get install (FAILED because what Im trying to unzip is MY WIRELESS CARD driver)
GUNZIP, TAR, JAR (none worked)

What Finally worked:
I searched the net, and on some vague random site found 7Zip (7z command).
Get it here (http://packages.debian.org/unstable/utils/p7zip)

As a result of the discussion, mechro (http://ubuntuforums.org/member.php?u=922703) supplied this link: http://packages.ubuntu.com/karmic/allpackages
from where one can download stuff incase you cant use the network and hence apt-get directly. (More useful to know)

Description (Problem Flow):
Story (YAWN) : I recently decided to junk my old XP box (with a fedora) partition and install it with Ubuntu "Karmic Koala" server edition. As a newbee, you want to install the drivers etc and have yourself setup. I need to setup my Wireless card for starters. A NetGear wg311v3.

By default it is not detected, but the Ubuntu Doc (https://help.ubuntu.com/community/WifiDocs/Device/Netgear_WG311_v3) is impressive. It requires you to use "ndiswrapper" and unzip the Windows NetGear Driver (my original driver was an exe, from Netgear I was able to download the ZIP version)

Here is where things get interesting:
So far, am in control feeling all good. Suddenly, I try to unzip and nothing works.
The Ununtu forms, all talk of
apt-get install zip etc.
Well, If I dont have internet, apt-get will get nothing (see /etc/apt source list)

I found out about Ubuntu Repositories from there; but the repos seem to be archived files and you manually cant get anything out straight away.
Q1) Can you ? How? Please assume the use has to use a non-ubuntu box to get the files in the first place

So I downloaded, 7-Zip put it on a CD and used that. I still have to configure my wirelss completely but it installed the driver and using modprobe I've set it.

..Appreciate, reasoning and answers.

Bachstelze
February 9th, 2010, 10:02 AM
Cool story, bro.

lijcam
February 9th, 2010, 10:16 AM
One of the first things you should do with a fresh install is install ubuntu-restricted-extras package.

This package installs various video/audio codes windows fonts unrar unzip flash java etc.


sudo apt-get install ubuntu-restricted-extras

Neural Nut@work
February 9th, 2010, 10:58 AM
lijcam : thanks. Though, does apt-get get the stuff from the installation CD or always the NET?

If the thing im trying to install is thew Driver (zipped) then its a chikend n Egg situation right? And nevertheless from a different machine which has access to Q2) internet I should be able to download stuff to unlock the chicken and egg situation right?

Appreciate the answers guys!

lijcam
February 9th, 2010, 11:07 AM
Can you plug into your network to install the package first?

mechro
February 9th, 2010, 12:10 PM
If you know the package you need you can download the .deb file from here...

http://packages.ubuntu.com/karmic/allpackages

You can then transfer the .deb file to your unconnected computer and install by right-clicking and use Gdebi Package Installer.

Example... if you do a page search(on that link) for "7zip" it comes up with the "p7zip" package

Neural Nut@work
February 9th, 2010, 12:51 PM
mechro : Thanks, that link (http://packages.ubuntu.com/karmic/allpackages)is what I was looking for. (and answers Q1)
lijcam : In short No; because the box has a single wireless card to connect to the network and this entire process is to get that card to work.

Hope the thread helps others also. (I can imagine how it is when its something basic yet illusive to a beginner :D )

warfacegod
February 9th, 2010, 01:42 PM
lijcam : thanks. Though, does apt-get get the stuff from the installation CD or always the NET?

You can go to: System> Admin.> Software Sources> and enable "Installable From CD"

You'll need to put the disc in (obviously), open Synaptic, and click "Reload".

Neural Nut@work
February 9th, 2010, 03:03 PM
Useful to know; though am on server (non-GUI) version. I bet that translates to some commands then (I guess involves modifying the source list or something since that files contains links to the WEB ?!?). If you could translate that into unix commands, I'd be obliged. (Already am from all the help)

I plan to add GUI at some point if I require it.

thanks man.

warfacegod
February 9th, 2010, 03:18 PM
Useful to know; though am on server (non-GUI) version. I bet that translates to some commands then (I guess involves modifying the source list or something since that files contains links to the WEB ?!?). If you could translate that into unix commands, I'd be obliged. (Already am from all the help)

I plan to add GUI at some point if I require it.

thanks man.

I can't help you with commands. I don't know the Terminal well enough.

warfacegod
February 9th, 2010, 03:20 PM
Another package you may need in the future is "unrar".