Cable should be snapped on a ball type linkage at each end, and a clip holding the cable to the bracket.
Look at the tranny end first, to get an idea, then look under the dash (probably have to remove the plastic under the column) and look for similar parts above the brake pedal.
Once loose, it should just unthread. Installation is reverse.
After installation it will need to be adjusted. I can tell you how when you get to that point.