This wikiHow teaches you how to remove programs from the Ubuntu Linux operating system, as well as remove the Ubuntu operating system itself from your computer. If your computer is running Linux and a different operating system, you can delete the Ubuntu partition.
Step
Method 1 of 3: Uninstalling Programs Via Terminal
Step 1. Open
"Terminals".
You can see the Terminal app icon on the left side of the screen. If not, click the Ubuntu icon in the upper-left corner of the screen, type terminal into the search bar, and click the option “ Terminal ” when displayed.
Step 2. Open the list of installed programs
Type dpkg --list into the Terminal window, then press Enter.
Step 3. Locate the program you want to remove
You need to note the official name of the program file, and not the name of the program itself (eg " avg.exe ", and not AVG Antivirus).
Step 4. Enter the "apt-get" command
Type sudo apt-get --purge remove program into a Terminal window. Make sure you use the official name of the program file instead of "program," then press Enter.
Step 5. Enter the lock password (root password)
Type in the superuser password, then press Enter.
Step 6. Confirm program removal
Type y and press Enter. The program will begin to be uninstalled. When you're done, you can close the Terminal window.
- This process may take a few moments, depending on the size of the program.
- If the program doesn't remove properly using the apt-get command, try using the sudo aptitude remove program command.
Method 2 of 3: Removing Programs with Ubuntu Software
Step 1. Open Ubuntu Software
The app icon looks like an orange suitcase with a white “A” on it. Ubuntu Linux comes with this built-in software manager so you can uninstall programs in just a few clicks.
If you can't find Ubuntu Software, click the Ubuntu logo in the upper-left corner of the screen, type ubuntu software into the search bar, and click the Ubuntu Software application icon
Step 2. Click the Installed tab
The tab with the computer icon is at the top of the Ubuntu Software window.
Step 3. Locate the program you want to remove
Scroll through the list of installed programs until you find the program you want to remove, or type the name of the program into the search bar in the upper-right corner of the window.
Step 4. Click Remove
This button is to the right of the program you want to delete.
Step 5. Confirm the selection when prompted
If you are asked to confirm, click “ Remove "back, or select" OK ”.
The commands you see may vary slightly, depending on the version of Ubuntu you're running
Step 6. Close the Ubuntu Software window
The selected program has now been deleted.
Method 3 of 3: Removing Ubuntu Linux Operating System
Step 1. Make sure you have a Windows CD or USB drive
For computers running only Linux, the easiest way to remove Ubuntu is to reformat the computer using the installation CD.
- Ubuntu is generally not installed as the only operating system on Mac computers.
- To create a Windows CD on Ubuntu: insert the CD into the computer, download the Windows ISO file from the Windows download site, right-click the ISO file, click “ Write to Disc… ”, select the disc, and click “ Create Image ”.
Step 2. Insert the CD into the computer
Make sure the CD logo is facing up.
Skip this step if you created the Windows CD in the previous step
Step 3. Restart the computer
Click the gear icon Settings ”
in the upper right corner of the screen, click “ Shutdown… ” at the bottom of the drop-down menu, and click the “icon Restart ” on the pop-up menu.
Step 4. Start the computer via the CD
On most computers, you can press any key on your keyboard to load the CD.
If the boot does not load from the disc drive, you will need to press the " Boot Options " button on the computer's reboot page, or select the Windows DVD as the boot option from the GRUB menu
Step 5. Select the time and language, then click Next
You will need to use the drop-down menu in the middle of the Windows installation window to select the desired language and time zone.
Step 6. Click Install now
It's in the middle of the window.
Step 7. Enter the Windows 10 product code, then click Next
Type the product code into the text field at the bottom of the window.
You can also click the link “ I don't have a product key ” if you want to enter the product code later. If you click the link, you'll need to select your Windows version later before continuing.
Step 8. Check the box " I accept ", then click Next
With this option, you accept Microsoft's terms of use and will be taken to the next page.
Step 9. Click the Custom option
It's in the middle of the page.
Step 10. Select the Ubuntu disk
Click the hard disk where Ubuntu Linux is installed.
Step 11. Erase Ubuntu disk
Click " Delete, then click " OK ' when prompted. After that, Ubuntu will be removed from the hard disk and the disk will be reformatted to NTFS, the file system used by Windows.
You may need to click on the option “ Drive options ” under the disk window first.
Step 12. Click Next
This option indicates that you want to install Windows on the selected disk.
Step 13. Follow the instructions shown on the screen
Once Windows has finished installing, you will be asked to set your preferences (eg language, date, time, accessibility, etc.). Ubuntu has now been removed from the computer.