LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-11-2005, 03:41 AM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
How to open a .zip file


I have a .zip file.

On Windwos XP, I know how to open and install the program.

I just mark and click 'Extract here' on Windows.

How do I open and install on Linux?

If it is a tarball, I know how to open it.

The name of the file is ' ussh.zip'

I profoundly appreiate your help.
 
Old 12-11-2005, 03:44 AM   #2
T.Hsu
Member
 
Registered: Jan 2005
Posts: 178

Rep: Reputation: 31
urpmi unzip, then unzip file.zip
 
Old 12-11-2005, 04:16 AM   #3
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
if you have the packages unzip and ark installed then you could right click on the zip file then choose actions -> extract here

or you could double on the file then copy its contents to any where you want
 
Old 12-11-2005, 08:43 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by T.Hsu
urpmi unzip, then unzip file.zip
Why would you need to run urpmi first? Just running unzip filename.zip should work fine.
 
Old 12-11-2005, 09:07 AM   #5
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks everybody for the support. It worked fine. Please read the following:


[root@c83-250-91-176 nissanka]# unzip ussh.zip
Archive: ussh.zip
inflating: ussh/Linux Debugging and Performance Tuning.chm
inflating: ussh/Linux.Plus.2005.In.Depth.Mar.2005.eBook-DDU.pdf
[root@c83-250-91-176 nissanka]# ls
Applications/ Linuxquestions.org Rock5.html
Desktop/ Music/ Rock5.html~
diplom.jpg Pictures/ Sun
Documents/ resol Sun~
Download/ Rock1.html
_files/ Rock2.html tmp/
Finn Rock3.html usingEnglish.com
Finn~ Rock3.html~ usingEnglish.com~
IP Rock3.html~~ ussh/
IP~ Rock4.html ussh.zip
Job/ Rock4.html~ Video/
[root@c83-250-91-176 nissanka]#

[ One is called ' Linux Debugging and Performance Tuning.chm ' and the other one is ' Linux.Plus.2005.In.Depth.Mar.2005.eBook-DDU.pdf ' ]

Where have they landed?
 
Old 12-11-2005, 09:14 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
They're in the folder named "ussh". unzip even tells you that:

inflating: ussh/Linux Debugging and Performance Tuning.chm
inflating: ussh/Linux.Plus.2005.In.Depth.Mar.2005.eBook-DDU.pdf

Last edited by Nylex; 12-11-2005 at 09:31 AM.
 
Old 12-11-2005, 09:48 AM   #7
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Nylex for the comment.

You thought it was silly to ask from you all about the place where the files are situated. I would agree with you.

I just came home after training. I was very hungry. Before cooking my lunch, I just logged on to this site to look at the replies. Because I posted the question just before leaving for the gym. I train at a gym 3 times a week.

As I was famish, I didn't have any discipline to think and look around the files. I just posted here complaining that I can't find the files.

Please forgive me for asking from you all.
 
Old 12-11-2005, 10:18 AM   #8
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
In the ussh folder, there are two files. One file has the .chm at the end. My friend who sent this told me this comes from Microsoft. My friend further said it means 'compiled html'. It seems some Microsoft speciality.

How can I read it? May I have to convert to a Linux compatible file? If so, how do I convert it?

The other file is fine. I opened it using the KGhostView program.
I need your help again to read the file which has .chm at the end.
In fact, I in vain tried using ' cat ' Linux Debugging and Performance Tuning.chm '.



[root@c83-250-91-176 ussh]# ls
Linux Debugging and Performance Tuning.chm
Linux.Plus.2005.In.Depth.Mar.2005.eBook-DDU.pdf
[root@c83-250-91-176 ussh]#
 
Old 12-11-2005, 10:22 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It's "compressed HTML", apparently. There are some links to applications you can use here.
 
Old 12-11-2005, 11:10 AM   #10
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Nylex for the reply.

What does the following output means?

------------------------------------------------
[root@c83-250-91-176 ussh]# ls
Linux Debugging and Performance Tuning.chm Linux.Plus.2005.In.Depth.Mar.2005.eBook-DDU.pdf
[root@c83-250-91-176 ussh]# sudo apt-get install 'Linux Debugging and Performance Tuning.chm-bin'
sudo: apt-get: command not found
[root@c83-250-91-176 ussh]#
---------------------------------------------------------------

I looked at the site you mentioned. It first want to use this 'sudo apt-get install' command. Afterwards, I must use the 'extract ' command.

Why didn't it find the 'sudo apt-get' ?


The following from the site you have mentioned:

On Linux, a CHM file is extracted to plain HTML with

