The answer to 'how to install outlet' is to first turn off power to the circuit at the circuit breaker. Then, use a voltage tester to confirm the power is off. Next, remove the old outlet and install the new outlet, making sure to properly connect the hot, neutral, and ground wires. Finally, secure the outlet in the wall, turn the power back on, and test the new outlet to ensure it is working properly.
Installing a new electrical outlet is a relatively straightforward DIY project, but it's important to take proper safety precautions. If you are not comfortable working with electrical wiring, it's best to hire a licensed electrician to do the work.