New answers tagged

0

You can uninstall Xampp in ubuntu by going to terminal: Ctrl + Alt + T then type: cd /opt/lampp sudo ./uninstall then you get the xampp uninstaller and you can uninstall xampp. but, there are some leftover file in the lampp folder to remove it just type in terminal: sudo rm -r /opt/lampp Now xampp is removed completely.


2

when you see your desktop press Ctr+Alt+F1 and run sudo apt-get install --reinstall ubuntu-desktop sudo reboot This will reinstall the desktop and its application set including software center. If you can't run the command because you also removed the package manager then I am afraid reinstalling Ubuntu is your only option.


0

I don't think you can recover what you have already removed. You can reinstall Ubuntu without formating your partition, hoping that most configurations you had will be kept.


0

Please use the same media(live USB) to install Ubuntu all over again(it will be easy) as grub, partitions and everything is already done. Though i fail to understand why it removed almost everything?


0

The packages you have installed with a package manager (dpkg, apt-get, synaptic) are logged in /var/log/apt/, but software you installed manually (sudo make install,etc) has to be tracked manually, too.


0

There should be as if you go to the software centre you can see all the apps that are installed on your system. The only thing that I can think about if you were going to do a batch file would be that you would have to make it smart enough to determine which apps came with the system itself. Say a line like anything installed after the original install date. ...


0

I just used the nvidia-uninstall. sudo nvidia-uninstall In my case I got the driver directly from the nvidia website.


0

I understand this is an old post, but i came here looking for how to remove version 7 as i have 8 installed. I have found that it can be removed from the dash. Ubuntu 14.04: Dash -> search netbeans (You should see two icons if you have two versions installed) -> right click the version you want removing, a button should appear toward the bottom of the ...


0

This is really a Windows question. You need to learn how to delete the linux partition in Windows and potentially reinstall the bootloader if the linux one was installed over it. You'll then also probably want to expand your Windows partition to reclaim the space the linux partition took.


0

You are right, there are only two things to do: Delete the pycharm-community-3.4.X folder (installation files) that you extracted from the .tar.gz Delete the ~/.PyCharm30 folder (configuration files) You can see here that PyCharm doesn't put any more files than that in your system.


0

Application debfoster I mention in the question does the trick after all, it just took me a while to figure out how it is used. sudo apt-get install debfoster Generate keepers file, stored in /var/lib/debfoster/keepers: sudo debfoster -q This keepers file contains all the currently installed packages, the next time something is installed, just run: ...


0

I tried this under ubuntu 14.04. It removes all remaining traces of kde and reinstalls ubuntu-desktop. sudo apt-get remove libkde3support4 k3b-data ntrack-module-libnl-0 libkrosscore4 libgpgme++2 libqapt2 oxygen-icon-theme libktexteditor4 libtaskmanager4abi5 kdenetwork-filesharing libkblog4 libchm1 plasma-widgets-addons libkimap4 plasma-netbook libkdeui5 ...


1

You need to locate your manually installed binary: $> which gdalinfo /usr/local/bin And then you have to locate other manually installed binaries and remove them (BEWARE BEFORE REMOVING COMMAND: you certainly have other manually installed binaries here) $> ls /usr/local/bin gdal-config gdal_contour gdal_grid gdal_rasterize gdal_translate gdaladdo ...


1

If you installed "stuff" via a package manager (apt-get, dpkg, synaptic), it's all logged in /var/log/apt/*. It's a simple matter of editing to generate the apt-get purge commands. If you installed "stuff" some other way (sudo make install, /usr/bin/cpan, ...) you have to uninstall it using the same method. To make your life easier in the future, ...


0

This error /usr/sbin/alternatives: No such file or directory can be solved to create a empty file.


2

SOLVED: moved the command back one level... root@blackserver:/sys/devices/pci0000:00/0000:00:1a.0# echo -n 1 > remove dmesg output now... [65207.355668] ehci-pci 0000:00:1a.0: remove, state 4 [65207.355680] usb usb3: USB disconnect, device number 1 [65207.355682] usb 3-1: USB disconnect, device number 2 [65207.360110] ehci-pci 0000:00:1a.0: USB bus 3 ...


1

To uninstall the existing Java , you can execute the following command: sudo apt-get remove openjdk-8-jre sudo apt-get remove openjdk-8-jre-lib To install the Java V8 again, sudo apt-get install openjdk-8-jdk


1

If you installed Java using Webupd8 script, then to uninstall Java do the following: sudo apt-get remove --purge oracle-java8-installer If you installed Java from Ubuntu repositories, then you can remove it by typing: sudo apt-get remove --purge openjdk-*


1

