LinuxQuestions.org
Help answer threads with 0 replies.
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 12-23-2007, 03:31 PM   #1
vaalu
Member
 
Registered: Jun 2007
Posts: 54

Rep: Reputation: 15
Post unrar installation


hi
idowwnloaded unrar software and tried to compile it using ./configure..but i could see the mesage
bash: ./configure: No such file or directory
when i looked the directory all files in ter was written in c programming languge..the read me file with the software said


****** ***** ******
** ** ** ** ** ** unRAR utility
****** ******* ****** ~~~~~~~~~~~~~
** ** ** ** ** ** FREE portable version
** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~

The unRAR utility is a freeware program, distributed with source
code and developed for extracting, testing and viewing the
contents of archives created with the RAR archiver, version 1.50
and above. For the usage and distribution license please read the
file LICENSE.TXT.

The unRAR utility is a minor part of the RAR archiver and contains
RAR uncompression algorithm.

You should uncomment one of initial lines in OS.H to define
the Operating System you are using (generic WIN32 and UNIX types
are currently supported). For systems with Intel style byte order,
it is recommended to uncomment the line '#define LITTLE_ENDIAN'
to increase decryption speed.

Compile it using the 32-bit flat model.

To build UNRAR executable you need to compile UNRAR.C module only.


could someone tell me how to compile source files containing such c programs
 
Old 12-23-2007, 03:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'm sure there will be additional docs you haven't read, but it sounds a lot like you can just run "gcc unrar.c -o unrar" and nothing else.
 
Old 12-23-2007, 04:16 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Uh. Isn't there an unrar package for your distribution?
 
Old 12-23-2007, 04:53 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You could try 'make'.
 
Old 12-23-2007, 05:35 PM   #5
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
Don't forget to modify os.h though, as written there.
And yes, the ditro package will look better. I used to get a lot of "Corrupted archive" messages with this one.
 
Old 12-23-2007, 06:34 PM   #6
vaalu
Member
 
Registered: Jun 2007
Posts: 54

Original Poster
Rep: Reputation: 15
i think i installed it used make and make install commands
because now i can see an unrar command in my shell..i am not much proficient in c and i think i uncommented the initial line
as follows

/*
#define _WIN_32

*/
#define _UNIX

i also uncommented the little endian part
but when i tried to unrar a file using the command

Smirnoff:/home/vishnu# unrar e /home/vishnu/Desktop/No.Starch.Press.The.Debian.System.Concepts.and.Techniques.Sep.2005.rar

UNRAR 2.71 freeware Copyright (c) 1993-2000 Eugene Roshal


Extracting from /home/vishnu/Desktop/No.Starch.Press.The.Debian.System.Concepts.and.Techniques.Sep.2005.rar

Unknown method in No.Starch.Press.The.Debian.System.Concepts.and.Techniques.Sep.2005.pdf
No files to extract


was the result

i think the software is not a worthy one..

so would somebody help me with an unrar program and pray tell me how to install it..i have edited my /etc/apt/sources.list.d file many a times hearing from many ppl and it is like this now

:-
#
# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-3 20070407-11:40]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-2 20070407-11:40]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40]/ etch contrib main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ etch/updates main contrib

deb http://http.us.debian.org/debian/ etch main

deb http://security.debian.org/debian-security etch/updates main

so if any one inteends to tell me how to install any unrar programs pray tell me wat change i should make to this file because many a times apt-get install doesnt work and i dont know why
..do tell me the complete modus-operandi if u could

regards
 
Old 12-23-2007, 06:37 PM   #7
vaalu
Member
 
Registered: Jun 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Post

Quote:
Originally Posted by unSpawn View Post
Uh. Isn't there an unrar package for your distribution?
my distribution is debian and the unrar package i could find with the dvd s was unrar free which doesnt work in most cases..and somebody told me debian was the largest linux so now i have completely lost hope..
 
Old 12-23-2007, 07:01 PM   #8
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
You need the "non-free" version of unrar. I guess you can grab one here http://www.rarlab.com/rar_add.htm although I don't see a Debian package here. But, you can get an RPM and use alien, for example. Or, the Slackware package contains just one binary, "unrar", which you can copy to /usr/bin and that's it.
 
Old 12-23-2007, 07:13 PM   #9
mariogarcia
Member
 
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 202

Rep: Reputation: 31
you have to add:
contrib non-free to your sources.list!

then apt-get update

then search apt-get install unrar
 
  


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
UNRAR Password inonothing Linux - Software 4 09-27-2009 07:59 AM
unrar installation The_Messiah Linux - Software 2 04-15-2005 02:14 PM
unrar fails lopette Debian 4 09-26-2004 06:32 AM
Can not unrar Christoffer81 Linux - Newbie 3 06-15-2004 08:38 AM
How to use unrar? JunZ Linux - Software 1 06-05-2004 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 AM.

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