Ubuntu Linux: Uninstall / Remove Any Installed Software

Q. I’d like to save some disk space so I’d like to remove unwanted software from my HP laptop. How do I uninstall software under Ubuntu / Debian Linux?

A. Both Ubuntu and Debian Linux provide command line as well as GUI tools to delete / remove binary packages.

GUI Package Management Tool

synaptic is graphical management tool of software packages. It allows you to perform all actions of the command line tool apt-get in a graphical environment. This includes installing, upgrading, downgrading and removing of single packages or even upgrading your whole system.

Just click on System > Administration > Synaptic Package Manager

Now you can select any package and click on Mark for Removal popup meni. You can also start GUI tool from command line, enter:
$ synaptic &

Command Line Package Management Tool

apt-get is the command-line tool for handling packages. It is used for adding / removing / updating packages.

Uninstall / Delete / Remove Package

Just use the following syntax:
sudo apt-get remove {package-name}

For example remove package called mplayer, enter:
$ sudo apt-get remove mplayer

Remove package called lighttpd along with all configuration files, enter:
$ sudo apt-get --purge remove lighttpd

To list all installed package, enter:\
dpkg --list
dpkg --list | less
dpkg --list | grep -i 'http'

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 101 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
101 comments… add one
  • Jhon F. Ortiz Ordoñez Jun 19, 2008 @ 20:54


    I prefer to use a Terminal instead of GUI (Synaptic Package Manager).

    So long!

  • mukund raman Jul 15, 2008 @ 12:26

    when using HP-UX, if we want to find all the softwares installed in the machine, what command do we use to display all the softwares installed.

    Like in windows… if we go to Control Panel and select Add/Remove Programs, we get all the softwares installed. In the same manner.

  • Rengifo Aug 13, 2008 @ 8:36

    nice explanation thanks

  • Natalie Sep 28, 2008 @ 3:54

    I accidentally installed granparadiso web browser, as I understood it was firefox 3, but now I want to uninstall it. It is not listed under the synaptic package manager and I tried to delete it using:
    sudo apt-get remove granparadiso
    but that did not work. What do I need to type there to make it remove? Or is there another way to remove it?

    • savio Feb 3, 2011 @ 15:57

      Try Ubuntu Software Center! Applications–>Ubuntu Software Center
      Then go to Installed Software! Good Luck :)

  • Dave Jan 27, 2009 @ 23:51

    I bought a used computer with no operating system and I installed ubuntu I guess I just don’t have enough savey to use it. Would like to uninstall it and find away to install windows. Thanks for your help. Dave

    • geanie fowler Dec 2, 2012 @ 20:48

      yes my friend put it on my computer with out asking me i would like to know how to get it off my computer or change the pass word i am don’t know that about computer so make it easy for to do this please

      • mark greenmeier Sep 10, 2013 @ 19:38

        First page want sell something. The internet is becoming a pain fast.

  • Jesse Feb 25, 2009 @ 14:12

    Like Dave, I just picked up a used computer. It already has gOS (ubuntu) on it, but I’m not at all familiar with how to use it and I don’t have the time to figure it all out. How can I uninstall it and get it ready to install XP?
    I tried just booting from my XP install disc, but nothing happens – I “press any key” to boot from cd and then the screen stays blank…
    Help? Please? Thanks.

    • Aidan Jun 17, 2013 @ 13:30

      When you boot your computer up press f2 to go to bios and go across to the tad that says boot and move your disk drive to the top of the list. Your computer will then look for a disk to boot from first instead of trying too boot whatever operating system is on the hard drive.

  • Lucio May 16, 2009 @ 17:05

    When starting the computer, press DEL to run the system setup at the moment the computer shows something like “Press Del to enter setup”. In that setup specify to try to boot from CD before booting fron hard disk, then save and let the system reboot (with the XP install disk inside).

  • prateek May 21, 2009 @ 10:53

    what is the main resion of why not need to install any antivirus to linux

    • ikramur rahman Aug 18, 2010 @ 11:17

      in linux there are no need of antivirus because it does not support exe files

      • hawakashi_sosora Aug 16, 2011 @ 11:27

        wrooooong , linux/unix is an opensource software , witch means that you can copy /change in the source code , otherwords hackers can program millions of application running on linux/unix , and get easily to your computer…………;however trojans and other executable virusus can’t work on linux/unix ………

      • Sarathi Oct 28, 2011 @ 11:34

        wine packages are install then try to install in exe files

  • Realme Jul 1, 2009 @ 0:30

    because the linux is designed that way viruses cant work or do anything

  • terry Jul 4, 2009 @ 13:01

    hi i am having problems with flashplayer it was working 2 days ago and then just stopped working

  • Don Pedro Jul 9, 2009 @ 8:38

    praatek and Realme, while it is true that many Linux software do not work on Linux, it is unfortunately only a rumour that there are no Linux viruses and you don’t need an A/V. There are and you do.

  • Joseph Martel Jul 26, 2009 @ 6:34

    Is it really impossible to uninstall Ubuntu? No one seems to know about this. Why? Everybody else gives you the option to get off.

    • airtonix Nov 12, 2011 @ 5:59


      who gives you that simple option for people without any computer skills at all ?

      pro-tip: booting from cd isn’t something your average user does.

  • lampeter Aug 15, 2009 @ 14:51

    I do not like ubuntu I would like to go back to windows
    what else do you need me to say

    • eric Feb 25, 2015 @ 6:27

      install a new hard drive, 1TB will be just fine.

  • shatsuino Oct 16, 2009 @ 15:19

    To remove ubuntu partition and file system or any other linux OS, use fdisk from MS-DOS mode. You should type at the MS-DOS command prompt :

    fdisk /mbr

    this will remove/clean master boot record from your harddrive. After that you can use format to make the next execution as usual and then install windows XP like usual

  • Joseph Martel Oct 16, 2009 @ 18:19

    Assuming you can get MS-DOS mode. I can only get Ubuntu, because that is the only thing there on the computer. The XP disk is not accepted because “it may harm the computer.” That what it says.
    Somebody has to know somewhere how to get out of this. I know that have other things that will completely shred everything, but I hesitate.

    • soryn Mar 2, 2015 @ 5:45

      look, windows has this nasty little habit of not mounting to machines that have any other type of OS on it, so basically unless you’re so desperate to revert back to windows that you will buy a new hard drive or install an illegal hacked copy it simply wont work, you need to have the proper type of boot menu to load into microsoft windows and when ubuntu is installed as the only OS on the machine it automatically converts it to its own boot system.

  • Someone Oct 19, 2009 @ 16:27

    I have Ubuntu installed on my laptop and so far I have found no big problem. However, having used XP for a long time, I would like to install Kubuntu to my laptop. However, when I try to do so, I get the following message in the terminal:

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
    kubuntu-desktop: Depends: kde-window-manager but it is not going to be installed
    Depends: kdebase-workspace-bin but it is not going to be installed
    Depends: ksysguard but it is not going to be installed
    Depends: language-selector-qt but it is not going to be installed
    Depends: software-properties-kde but it is not going to be installed
    Recommends: install-package but it is not going to be installed
    Recommends: jockey-kde but it is not going to be installed
    Recommends: kate but it is not going to be installed
    Recommends: kde-printer-applet but it is not going to be installed
    Recommends: kdebase-plasma but it is not going to be installed
    Recommends: kdebluetooth but it is not going to be installed
    Recommends: kdeplasma-addons but it is not going to be installed
    Recommends: kpackagekit but it is not going to be installed
    Recommends: plasma-widget-network-manager but it is not going to be installed
    Recommends: plasma-widget-quickaccess but it is not going to be installed
    Recommends: system-config-printer-kde but it is not going to be installed
    Recommends: update-notifier-kde but it is not going to be installed
    E: Broken packages

    I think this is caused by my installing untested packages. I do not know how to remove them; help would highly be appreciated. Furthermore, some files in my computer seem to be of restricted access, which does not let me install manually some plugins/skins for certain programs. I tried logging in as root and then installing the plugins but surprisingly it didn’t work.

    Thank you.

  • Joseph Martel Oct 20, 2009 @ 1:33

    Still trying to get Ubuntu to get from full install to half way install and be able to ge XP installed. Then I could delete Ubuntu if I wanted to. Thanks

  • Joseph Martel Oct 20, 2009 @ 3:05

    There are an awful lot of answers but not to my question.
    I wan to install XP where Ubuntu exists at the moment. The XP install disk is not accepted because it may harm my computer. I just want to install XP in this computer which has Ubuntu installed. Nothing else is wanted.

  • Dave Oct 20, 2009 @ 6:28


    Just configure from bios to boot from CD and following the windows installation wizard until you get to install. Find the partition you have Ubuntu installed on, and delete it. Create new partition and install Windows XP on it. That simple.

    Or alternatively http://support.microsoft.com/kb/247804

  • reko Nov 22, 2009 @ 9:29

    Oke Thanks

  • Evn Perach Nov 27, 2009 @ 10:36

    Ubuntu simply does not work properly on un-partitioned old notebook – too little memory… need to go back to Widows 98. I can’t get to install, though. How can I reformat the HDD? I keep on getting GRUB…

  • justin Dec 3, 2009 @ 7:44

    hey guys. I need help. I cannot seem to remove bandwidthd
    here are the errors:

    justin@Malema:~$ sudo apt-get remove bandwidthd
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    The following packages will be REMOVED:
    0 upgraded, 0 newly installed, 1 to remove and 281 not upgraded.
    1 not fully installed or removed.
    After this operation, 201kB disk space will be freed.
    Do you want to continue [Y/n]? y
    dpkg: error processing bandwidthd (–remove):
    Package is in a very bad inconsistent state – you should
    reinstall it before attempting a removal.
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    any advice ? thanks

  • Logatho B. M Feb 15, 2010 @ 12:55

    I have been trying to un- install ubuntu on my FUJITSU SIEMENS Computer as I wanted to install Window- XP but I failed.
    Can you please help me what should I do.

  • Philip Blom Feb 15, 2010 @ 16:30

    The way I would install Windows XP, as a non-professional, would be to stick in the install CD and to set the computer to boot from from the CD.

  • Thomas Feb 24, 2010 @ 2:34

    To completely remove UBUNTU, and make hard drive like brand new, you must download and burn something called “GPARTED LIVE CD.” You must learn to burn to CD an “iso” image. Set PC Bios to boot from your newly created CD. Accept defaults when CD loads. GPARTED LIVE CD runs a linux environment on your PC. On the main screen you have to find the icon that starts the G-Parted program. I believe it is the first icon on lower right of screen. When G-Parted is running, you can delete partitions one by one. Start at the bottom of the list and delete each one. You select “DELETE,” and then “APPLY.” Once all partitions are delete, you create a new one “PRIMARY” and “NTFS,” or if old PC choose “FAT32.”. Use FLAGs option to set “BOOT,” and “MBR.” The MBR is required for any WINDOWS system. Good luck.

  • candra Apr 5, 2010 @ 18:38

    i Got error E: Unable to write to /var/cache/apt/
    because i just delete /var/cache/*.
    how can i fix that? plz help me

  • steve Apr 17, 2010 @ 6:10

    ive got a problem with this kan any one help me?

    ‘E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/mx.archive.ubuntu.com_ubuntu_dists_jaunty-updates_universe_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.’

    • Micky Jul 6, 2014 @ 16:44

      Why can’t you type English?

  • k.praveen Jun 19, 2010 @ 12:52

    can any help me to uninstall ubuntu in my laptop i have two os 1, windows 7. 2, ubuntu
    i want to uninstall it

    • soryn Mar 2, 2015 @ 5:48

      do you still have the ubuntu boot disk? if so boot it up as if its an install, and follow the prompts to uninstall ubuntu

  • Joseph Martel Jun 19, 2010 @ 21:24

    Please get off of it with me. Very few have seen what the problem is. It is Ubuntu, and how to get it off of your computer when you have nothing else in there. Nothing, zip, zilch, nada. Only the Ubuntu system. I have been told that the best thing to do is junk the computer.
    So please no more “solutions.”

    • joe Jun 27, 2010 @ 6:31

      there is one way, you could wipe the hard drive with something like DBAN and start over from scratch. worse case scenario is you could load ubuntu again. I had to wipe my drive more than once, it works good.

    • Anonymous Jun 27, 2010 @ 6:34

      DBAN is Darik’s Boot and Nuke

    • zainka Dec 2, 2011 @ 7:46

      I really do not understand your problem, really. There is no such thing that ubuntu will prevent you from installing windows ( a strange desire you have there ). I have many times installed,reinstalled removed, deleted reflashed redoing blah blah nada svada, both windows and linux os’es without ANY problems. That is, on a HP mini PC without CD/DVD installing windows was a pain in the ass (spent a week, then gave up) but three diferent Linux distributions went like a charm in 45 minutes including dowloading the os itself…

      Case is, if you want to install windows, do as you have already been adviced MANY times herein. BOOT from CD/DVD (eiter press F8 at boot to enter boot menu or change BIOS. Thats a minimum of knowledge you must have to know how to do that). If it complains, then it complains and try another windows cd.

      How old is your pc anyway??

  • Joseph Martel Jun 27, 2010 @ 9:46

    For me, everyone got it wrong. Sorry. I have Ubuntu installed on a computer. Nothing else. No data no other info, nothing,
    How to get it off. Yes, you have twenty eighth different reasone why I shouldn’t but you are not about to take my wishes into consideration.
    I want out, and for my own good, you will not let me out. Gawd!

  • Joseph Martel Jun 27, 2010 @ 9:49

    Is there anyway that Ubuntu will permit someone who does not want Ubuntu in their computer to get out?. Yes, I know, Don’t let them, they don’t deserve the courtesy. Makes for good friends, Ha! Dumb Dodos!

    • airtonix Nov 12, 2011 @ 6:03

      i generally find that i can get out by opening the front door to my house and walking out.

  • Joseph Martel Jun 27, 2010 @ 9:53

    Yes, I discovered the solution. Get rid of the computer and get the XP that I need. Your reasons are something else and I realize that my reasons don’t mean crap.
    Incidently I am working my Ubuntu on my other computer just fine.
    But that crap of not being able to get it off is for the birds.

  • Dan Jul 2, 2010 @ 9:26

    If you know how to boot from your cd and you have a windows xp installer then you could remove the ubuntu from your computer. or you have a floppy disk with DOS then you could boot from floppy; format your hard disk with “format c:” command.

  • JDMcMillian Jul 2, 2010 @ 22:14


    If you truly want to remove Ubuntu from your system, this is how to do it.


    From either the Ubuntu desktop or from the Live CD Ubuntu Desktop,

    Click on the Applications Menu Option, Accessories then Click on Terminal.

    Inside the terminal windows, type the following

    df [enter]

    you will be presented with output similar to the following:

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda1 9652434 305234 438976 11% /
    udev 1029036 224 1028812 1% /dev
    the line your interested in is the one mounted at ‘/’ in my case it is ‘/dev/sda1’ your might be the same, or it could be ‘/dev/hda1’ or ‘/dev/hda9′ or /dev/sdb5’ etc…

    that is the address of the partition where ubuntu is installed, the device address is ‘/dev/sda’ (without the number at the end, and obviously without the quotes ‘ ‘ )

    now type this command at the prompt like you did the ‘df’ command

    dd if=/dev/zero of=/dev/sda bs=512 count=1 [enter]

    this will make the system unbootable, and the bios will be forced to following the alternate boot options, of which cd-rom tends to be one.

    If you dont have a windows install CD, then you are SOL. On the bright side, Ubuntu 10.04 is a free download, and with a little effort, both my 8 year old daughter and my 67 year old mother both use Ubuntu with quite a bit and skill after having applied some effort to it over the last year.

    PLEASE NOTE!!!! executing the dd command is irrevocable, once you do it, you will not be able to undo the operation, the only option left at that point is to install windows, linux (ubuntu, redhat etc…) or some other OS, but after that command, anything left is permanently lost.

    Lastly, as a word of knowledge, despite what you might think, according to Microsoft’s own Security Intelligence Report from July-09 to Dec-09, 50% of the machines running windows are infected with viruses (http://www.microsoft.com/downloads/details.aspx?FamilyID=2c4938a0-4d64-4c65-b951-754f4d1af0b5&displaylang=en)

    According to CBS Corporation, 48% of 22 million computers found infected and cleaned with the latest antivirus remained infected. (http://www.zdnet.com/blog/security/report-48-of-22-million-scanned-computers-infected-with-malware/5365)

    and the baddies on these system include bots which allow people to control your system for attacking other computer systems, watching and listening to you, and access your bank account. And to top it off, you get the blame cause it came from your machine.

    Linux, in general ( this includes Ubuntu ) has no such problems.


    Good luck Joseph.

    Last note, my advice is that you go to Borders Bookstore, and with up an “Ubuntu Linux for Dummies” book, and stick with it. Everyone had to start someplace, and that usually means starting with nothing. But its well worth it.

    Good Luck,


  • Joseph Martel Jul 3, 2010 @ 0:09

    I am through with this problem. I don’t have a problem anymore. I gave the laptop away and bought an XP computer. Meanwhile, I am working on my desktop Ubuntu computer very nicely and waiting for the 10.04 OS.

    So please, no more “solutions.”

    • bridge dweller Nov 12, 2011 @ 6:06

      oh ok, here is another solution : you could insert the disk into the megadrive and run the intertubes to learn how to use a computer.

  • aman Jul 20, 2010 @ 19:20

    I have installed Google chrome from google website and i want to remove from my laptop I am using Ubuntu 10.04. how i can remove its not coming up in software centre and package manager.
    So please If somebody have idea let me know thanks

  • Joseph Martel Jul 20, 2010 @ 22:31

    That has never been a problem. I have never mentioned installed software. Some made a mistake down the line. It is not the software. There does not seem to be a problem there at all that I can see.

    It is unintalling Ubuntu, in order to install XP. Yes I know you die hard Ubuntu fans, but I am talking about what I want. And it cannot be done. Impossible. Ubuntu has never made it possible to uninstall the Ubuntu OS. Than simply cannot be done and in one year no one has been able to discover it. Now, cut it all out and forget about it. I do not want to hear about it from anyone. It cannot be done. Impossible. That is all. Forget about it.

    • Salvador Jul 29, 2010 @ 3:30

      Neither Microsoft nor OSX will allow you to uninstall an OS. in some cases you can revert to a previous version if you upgraded, but with windows 7 it is no longer an option and with MAC OSX there are too many dependencies.
      I have used about 20 different versions of linux on all my computers from Servers to Laptops and Netbooks, the easiest way to wipe “ANY” OS is to simply reformat the hard drive in its entirety using a free program called “Dereks Nuke and Boot” that you download as an iso image and create a boot CD.

      After you create the CD put this into your LapTop CD drive and make sure the Bios is set to boot from CD-when it starts up just select “Auto”, hit enter and it will reformat the drive, wait till its done and now you can install Whatever OS you Desire.

  • ajesh Jul 24, 2010 @ 6:15

    thank u…

    its work out..

  • Joseph Martel Jul 24, 2010 @ 17:06

    No one on these pages knows what the problem is. It iis not the software. I repeat it is not the removal of the software. I have been from the very beginning talking about the Operating System. I mean the Ubuntu operating system.

    The operating system is not the software. And not one single person contributing “solutions” is aware of this.

    The Ubuntu Operating System cannot be removed. period. Leave it at that.

    • Tom Dec 14, 2012 @ 17:18

      Ubuntu drives can be reformatted anytime. I have reformated ubuntu drives and installed Windows and/or back again many times with no issues. My guess is that you did not follow these directions completely (such as making sure you system will boot to cd first and remember to press any key when asked and you will be asked). THIS IS NOT AN UBUNTU ISSUE.

  • Joseph Martel Aug 18, 2010 @ 18:49

    No one seems to read this correctly. I do not have a problem anymore. It cannot be solved and I must move on. No can do. No one has read these comments because they are still giving me the wrong answers. No need for answers if you have not understood the question.
    Over and out, please to not send me anymore.

    Now if someone knows how to install a program into Wine. would be nice.

  • jenish Aug 19, 2010 @ 6:51

    how to remove installed software in ubuntu if give me any ubuntu menu for remove software

  • john Aug 19, 2010 @ 8:35

    @Joseph, I understand your frustration and I’m sorry it caused you to give away a perfectly good laptop.

    In future if you need to remove ANY OS from a harddrive:
    Boot the Ubuntu LiveCD, on the top panel go to System, Administration, gparted.
    when gparted opens right click and delete all partitions, when you reboot the harddrive will be unformatted (blank) and ready for windows and or Linux.

    Tip: if your going to duel boot, install windows FIRST and manually partition the HD during setup, leaving empty space for Linux. After you get windows installed correctly, you can boot from a Linux LiveCD and install in the free space.
    Good luck with all your computing!

  • Vicks Sep 1, 2010 @ 12:46

    Good Luck Josepf….

  • Dgill O'rank Oct 2, 2010 @ 18:09

    Thanks for the instruction, I was removed some files with synaptic but it make me reinstalled my ubuntu because there are some files that deleted in the package.

    So i prefer to choose command line instruction and it works

  • Asinus Feb 3, 2011 @ 0:44

    Boy, that Joseph guy needs to get chill out and learn some respect. I was reading through this and kept facepalming myself and going “Oh, Joseph, no, stop posting…”

  • Skaggz Feb 17, 2011 @ 0:39

    Wow. I came for the article and stayed for the comments. That Joseph guy is a wack-job alright. How many months did it take him to not realize he could just reformat his hard drive? Even after he was told to do it numerous times? Sorry for the unrelated comment, but it had me laughing.

    • M3TA4 Mar 4, 2011 @ 14:31

      lol i had a good laugh…

      Btw, for others that have a problem deleting ubuntu. Try live cd if that fails download and install a older version and then live cd it again. That worx for me, but now i got gparted live cd seems to work a charm.

      But what i came here for is too, find a solution to delete qt-recordmydesktop
      its in my sounds and videos section in my main menu

      what i have tried is.
      searching in synaptic
      #sudo apt-get remove qt-recordmydesktop
      #sudo apt-get remove qt-recordMyDesktop
      and nothing was found
      #dpkg –list
      #dpkg –list | less
      nothing was found

      even tried ubuntu software center to see if its there,but no luck. (btw whats the difference between synaptic and ubuntu software center?)

      running out of options

  • Atheist Anarchist May 28, 2011 @ 21:01

    Terminal is a thousand times better! :)

  • Emmanuel May 31, 2011 @ 15:00

    Im really need someone help… imtrying to uninstall windows but keep ubuntu

    • wetsmoker Jun 17, 2011 @ 15:14

      you want to uninstall windows? and keep ubuntu? try installing ubuntu while at the partioning menu, use the fulldisk partition, it completely erases any data on your hardisk, then only ubuntu will be left, i prefer you not delet your windows though..

  • Robert Jul 26, 2011 @ 1:39

    For all the insults and questions on “uninstalling” ubuntu, it’s extremely easy. My niece has done it, and she’s in 3rd grade. Simply boot your choice of operating system, hopefully paid for, partition, format, and install. It’s not that hard. So before you insult, or pitch a computer that has any operating system you don’t want consider the most simple thing to do, that is.. Install an operating system. If by chance you can’t figure it out pay someone else to do the thinking for you. Next!

  • TiggerNongkhai Jul 28, 2011 @ 13:09

    I have some sympathy for Joseph (but not his prose style) as I am experiencing the same problem with a Compaq Presario CQ40 notebook. It would seem that no-one grasped that his (and my) problem is that every time you try to boot from the windows CD, Windows blue screens as soon as it has finished loading files and attempts to start. I assumed (as perhaps did Joseph) that this was because windows somehow objected to the Ubuntu installation or configuration. I have tried most of the solutions above but like him, none worked. The dban disk I made failed to boot. Gparted would not do as suggested. Elsewhere I found a suggestion to use Bootit. This disk did boot and I deleted Ubuntu.
    So, starting with a clean disk, windows yet again blue screened as soon as it tried to start. I understand Joseph’s increasing frustration that no proferred solution will work. Disposing of the computer was probably the best option for him as I got a clue from one solution (loading from Ubuntu LiveCD) that there is something wrong with the hard disk controller or other firmware. This is also mentioned on the windows blue screen.
    I think it is time for me to take the laptop to my local repair shop.
    I offer this post to anyone who having decided that Ubuntu is not for them, then finds the ‘blue screen of death’ when you try to boot from the windows CD.

    • Brett Nov 23, 2011 @ 17:58

      It’s either your BIOS settings or your Windows CD. It has nothing to do with the hard drive, thus nothing to do with the OS.. which is software, nor does it have anything to do the MBR.

      In BIOS, check whether you are allowing PATA as a storage device.

      if it says ATA w/PATA, or something similar.. toggle it to ATA only.

      Reboot and try your Windows CD when you have made changes that confirm that your bios isn’t attempting to treat your Boot CDs as storage devices.

      if it’s your CD that is giving you issues…
      Download and use ImgBurn ISO:

      DOWNLOAD a windows bootable (ISO) recovery disk: http://forums.pcpitstop.com/index.php?/topic/150212-boot-to-recovery-console-wo-xp-cd/

      Use imgBurn to burn the cd

      reboot and
      .. enter the recovery console…

      repair your MASTER BOOT RECORD.

  • parallaxed Oct 4, 2011 @ 22:43

    Holy Crap, Joseph is a retard. An operating system is still software… I didn’t know whether or not to laugh at this chain of posts or cry. this is absolutely ridiculous. Those of you that submitted the suggestions to configure the BIOS to boot from CD, congratulations you are correct. for everyone else, this is what you need to do.

    Step 1: Buy a gun
    Step 2: Buy some ammo for that gun
    Step 3: Put ammo in gun
    Step 4: Put gun in mouth
    Step 5: Pull the fucking trigger.

  • yeonchan Nov 18, 2011 @ 7:00

    hey guys!
    may i ask you on how to install mkahawa in Ubuntu?

  • Mojdeh Dec 13, 2011 @ 19:33

    Hi, Who can help me? I installed skype on my ubunto and after the first restart it appears the error 5: input/output error, I cant more run synaptic!!! the hard disc begins to make sounds and a red forbidden sign appears on top close to internet connection sign. When I tried to uninstall skype directly from terminal I got this error:

    mojdeh@mojdeh-laptop:~$ sudo apt-get –purge remove skype
    [sudo] password for mojdeh:
    Reading package lists… Error!
    E: Read error – read (5: Input/output error)
    E: The package lists or status file could not be parsed or opened.

    Would you please help me to solve this problem?

  • Bob Dec 15, 2011 @ 23:21

    @Joseph Martel

    you are the ultimate troll

  • DanielM Jan 2, 2012 @ 20:29

    @ Joseph Martel you good dude i had a really frustrating day just programming
    but you posts made laugh all through thanks dude .
    You r a comedian hahhahahhahhaha.xanks

  • Mercio Filho Jan 23, 2012 @ 21:47


  • SammyP Jan 30, 2012 @ 8:25

    Hi guys i cannot boot into my windows 7. So i installed Ubuntu with the hope of salvaging some files with the intention of uninstalling Ubuntu after i had done this. However i am using an Acer laptop that has no recovery cd, before i installed Ubuntu i was able to access the windows recovery screen (system repair, command promt and all those options) also acer erecovery which allows me to reinstall windows, now though when i try to load up windows it does not navigate me to this screen and so i am unable to do a fresh install. Please could anyone explain how i can safely delete Ubuntu with the hope that i will b able to access the windows recovery screen as i could previously.

    • Henk Apr 23, 2012 @ 17:17

      You can’t, sorry. You need to do a fresh install.

  • Ajay Feb 10, 2012 @ 19:55

    Thank you for the useful writeup.

  • Danny Mar 19, 2012 @ 16:42

    XD nice one Parallaxed that’s what I always said at work for the dumb asses that would call me. I’m a software tech I don’t know how to fix your fucking screen call hardware….or the famous, “I don’t know why this won’t install” well did you check your damn firewall question mark

  • Mohamed Wagdy May 22, 2012 @ 23:29

    I wanna erase skype program Via the Terminal command but when did that by the above commands it give me this output

    : Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

  • That someone Jun 22, 2012 @ 15:28

    Mohamed, I hope you have already solved this but here is a solution anyway.



    This will show you all running processes, now find the process you need dead and kill it. Simply type k and the process id, then agree by typing y.

    It may also be because you need root power, type sudo su and the root password and try again.

  • Tejas Aug 22, 2012 @ 9:27

    I’ve accidentally shift+deleted my Intel compiler suite and while trying to install a new copy, its saying that it is already installed. I can’t proceed further. Any idea how to force install it or to completely unistall the previous one?
    Thenks :)

    • RaviB Sep 5, 2012 @ 4:59

      try to compile “sudo apt-get remove intel compiler”

  • RaviB Sep 5, 2012 @ 4:56

    i am having problem in uninstalling unwanted software from my linux platform please guide me….

    My e-mail id Phalke.ravi.7@gmail.com

  • ranjit Sep 5, 2012 @ 12:17

    i want to remove application from startup in ubantu.After sytem boots up the application opens.

  • Charles Sep 6, 2012 @ 17:25

    Hello Joseph, I have been reading these comments and suggestions for hours and your problem is a real one, but is fixable. If you are still having the same issues with getting rid of Ubuntu and trying to install Windows, then I would like you to print the following text and follow it perfectly. First you need to set aside a couple of hours to get through this. I have been in the computer business for 30 years and this technique works everytime without failure.

    1. Make a Windows XP or DOS boot disk. (you can do this on a friend or families puter that has windows on it.)
    2. Put this disk in the drive and turn on the puter and boot to the disk you made.
    3. When the disk is booted, TYPE the following exactly as it appears and then press ENTER:
    fdisk /mbr
    Now you are ready to boot your Windows XP disk.
    4. Take out the boot disk you made and put your Windows XP CD in the drive and boot to the CD.
    Now the screen has things for you to do and questions for you to answer.
    5. First you must press F8 to agree with the statement.
    6. Now you must choose to “Install Windows”. And confirm your selection.
    7. Now you have to deal with the Partitions section. Read each option carefully and choose the ones you want to do. In your case, You want to DELETE all the partitions. So start at the bottom of the listed partitions and press the keys associated with deleting each one and make sure you confirm each selection.
    8. Now you must “Create a NEW partition”. Press the keys that are associated with doing this and confirm your selection.
    9. Now you get to “FORMAT” the hard-drive. Choose from the list: “Full format at NTFS” and confirm your selection.
    10. When the format is done, Windows will start its installation process. That takes about 1 and a half hours. Don’t forget to download your drivers from the internet when windows is finished with its installation.

  • Brittany Apr 9, 2013 @ 2:26

    I find that using the terminal is a lot faster than the other way…

  • Anu Saukko Oct 16, 2013 @ 17:09

    Ubuntu SUCKS. Can\t even figure out how to uninstall software. help is useless!

  • Choperro Mar 22, 2014 @ 15:25

    The problem is that this tutorial is not for ANY instalaled software as the title claims.
    Little things like this, and many other like this too but on the side of the developers, is what is making Ubuntu te most difficult to understand distro

  • adaro2000 Nov 21, 2014 @ 9:47

    Hello !

    Just use this command to display all software installed on your system
    dpkg –list

    If the list is too long for you, and you can’t read anything (printed fast), use this command changing soft by the name of your software or package installed
    dpkg –list | grep soft


  • harsh Feb 7, 2015 @ 14:14

    hey thanx it works

  • Tamsila Apr 13, 2015 @ 14:50

    Hi, I wanna uninstall VMD from my linux, how can I uninstall it,please anyone can help me out??

  • Sneha Aug 24, 2015 @ 8:37

    Hey thanks it works like a charm

  • Miguel C Sep 12, 2015 @ 8:06

    Great! thank you!

  • jean baptiste paules Sep 17, 2015 @ 14:20

    I would like to have my windows xp than lunix

  • Pushkar Umaranikar Oct 9, 2015 @ 19:36

    Great article !

  • sandip Jan 25, 2017 @ 16:46

    hiii sir i am facing problem …..i cant able to remove qt from my linux please suggest what to do…..

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum