I've used a glue type tube patch to boot a small hole in a tire. As noted above, you need to prepare the inner surface of the tire so that the patch will stick. Also as noted above, the design of a glue patch does not lend itself for service as a boot for a larger hole. In that situation, I would discard the tire. I've used a Park tire boot to get me home after a couple of blow outs. These boots are fairly thick and will work for larger holes, but they are meant to get you home and not as permanent, long-term fixes.