If you are using a tongue and groove vinyl plank system or loose-lay sheet vinyl, it is not necessary to use glue. These are often better options than gluing if you have a compromised or less than ideal subfloor. Of course, these are not permanent flooring solutions.