$ sudo apt-get install chmlib-bin
$ extract_chmLib tero.chm tero/

Last edited by Gins; 12-11-2005 at 11:11 AM.
 
Old 12-11-2005, 11:14 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
apt-get is a Debian specific command. Look at the bottom of that page, there's a list of applications you can use.

The author of that Wikipedia entry really should have said that command was for Debian (and derivatives?) only. I think I'll change it so it does.

Last edited by Nylex; 12-11-2005 at 11:16 AM.
 
Old 12-11-2005, 12:52 PM   #12
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I have downloadee the following file as suggested by Nylex.
chmlib-0.37.4.zip

[ I have downloaded from the following site:
http://66.93.236.84/~jedwin/projects/chmlib/]

I installed it. Everything went smoothly.

[root@c83-250-91-176 Desktop]# ls
chmlib-0.37.4.zip Home.desktop jre1.5.0_01/ Welcome.desktop
device.desktop install_flash_player_7_linux/ jre-1_5_0_05-linux-amd64-rpm.bin
firefox/ install_flash_player_7_linux-1.tar.gz trash.desktop
firefox-1.5.tar.gz install_flash_player_7_linux.tar.gz usr



[root@c83-250-91-176 Desktop]# unzip 'chmlib-0.37.4.zip'
Archive: chmlib-0.37.4.zip
creating: chmlib-0.37/
creating: chmlib-0.37/src/
inflating: chmlib-0.37/src/lzx.c
inflating: chmlib-0.37/src/lzx.h
inflating: chmlib-0.37/src/extract_chmLib.c
inflating: chmlib-0.37/src/Makefile.simple
inflating: chmlib-0.37/src/test_chmLib.c


[root@c83-250-91-176 chmlib-0.37]# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...


[root@c83-250-91-176 chmlib-0.37]# make
/bin/sh /home/nissanka/Desktop/chmlib-0.37/libtool --mode=compile gcc -c -o src/chm_lib.lo src/chm_lib.c -g -O2 -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -DDMALLOC_DISABLE
mkdir src/.libs
gcc -c src/chm_lib.c -g -O2 -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -DDMALLOC_DISABLE -fPIC -DPIC -o src/.libs/chm_lib.o
gcc -c src/chm_lib.c -g -O2 -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -DDMALLOC_DISABLE -o src/chm_lib.o >/dev/null 2>&1
/bin/sh /home/nissanka/Desktop/chmlib-0.37/libtool --mode=compile gcc -c -o src/lzx.lo src/lzx.c -g -O2 -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -DDMALLOC_DISABLE




[root@c83-250-91-176 chmlib-0.37]# make install
mkdir -p /usr/local /usr/local/lib /usr/local/include
/bin/sh /home/nissanka/Desktop/chmlib-0.37/libtool --mode=install install -m0755 src/libchm.la /usr/local/lib/
install -m0755 src/.libs/libchm.so.0.0.0 /usr/local/lib/libchm.so.0.0.0
(cd /usr/local/lib && rm -f libchm.so.0 && ln -s libchm.so.0.0.0 libchm.so.0)
(cd /usr/local/lib && rm -f libchm.so && ln -s libchm.so.0.0.0 libchm.so)
install -m0755 src/.libs/libchm.lai /usr/local/lib/libchm.la
install -m0755 src/.libs/libchm.a /usr/local/lib/libchm.a
ranlib /usr/local/lib/libchm.a
chmod 644 /usr/local/lib/libchm.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
install -m0644 ./src/chm_lib.h /usr/local/include/
[root@c83-250-91-176 chmlib-0.37]# ls
aclocal.m4 ChmLib-ds6.zip config.status* configure.in install-sh* Makefile README
AUTHORS config.guess* config.sub* COPYING libtool* Makefile.in src/
ChmLib-ce.zip config.log configure* INSTALL ltmain.sh NEWS


[I read the README file, Makefile, NEWS file and Makefile.in . I couldn't get a clue as to the conversion of a .chm file.]
What shall I do?

Last edited by Gins; 12-11-2005 at 12:55 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
program to open zip files newusermike Linux - Newbie 4 08-12-2005 09:36 PM
Unable to Open Zip File. rvijay Debian 6 02-19-2005 08:32 AM
create a self-extracting zip file with zip on solaris? samsolaris Solaris / OpenSolaris 3 10-15-2004 01:50 AM
how to open zip files ksgill Linux - Newbie 3 06-05-2003 10:26 PM
How do I open a .zip file in redhat 7.2? horsepower300 Linux - Newbie 2 06-13-2002 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:59 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
Open Source Consulting | Domain Registration