I use Linux Mint which uses the same repository as Ubuntu. Recently I've installed a software from a .deb file. But, I want to uninstall it now. I know that typing the following command in terminal will do the work, sudo apt remove &lt;/path/to/file_v3.31.deb&gt;  But, after updating the software this method isn't working. So, I searched in the internet, I found this:  Someone answered that  The command to facilitate that is: sudo dpkg -r package_name  Also if you need to remove them forcefully sudo dpkg -r --force-all pkg_name   But, how do I get this package name?
39582
Suppose I download a .deb package from a website and install it. (I assume that when I double click the .deb file, the package is installed through a GUI that interfaces with dpkg right?)  How can I uninstall it?
58170
I have installed pulseaudio-module-bluetooth using apt.  $ type pulseaudio-module-bluetooth bash: type: pulseaudio-module-bluetooth: not found $ which pulseaudio-module-bluetooth $ whereis pulseaudio-module-bluetooth pulseaudio-module-bluetooth:   Clearly, I'm looking for the wrong thing.  The package does not simply install a command that is the same name as the package.  Alright, then.  I want to find out what all commands (or executables) this package installed, and their locations.  The answers to "" tell me how to find the files installed by the package if I have a .deb file.  I'm not installing directly from a .deb file, though.  I'm using apt.  Where is the .deb file that that used?  Is there a copy on my system somewhere that I can query with the commands in the answers to that question?  Where?  If there isn't a local copy on my system, can I get one with apt?  How?  Is there some handy apt (or similar) command that wraps this up for me, so that I do not have to run dpkg-deb directly?  What is it?  Can I find the package's file list entirely on-line, without explicitly downloading any .deb files and before installing anything with apt?  How?
57613
I'd like to find out which packages  sudo apt-get build-dep &lt;package&gt;   would install (if I already got some dependencies installed, I'd also like to see those → so running or simulating the above is not enough). Command line preferred.
104070
I use:   apt-get remove    To remove some software, but it displays:  error:E: Internal Error, No file name for libssl1.0.0 .   I also try this to resolve the error:  wget http://launchpadlibrarian.net/102991621/libssl1.0.0_1.0.0e-2ubuntu4.5_i386.deb sudo dpkg -i libssl1.0.0_1.0.0e-2ubuntu4.5_i386.deb   But it also gives an error :   libssl1.0.0:i386 1.0.0e-2ubuntu4.5 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.3)   I want know the correct way to solve this problem.
102164
I can't say what steps brought me into this:  → sudo apt-get upgrade  Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y dpkg: error processing libtiff4 (--configure):  libtiff4:i386 3.9.5-1ubuntu1.1 cannot be configured because libtiff4:k386 is in a different version (3.9.5-1ubuntu1) Errors were encountered while processing:  libtiff4 E: Sub-process /usr/bin/dpkg returned an error code (1)   The following commands all end up in the same error:  sudo apt-get install -f sudo dpkg --configure -a sudo apt-get --fix-broken install sudo apt-get --fix-missing install sudo apt-get clean sudo apt-get autoclean sudo apt-get autoremove   How to solve these kind of problems? And what did I do wrong?  UPDATE I managed to get apt working again by downgrading to previous version (3.9.5-1ubuntu1). However, next upgrade led to the same problem. But there is more info now:  (Reading database ...  dpkg: warning: files list file for package `libtiff4:k386' missing, assuming package has no files currently installed. (Reading database ... 281166 files and directories currently installed.) Preparing to replace libtiff4 3.9.5-1ubuntu1 (using .../libtiff4_3.9.5-1ubuntu1.1_i386.deb) ... Unpacking replacement libtiff4 ... dpkg: error processing libtiff4 (--configure):  libtiff4:i386 3.9.5-1ubuntu1.1 cannot be configured because libtiff4:k386 is in a different version (3.9.5-1ubuntu1) No apport report written because MaxReports is reached already                                                               Errors were encountered while processing:  libtiff4   So the real problem seems to be the missing libtiff4:k386 package. And k386 seems like a stupid typo somewhere.  I tracked down the file that introduces the typo:  **/var/lib/dpkg/status**  Package: libtiff4 Status: install ok half-configured Multi-Arch: same Priority: optional Section: libs Installed-Size: 528 Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt; Architecture: k386 Source: tiff Version: 3.9.5-1ubuntu1 Config-Version: 3.9.5-1ubuntu1 Depends: libc6 (&gt;= 2.11), libjpeg62 (&gt;= 6b1), zlib1g (&gt;= 1:1.1.4) Pre-Depends: multiarch-support Description: Tag Image File Format (TIFF) library  libtiff is a library providing support for the Tag Image File Format  (TIFF), a widely used format for storing image data.  This package  includes the shared library. Homepage: http://libtiff.maptools.org Original-Maintainer: Jay Berkenbilt &lt;qjb@debian.org&gt;   Fixing the typo solves the problem.
77288
How do you completely remove ubuntu-desktop along with all installed packages with it? I'm using Ubuntu 14.04 server on vps and used sudo apt-get install ubuntu-desktop to install.
112525
In my local repository see below, I have many versions of same packages downloaded and stored in deb package directory. As Ubuntu always prefer to use the highest version, I don't need the earlier versions downloaded and used. (All are in a same folder).   How can I delete the earlier versions of packages from my local deb's folder ? It is not a feasible solution to delete them manually. (You can't examine the versions in thousands of files)   Any ideas?!!  Maybe a script that checks the version of each package keeping the newer version and deletind older ones can solve this issue.  I am seeking for such script or if some software is founded would be great  I have made my local repository following .  *** A local repository is an offline storage of packages already downloaded, so that you don't need to download it again)   Note: I'm not referring to clearing the cache of downloaded packages, which can be done with apt-get clean command.
77158
Say I install package A, which depends on package B. Then I remove A.  Now apt-get autoremove wants to remove B, but I want to keep it. How do I "pin down" B so that the system acts as if I installed B myself?  I come from Gentoo, where the solution would be to add B to my world file. What's the Debian/Ubuntu equivalent?
100150
I know that I can use apt-get remove &lt;package&gt; to remove a program.  But apt is a program itself. Could I use apt-get remove apt to remove it, or would it get confused part way through?
118276
I installed kubuntu-desktop using sudo apt-get install kubuntu-desktop but I no longer want to use KDE.  How do I remove all the packages that were installed by this command ?  Thank you
109481
I'm trying to install/uninstall packages in Debian but getting errors.    I can't remove or add any package, always getting the error.   I tried:  apt-get --remove purge package apg-get remove package dpkg -r package
85067
I know that when it comes to the Red Hat distribution, I can use the following commands to download a copy of the package and then separately install it. yumdownloader package_name yum install package_name  Is there an exact equivalent in Ubuntu that does both the operations separately, or does the following command do both? apt-get install package_name
2312
I want to downgrade some packages. I search and find  and this  and this .  But i just want to do it with dpkg.  Could i just run dpkg -i package-name? If yes then what will be done with the highest already insatlled version?!
89698
I am often interested in the installation triggers (postinst, postrm) or certain parts of packages (like /usr/share and /etc). Currently, I am running the next command to retrieve the source code:  apt-get source [package-name]   The downside is, this file is often much bigger than the binary package and does not reflect the installation tree.  Right now, I am downloading the packages through :      Download the actual file   This takes too long for me and as someone who really likes the shell, I would like to do something like the next (imaginary) command:  apt-get get-deb-file [package-name]   I could not find something like this in the . The most close I found was the --download-only switch, but this puts the package in /var/cache/apt/archives (which requires root permissions) and not in the current directory.
12214
I'm trying to figure out a way to get a list of the packages that are no longer available in the repositories that I have enabled. This workstation has been through quite a few versions of Ubuntu and has had many 3rd party repositories added and removed. I'd like to get a list of software that I have from these removed repositories, so I can clean it up or add back the appropriate repositories.
113356
Say I've added a repository using zypper ar. Then, I've gone and installed multiple packages from that repository, but now I want to remove all of them.   Is there a command that allows me to remove all the packages that I've installed just from that specific repository?
88863
Is there any difference between     sudo apt-get purge &lt;package-name&gt;   and    sudo apt-get remove &lt;package-name&gt;     ?  I often see people recommend one or the other.  In other words, what does apt-get purge remove that apt-get remove doesn't?