How to Reinstall Ubuntu Via Command Line

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Ubuntu is a version of the Linux operating system, an open-source operating system available for free online. If you have a computer running Ubuntu and you experience operating system conflicts and problems you aren't able to resolve manually, you can choose to completely reinstall the Ubuntu distribution package and reconfigure the operating system to its system default settings. Reinstalling Ubuntu is as simple as inputting a single command into the Linux terminal. Note that reinstalling Ubuntu may take up to an hour or more.

Advertisement

Step 1

Click on "Applications" in the top left corner of your desktop. A drop-down menu appears.

Video of the Day

Step 2

Scroll down and hover your mouse over "Accessories." Click on "Terminal." The Ubuntu terminal appears. The terminal is an application that allows you to enter command-line text to perform operating system functions.

Advertisement

Advertisement

Step 3

Input "sudo dpkg-reconfigure -phigh -a" into the terminal and press "Enter." Allow the command to process and the system to reinstall the Ubuntu distribution package.

Advertisement

Advertisement

references

Report an Issue

screenshot of the current page

Screenshot loading...