Aside from @mchid's correct answer, the command you should've used was sudo apt-get remove wine\* Notice the backslash. It instructs the shell not to open the wildcard, and pass it to apt-get as is instead. What happened is that your shell interpreted the wine* and passed a whole lot of package names for apt-get to remove, instead of just the ones you ...


0

First, you should not need to uninstall Java 8 to switch to Java 7, due to the alternatives system. Merely installing oracle-java7-installer will make Java 7 the preferred JVM/JDK. If you ever do need Java 8: $ sudo update-java-alternatives --set java-8-oracle Note that this changes /usr/bin/java, thus affecting everything on that system that relies on ...


1

I had the same problem uninstalling Deluge. I realized that I had the GTK version installed so merely deleting deluge didn't do the trick. I used sudo apt-get remove --purge deluge-gtk


0

i recommend that you borrow a live pendrive of ubuntu (or your fav distro or any other os) from your friend and then try installing everything from scratch ... you can also make one for your own. Hope this helps


0

If your system is in state where apt-get is mostly unusable you could try using dpkg to remove the affected package, in this case try: sudo dpkg --purge php5-memcache dpkg is a low-level tool to manipulate packages and it's not trying so hard to have all packages in consistent state. Since php5dismod is missing from your system I would simply recommend ...


0

This is pretty straightforward, potential BIOS complexities aside. Backup your user files Insert Windows 10 Install Media Install to main HDD Resize and re-partition from within Windows 10 if needed (it probably isn't) Discussion: Since you want to "uninstall Kubuntu" you don't have to re-partition anything, you are just going to overwrite everything; ...


0

Of course you can. Apt and dpkg are themselves packages, and they are meant to be able to be updated via themselves, so there are provisions for removal; otherwise /var/lib/dpkg/info/dpkg.prerm and /var/lib/dpkg/info/dpkg.postrm would not have reason to exist :) If you accidentally removed them in a way that left you without dpkg, you could still manually ...


0

I used this Python script to parse the log file for all the packages that were installed as dependencies of xinit and ubuntu-desktop: REMOVETHESE='xinit','ubuntu-desktop' #Return an input string with everything parenthesized removed. def removeParenthesized(inp): while "(" in inp: opening=inp.find("(")-1 ending=inp.find(")")+1 ...


-1

I swear I saw the apt binaries under /usr/local/bin on an Ubuntu-based system not long ago, but they're not there on my current Ubuntu MATE 15.04 system (they're in /usr/bin with most of the other binaries). If it was in /usr/local/bin then it probably wouldn't be possible to uninstall it with apt because the files in /usr/local/bin are supposed to be ...


0

sudo apt-get remove click sudo pip3 uninstall click sudo pip uninstall click sudo apt-get install click -f The problem is that many upgrade users will have a version of click installed with a version number under their pip or pip3 repository, these aren't managed by apt, and they take priority when Python's import keyword is invoked. So, you need to ...


3

EDIT: Understanding now you mean you need to use the "source" command (.) in bash, I thought you meant you needed to recompile from source. Now that you have identified the package as CCP (which I don't know) please look at this wiki related to CCP, seems to be a known issue that you have to source it every time you want it. Put the source command in your ...


3

Technically, apt can't remove apt... because apt doesn't know how to remove, install or upgrade packages. The tasks of installing, removing, upgrading, configuring packages are left to dpkg. Although you can tell apt to remove the package called "apt", what it does is checks the reverse dependencies of the apt package, take note of those packages and orders ...


1

Because Popcorn Time isn't a package from the repositories, but was (presumably) installed from a Zip file, you should be able to locate the folder you unzipped into and delete its contents, then remove the folder and any desktop shortcuts.


0

In my case it was because I also had a python3 version of click installed through pip3. When I uninstalled the python3 version everything worked fine.


9

Once, back when I ran CoreUbuntu, I installed a buggy package from source which apt decided obsoleted apt. Next time I ran apt autoremove, I didn't actually look at the list of software to be removed and apt was in the list. Imagine my surprise next time I typed apt install <package-name> and got The program 'apt' is currently not installed. You can ...


69

APT lets you simulate your commands using the option -s. You can try this yourself, issuing the command apt-get -s remove apt (no sudo needed). This yields the following output: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: ...


27

You can... sudo apt-get remove apt Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: apt apt-utils apturl nautilus-share python3-software-properties software-center software-properties-common software-properties-gtk ubuntu-desktop ubuntu-extras-keyring ubuntu-minimal ...


3

Try first with sudo apt-get autoremove. This will remove the unnecessary dependencies. Then in /usr/share/applications just delete the corresponding .desktop file for the uninstalled application. If you still see the icon on the launcher, just right click it and press unlock from launcher.



Top 50 recent answers are included