How To Reinstall Ubuntu From Terminal [Step by Step Guide]

Reinstalling Ubuntu is very easy. You can use your favorite installation tool like Live CD, download the installer package, and then install it. This tutorial will show you how to reinstall Ubuntu from terminal using command line.

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 are experiencing operating system conflicts and problems that you cannot resolve manually, you can choose to completely reinstall the Ubuntu distribution package and reconfigure the operating system to the default system settings. Reinstalling Ubuntu is as simple as entering a single command in the Linux terminal. Note that reinstalling Ubuntu can take up to an hour or more.


Reinstalling Ubuntu with Command Line

Step 1

Click “Applications” in the upper left corner of your desktop.
Click “Applications” in the upper left corner of your desktop. A drop-down menu appears.

Step 2

Scroll down and hover your mouse over “Accessories”.
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 text at the command line to perform operating system functions.


Step 3

Enter “sudo dpkg-reconfigure -phigh -a” in the terminal and press “Enter”. Allow the command to process and the system will reinstall the Ubuntu distribution package.