Different bikes have different petcocks. My '77 550k has a threaded nipple hanging below the tank, so the petcock goes on and off as easily as a garden hose. Other petcocks have a flat flange that is secured with two bolts/screws. Also fairly easy.
About the hardest thing you may have to deal with is replacing any gaskets should they need it.