confirmed WORK wit heimdall and P5100 ! +1 happy linux user
I am not to be held responsible for any damage this may do to your device
*not for newbies*
1. install heimdall
http://xdaforums.com/showthread.php?t=755265
2.download cwm-root-gtab2.zip
http://goo.gl/WkRQy ,Galaxy Tab 2 GT-P5100.tar
http://goo.gl/pwBvp
3.coppy cwm-root-gtab2.zip on externalSD
4.unzip Galaxy Tab 2 GT-P5100.tar (recovery.img)
5.cd to extracted tar
6.run heimdall " heimdall flash --recovery recovery.img --no-reboot " (--no-reboot very important)
7.when finnished dont reboot ,straight from the "download" screen press volume down and power hold and wait to samsung logo shows then release only power button ,hold volume down until CWM6 loaded .
8.go to install zip from externalsd find cwm-root-gtab2.zip and flash
9.when finnished and asked for "stock reboot fix" press yes.
you are rooted !