4

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?

6
  • mount says it requires root access, btw.
    – kloper
    Mar 18, 2012 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, 2012 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, 2012 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, 2012 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, 2012 at 15:25

5 Answers 5

2

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.

5
  • mc is not installed in ubunut :'(
    – HackToHell
    Mar 18, 2012 at 10:06
  • bummer...any luck with xorisso or 7zip?
    – rob
    Mar 18, 2012 at 17:46
  • as I said, 7zip works perfectly fine on Linux.
    – kloper
    Mar 18, 2012 at 19:00
  • 1
    Sorry, I didn't see your other comment before; I guess we posted around the same time.
    – rob
    Mar 19, 2012 at 0:43
  • Provided you don't have the 7za executable (CentOS); ISOs are not supported in 7za. You can check supported formats with 7za i.
    – Jongosi
    Aug 5, 2015 at 23:15
1

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.

0

AcetoneISO can do this.

0

Short & Sweet! try,
- http://www.littlesvr.ca/isomaster/
- http://linuxappfinder.com/package/isomaster
- http://pkgs.org/download/isomaster

Screenshot,
- http://www.littlesvr.ca/isomaster/sshots/

0

first you mount the iso then extract the files from it

# mount -t iso9660 -o loop isoname /dirname
1
  • 3
    This requires root privileges, which the OP does not have on the host in question.
    – user
    Mar 19, 2012 at 12:54

Not the answer you're looking for? Browse other questions tagged .