Try to run the program cheese: sudo apt install cheese
Also check kernel messages with the command dmesg to see if the camera is detected, pluging the camera and checking dmesg messages.
If the camera is not detected maybe you will need to build the kernel with uvc driver.