Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an ISO file on a Linux machine for which I don't have root access. I am looking for some command or software that would allow me to extract all the files on the ISO without the need for root. Any ideas?

share|improve this question
    
mount says it requires root access, btw. –  kloper Mar 18 '12 at 2:13
2  
It looks like the 7-zip answer someone else posted was deleted because you mentioned it was Windows-only, but I was going to point out that there is a Linux command-line version of 7-zip. –  rob Mar 18 '12 at 3:40
2  
I think the 7-zip answer should be added back and toggled as a good answer, that's what I decided to use eventually (on Linux), and it works perfectly fine. Thanks to whoever gave me the hint about it. –  kloper Mar 18 '12 at 18:11
1  
The relevant package will probably be called p7zip (for Posix 7-ZIP). Also, does file-roller support ISO? –  zpletan Mar 19 '12 at 2:13
    
I copied my Linux 7zip comment into my answer, but if the other person undeletes the original 7zip answer, feel free to accept that one. –  rob Mar 19 '12 at 15:25

5 Answers 5

7-zip will do what you want. There is a Linux command-line version of 7-zip.

Midnight Commander (mc from the shell prompt) can read ISO files and extract files/directories. It used to be installed by default in some distros; I'm not sure if it still is.

You could also try xorriso in reverse mode:

one may enable reverse operation of xorriso and copy files or trees to disk:

$ xorriso -acl on -xattr on \
   -indev /dev/sr0 \
   -osirrox on \
   -cpx '/pictures/private/horses*/*buttercup*' \
       /home/her/buttercup_dir -- \
   -extract /sounds /home/her/sounds_from_me

Each copy command processes its files sorted by block address in the ISO image in order to reduce head moves with optical media. This can bring effective read performance near to the raw media reading speed. Consider to enter dialog mode and use commands like -cd , -du , -lsl , -find.

share|improve this answer
    
mc is not installed in ubunut :'( –  HackToHell Mar 18 '12 at 10:06
    
bummer...any luck with xorisso or 7zip? –  rob Mar 18 '12 at 17:46
    
as I said, 7zip works perfectly fine on Linux. –  kloper Mar 18 '12 at 19:00
    
Sorry, I didn't see your other comment before; I guess we posted around the same time. –  rob Mar 19 '12 at 0:43

Midnight Commander (mc) seems the best option but it needs the mkisofs (or genisoimage) package to be able to open the image file (with the isoinfo utility).

With mc I've been able to copy the content of an image file without using mount or similar. In my platform 7-zip wasn't available.

share|improve this answer

AcetoneISO can do this.

share|improve this answer

first you mount the iso then extract the files from it

# mount -t iso9660 -o loop isoname /dirname
share|improve this answer
2  
This requires root privileges, which the OP does not have on the host in question. –  Michael Kjörling Mar 19 '12 at 12:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.