Updating over adb

I am extremely new to this but i am learning at a fast pace. I was wondering how I would update my samsung SM-T377V over adb or remove programs off of it? Before you ask how do I find my device in linus terminal and how do I select it for debugging?