Play video inside .rar files in Ubuntu (without extracting the archives)
There are two methods one can use to play video inside .rar files in Ubuntu (without extracting the archives).
First method:
Install vlc and unrar:
sudo apt-get install unrar vlc
The command to use:
unrar p -inul /example/path/to/Some.Scene.Release/some.sr.r00 | vlc -
But that command is too long, so here’s how you can make it shorter:
Open ~/.bashrc in a text edior, using for example this command:
gedit ~/.bashrc
Paste this somewhere in the file, I did it in the top of the file:
PATH=$PATH:$HOME/bin
Close and save the file.
(This makes your Bash looking in the ~/bin folder for executeable files.)
Make a folder in your home folder called “bin”:
mkdir ~/bin
Make and open in a text editor a file called “rarvideo” in ~/bin:
gedit ~/bin/rarvideo
and paste this into it:
#! /bin/sh unrar p -inul $1 | vlc -
Close and save the file.
Make the file executeable with this command:
chmod u+x ~/bin/rarvideo
You probably have to restart Bash, so in the terminal, type:
bash
Now you can just open a terminal in the folder where the .rar files are, and type this:
rarvideo myrarfile.r00
(Of course, rename “myrarfile.r00″ to the name of the .rar file you want to play).
I found this tutorial here and tried it myself and it works (i tested it on Ubuntu Intrepid)
Method 2:
This method uses Wine and RAR Movie player.
First, install wine:
sudo apt-get install wine
Then, download RAR Video Player from here, extract it and open it with Wine.
That’s it
Comentariile nu sunt permise.


I’m afraid I fail to see how this method can be described as ‘without extracting’.
You extract on the fly, in memory, and not to disk, yes. But you still extract.
without waiting to extract. anyway, how would you name it?
dude don’t critize someone for trying to help, it’s hard enough to get a straight answer as it is, without some know it all , critizing everyone
You can also use fuse + rarfs. See http://ubuntu-ky.ubuntuforums.org/showthread.php?t=573307.