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 |
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.
|
Uh. Isn't there an unrar package for your distribution?
|
You could try 'make'.
|
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. |
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 |
Quote:
|
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.
|
you have to add:
contrib non-free to your sources.list! then apt-get update then search apt-get install unrar |
All times are GMT -5. The time now is 12:17 PM. |