PDF download Download Article PDF download Download Article

Need to remove a program you've installed on your Ubuntu system? You have several options, and they are all very easy. This tutorial will teach you how to remove software packages from Ubuntu Linux from the terminal using apt-get, and, if you prefer using a GUI, through the Ubuntu Software app. We'll also show you how to uninstall Ubuntu from your PC.

Method 1
Method 1 of 3:

Uninstalling Programs with Terminal

PDF download Download Article
  1. 1
  2. Open a list of your currently installed programs. Type dpkg -l into Terminal, then press Enter.[2]
    Advertisement
  3. You'll need to note the official name of the program file rather than the name of the program itself (e.g., "avg.exe" rather than AVG Antivirus).
  4. Type sudo apt-get --purge remove program into Terminal—making sure to use the program's actual name instead of "program"—and press Enter.[3]
  5. Enter your root password. Type in your superuser password, then press Enter.
  6. Type in y and press Enter. Your program will begin to uninstall itself. Once it finishes, you can close Terminal.[4]
    • This process may take a while to complete depending on the size of the program.
    • If your program isn't properly removed using the apt-get command, try using sudo aptitude remove program instead.
  7. Advertisement
Method 2
Method 2 of 3:

Uninstalling Programs with Ubuntu Software

PDF download Download Article
  1. Its app icon resembles an orange suitcase with a white "A" on it. Ubuntu Linux comes with this built-in software manager, allowing you to remove programs in just a few clicks.[5]
    • 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 app icon.
  2. This computer-shaped tab is at the top of the Ubuntu Software window.[6]
  3. Scroll through the list of installed programs until you arrive at the one that you want to uninstall, or type the name of an installed program into the search bar in the top-right corner of the window.
  4. It's to the right of the program that you want to uninstall.[7]
  5. If asked to confirm, click Remove again, or click OK.
    • The prompt that you see may vary slightly depending on your version of Ubuntu.
  6. Your program should now be uninstalled.
  7. Advertisement
Method 3
Method 3 of 3:

Uninstalling Ubuntu Linux

PDF download Download Article
  1. On a computer that's only running Linux, the easiest way to uninstall Ubuntu is by reformatting your computer using an installation CD.[8]
    • Ubuntu typically isn't installed as the only operating system on a Mac.
    • To create a Windows CD on Ubuntu: insert the CD into your computer, download the ISO from the Windows download site, right-click the ISO, click Write to Disc..., select your disc, and click Create Image.
  2. Make sure that the CD's logo is facing up when you do so.
    • Skip this step if you created a Windows CD in the previous step.
  3. Boot from the CD. On most computers, you can press any key on your keyboard to do so.[9]
    • If your computer isn't set to boot from the disc drive, you may have to press a "Boot Options" key during the restart screen, or select your Windows DVD as the boot option from the GRUB menu.
  4. You'll use the drop-down menus in the middle of the Windows Setup window to select your preferred language and time zone.
  5. It's in the middle of the window.[10]
  6. Type your product key into the text field near the bottom of the window.[11]
    • You can also click the I don't have a product key link here if you'd like to enter the product key later. If you do this, you'll need to select a version of Windows before proceeding.
  7. Doing so will accept Microsoft's terms of use and take you to the next page.
  8. It's in the middle of the page.
  9. Select the Ubuntu drive. Click the hard drive on which Ubuntu Linux is installed.
  10. Click Delete, then click OK when prompted. This will delete Ubuntu from the drive and reformat the drive for NTFS, which is the file system used by Windows.
    • You may first have to click Drive options below the drive window.
  11. This indicates that you'd like to install Windows on the selected drive.
  12. Once Windows finishes installing, you'll be prompted to set up your preferences (e.g., language, date, time, accessibility, and so on).[12] Ubuntu is now gone from your computer.
  13. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can I remove an operating system that l run?
    Community Answer
    Community Answer
    You can wipe your hard drive or you can install another OS on the same disk. During the installation wizard, remove the other OS (see the respective manual online).
  • Question
    Can I uninstall Ubuntu and install Windows without a CD?
    Somone
    Somone
    Community Answer
    You may be able to use a USB pen drive.
  • Question
    How do I uninstall Skype?
    Community Answer
    Community Answer
    Go to Control Panel>Hardware & Programs>Edit or Uninstall Programs.Then just find Skype, right click it, and select "Uninstall."
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Uninstall Ubuntu Linux with OS UninstallerUninstall Ubuntu Linux with OS Uninstaller
Install Windows from UbuntuInstalling Windows 10 or 11 on Ubuntu: A Step-by-Step Guide
Install Gnome on Ubuntu Install GNOME Desktop on Ubuntu: Full, Minimal, & Vanilla
Format a USB Flash Drive in UbuntuFormat a USB Flash Drive in Ubuntu
Become Root in Ubuntu Get Root Access in Ubuntu Linux
Open a Terminal Window in UbuntuSimple Ways to Open a Terminal in Ubuntu
Change Keyboard Layout in UbuntuChange Keyboard Layout in Ubuntu
Install Software in UbuntuUbuntu Software Installation: The Complete Beginner's Guide
Install Ubuntu on VirtualBoxInstall Ubuntu on VirtualBox
Format a Hard Drive Using UbuntuFormat a Hard Drive Using Ubuntu
Install Ubuntu Linux Install Ubuntu Linux: Dual Boot with Windows or macOS
Enable the Windows Subsystem for LinuxEnable the Windows Subsystem for Linux
Install Windows Programs in UbuntuEasily Run Windows Applications on Ubuntu Linux with Wine
Change MAC Address on UbuntuChange MAC Address on Ubuntu
Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 1,270,830 times.
How helpful is this?
Co-authors: 18
Updated: October 27, 2023
Views: 1,270,830
Categories: Ubuntu
Article SummaryX

1. Open the Ubuntu Software Center.
2. Click the Installed tab.
3. Scroll to the program you want to remove.
4. Click Remove.
5. Click Remove to confirm.

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,270,830 times.

Is this article up to date?

Advertisement