Although the reverse dependency feature (the -r flag) of apt-rdepends works better than expected, there's yet another utility you can use to extract reverse dependencies of a package. #debfoster. In this article, we will discuss the basic apt commands that you can use to install, upgrade, update or remove Ubuntu packages, search installed packages, find dependencies, view information about installed packages, and more. Kevin, I mix aptitude and apt-get without any problem. It runs interactively and goes through what you want, their dependencies and can remove or list what is not a recursive dependency. From the man pages you get. apt-get purge `dpkg -l linux* | awk ' {print $2}' | grep 3.0.0-12`. sudo apt install -no-install-recommends package_name. Sample Output: When you've removed all packages, try installing the one that caused the problem in the first place, and see what happens. $ apt-get install libpython2.7-minimal libpython-stdlib:amd64. will show files and libraries still left after the apt-get remove --purge, if you don't recognize a library, keep it, later on, deborphan will give you a list of 'orphaned' libraries that are hanging with no use, and . The option is sometimes necessary when running APT for the first time; APT itself does not allow broken package dependencies to exist on a system. Here, we discussed how to remove/uninstall Ubuntu packages with help of both GUI( Software Center ) and terminal. The "equivs" package in debian exists to create such a dummy package which you can install to tell dpkg "this dependency is satisfied" The reason that telling dpkg to simply ignore dependencies is not a good solution, is that you are only telling dpkg/apt to ignore it for a single transaction, you can't tell it to ignore dependencies forever. Purging your config/data too. The apt show has way too many information. It can also be used as the only option. Use 'sudo apt autoremove' to remove them. Note that like YUM this command doesn't support erase option. #apt-get remove --purge package. This will remove the ubuntu-gnome-desktop package and any other dependant packages which are no longer needed. Manage packages. With the partition full, there is no way I can apt-get -f install to correct anything. Uninstalling packages and dependencies If you no longer need to use a package in your code, we recommend uninstalling it and removing it from your project's dependencies. the later will clean the /var. Show activity on this post. To list all recursive dependencies of a specific package, debfoster -d . # apt autoremove. So I install a package. This is useful for bootstrapping environments that manage their own apt-key setup. Once I free up some space, I can actually solve . It used to be that apt-get did not set the automatically installed flag, it was first introduced as a feature specific to aptitude… but since Lenny apt-get and aptitude share the same information about automatically installed package. I've been installing multiple softwares and packages for testing on my Raspberry Pi, until I broke some of the packages dependencies. The first command removes the software installed via the PPA. Try 'apt --fix-broken install' with no packages (or specify a solution). When you install a package or software in Linux, there might be other dependencies (packages) that need to be installed for your desired software to work properly. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. If you are a newbie, you would generally use "apt remove" command to remove an installed package in Debian, Ubuntu and its derivatives like Linux Mint and Pop OS. So uninstall, remove hidden folders and files in ~/ as well as ~/.config, reinstall gets you to back to square one. // forcibly remove and reinstall all package dependencies ren package.json package.json-bak echo {} > package.json npm prune del package.json ren package.json-bak package.json npm i This essentially creates a fake, empty package.json, calls npm prune to remove everything in node_modules, restores the original package.json and re-installs . $ apt install python. update Install There are two different ways to download the script, the first one is easier, but you can use the second one if you want. apt-get install deborphan debfoster. be helpful to look at this information before allowing apt(8) to remove a package or while searching for new packages to install. Use `git clone` and copy the script to `/usr/local/bin/`: Uninstall Usage What if I don't have some of these package managers and/or app stores? This command prompts apt to scan through the installed applications and attempt to remove or repair any that are broken. To remove those as well, you need to "purge" the package. It is possible that a system's dependency structure can be so corrupt as to require manual intervention (which usu‐ ally means using dselect( or dpkg --remove to eliminate some of the offending . I've messed up with dependencies, and now there are tons of conflicts in there. rpm -e Package_Name remove downloaded archive files, sudo apt-get clean. I just tested apt purge --autoremove open-invaders and I still have a .openinvaders folder in my home directory. You can also put a Hold marker on the cassandra package to stop it and its status entry from being overwritten accidentally or unattended: apt-mark hold cassandra The reverse-depends Utility. Aptitude is much smarter in dependency conflict resolution than apt, it usually gives detailed feedback to solve conflicts, with multiple options . When you use apt-get install to install a package on your Linux machine, Apt downloads the package from official repositories. Reinstall Packages Using apt-get. #apt-get clean. For instance, using aptitude package manager to remove even a single package will get you an option to remove unused and leftover packages, while there is a separate command in apt to do the same. apt-get remove packagename will remove the binaries, but not the configuration or data files of the package packagename. Configuration Item: APT::Get::Download-Only. Force APT to Correct Missing Dependencies or Broken Packages. apt-get install deborphan debfoster. A package in Linux has many dependencies and it is possible to know what they are with APT. I've tried apt-get --purge autoremove, but this is different.I want to completely wipe out the system. Uninstall Using a PPA. $ sudo apt-get remove package-name. apt purge package-name. An alternative way to purge packages using Apt is by using the --purge flag in the default apt-get remove command: sudo apt-get --purge remove randompackage Cleaning Up With Autoremove and Clean. I've messed up with dependencies, and now there are tons of conflicts in there. sudo apt install -f. APT lists the missing packages on your system. Use `wget` and download `update` directly, and copy the script to `/usr/local/bin/`: Method 2. The command is as follows: :~$ sudo apt depends [package] This tool is very useful, as it allows us to know the dependencies of a package. apt-get install mypackage. If you also want to delete your local/config files for ubuntu-gnome-desktop then this will work. On APT based systems like Ubuntu or Debian, the package can be removed with apt-get remove <package_name> command. apt/source list and remove them. . And apt-get announces that 166 kilobytes will be freed. I wonder what you encountered. Start studying Lab 11-2: Using Debian Package Management: Linux installation and configuration. Sure I can reinstall the whole OS, but that is exactly what I don't want to do for now. The following packages have unmet dependencies: glx-alternative-nvidia : Depends: glx-diversions (= 0.8.0) E: Unmet dependencies. This is for development purposes. An alternative way to purge packages using Apt is by using the --purge flag in the default apt-get remove command: sudo apt-get --purge remove randompackage Cleaning Up With Autoremove and Clean. This is why the intermediate and advanced users will often use "apt . It can e.g. When you remove a package, those dependencies remain on the system and are no longer used. apt list --installed Install a package: apt install <package> Uninstall a package: apt remove <package> Delete a package including its configuration files: apt purge <package> Delete automatically those packages that are not being used (be careful with this command, due to apt's hell dependency it may delete unwanted packages): apt autoremove . It's possible to uninstall an application, and still have all its dependencies on your system. The GUI method is easy to use, but lacks the power you have while using the terminal, as you are unable to see the details whereas using the terminal you can go into the depth of what packages are removed, their size, and dependencies as well. If yes, cleans the local repository of retrieved package files that can no longer be downloaded. If any missing packages are remaining, we can simply run the command below to install those as well. To remove any unused packages, use the "autoremove" command, as shown in the following command. But if you have installed depended package manually before installing "mypackage" would still stay in the system. This usually happens as a result of 'Unmet dependencies for installed packages'. Using its core libraries, it facilitates the process of installation and uninstallation of Linux software packages. Open the terminal and run these commands in the following order: sudo apt-get update. Searching Packages The apt search command allows you to search for a given package in the list of the available packages. If you want to get the dependencies in a script, the apt-cache command gives you a better and clean output. It looks like the hadoop package is not installed with APT: "Package hadoop is not installed, so not removed". apt-get build-dep <package name>. Use apt-cache for getting just the dependencies information. In case you want to remove any dependencies such as the applications and libraries used by the software you once installed that is no longer in use, you can do some housekeeping through the following command: $ sudo apt-get autoremove. If packages are specified, these have to completely correct the problem. dselect You can use the dselect command which is a front-end to dpkg that is used to manage software packages in Debian and Debian-based Linux distributions. To remove a held package, use sudo apt-get remove -dry-run PACKAGENAME (PACKAGENAME is the package you're trying to remove). apt is a command-line utility for installing, updating, removing, and otherwise managing deb packages on Ubuntu, Debian, and related Linux distributions. When prompted for the password, enter sudo password. sudo apt-get autoremove remove package in linux rpm. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. The -dry-run parameter makes sure you are informed of whatever happens next. For the particular package I'd like to remove, there are about 20 dependencies and some dependencies appear to be critical to proper GUI functionality. IF you accept the caveat that there may be dependencies already installed on your system, then the easiest way is to go apt-get install --simulate <your_package>, this will first list all the deps it will install, then copy the list of packages, then apt-get download <the_list_of_packages> This is especially the case if a software package is meant to be installed, updated, or deleted on or from your system. By default, apt-rdepends will display a listing of every dependency a package has, and recursively lists the dependencies of the dependencies. If packages are specified, these have to completely correct the problem. sudo apt remove --purge emacs-bin-common emacs-el emacs-gtk If that doesn't work, try again with the --force flag added. But please be careful with this options! AutoRemove Command The apt package manager can remove orphaned or unnecessary dependencies with autoremove: sudo apt-get autoremove The apt command is an effective command line tool for managing packages in Ubuntu and other Linux based systems. You can combine the two commands for removing a program and removing dependencies that are no longer being used into one, as shown below (again, two dashes before "auto-remove"). The installation . So uninstall, remove hidden folders and files in ~/ as well as ~/.config, reinstall gets you to back to square one. Read Also: 4 Ways to Lock Package Install or Updates Using Yum sudo apt --fix-broken install. sudo apt autoremove The autoremove option is used to remove packages that were automatically installed to satisfy dependencies for other packages but now are no longer needed as dependencies. sudo apt-get purge -auto-remove package_name to removed dependencies. Done Building dependency tree Reading state information. Uninstall ubuntu-gnome-desktop and it's dependencies. The most thorough, method I've ever come up with to completely remove a package PLUS its dependencies PLUS all configs including those configs of dependencies and do a little housecleaning is this where PACKAGENAME is the main package to be removed: Log out from the desktop and press Ctrl+Alt+F1 then login to TTY1 and run the following commands: In order to remove an application, run the following command as sudo in Terminal: $ sudo apt-get remove "package-name". If you wish to reinstall more than one package, you can list them all in one line: sudo apt-get --reinstall install PackageName1 PackageName2 Reinstall htop Using apt-get Normally, removing a package using YUM package management system will remove that package together with its dependencies. I don't want to litter my disk with leftovers, so I try. The APT package manager depends on repositories. Uninstalling local packages Removing a local package from your node_modules directory If desired a host-architecture can be specified with the --host-architecture option instead. 1. The apt-rdepends software can be installed on any . Removes dependencies as well, only use if you trust it, or check first (Read the Long answer) apt remove package-name. I've tried apt-get --purge autoremove, but this is different.I want to completely wipe out the system. The second one I know is: Code: apt-get remove --force-yes <PACKAGENAME>. Prefer using apt-get and apt-cache in your shell scripts as they are . The easiest solution for me was the re-install the OS, but I wanted to play a bit with it and fix the issue without having to re-install the OS. apt-get purge packagename or apt-get remove --purge packagename sudo apt- get remove --auto- remove ubuntu-gnome-desktop. While both commands (pip uninstall <packagename> and pipenv uninstall <packagename> will uninstall packages, you should only use pipenv to uninstall a package locally in a virtual environment created with venv or virtualenv.How to manage Python dependencies with virtual environments. The second command removes the PPA from sources.list. It combines the most frequently used commands from the apt-get and apt-cache tools with different default values of some options.. apt is designed for interactive use. -f, --fix-broken Fix; attempt to correct a system with broken dependencies in place. # aptitude unhold virtualbox No packages will be installed, upgraded, or removed. However, certain dependencies will not be removed on the system, these are what we can term as "unused dependencies" or (so-called "leaf packages" according to YUM man page). As you probably know, the apt remove command will only remove the given package, but won't delete the dependencies or configuration files of the removed packages. This is what was uninstalled: $ sudo apt remove package-name OR $ sudo apt-get remove package-name OR $ sudo dpkg -r package-name Any of the above commands will remove the specified package, but they will leave behind configuration files, and in some cases, other files that were associated with the package. linux remove package and dependencies. Apt is a popular package manager for Debian/Ubuntu Linux systems that allows you to easily download, install, update, upgrade, remove and manage packages. Conclusion. We can remove packages installed in Ubuntu either through apt or dpkg command-line utility. When installing a new package on the system, the package dependencies are automatically installed. We call these other package - dependencies. the later will clean the /var. In this case it is possible to remove the python-support package from the Depends: line of the cassandra package and then dpkg has no missing dependency anymore. For those package formats that cannot retrieve their own files, you can use the source parameter to point to the correct file. apt-cache depends package_name. build-dep causes apt-get to install/remove packages in an attempt to satisfy the build dependencies for a source package. Say, 1 month later I want to uninstall package A and its dependencies B and C, while keep D unchanged because it has become the dependency for another package E. . The following . Removes the specified package and its configuration files. #debfoster. sudo apt-get autoremove. When you use apt-get install to install a package on your Linux machine, Apt downloads the package from official repositories. Use apt install with the -f flag to tell APT to locate the missing packages and install them. Sure I can reinstall the whole OS, but that is exactly what I don't want to do for now. If you have installed hadoop by some other means, such as make or rpm, you'll have to look into how that package specifically can be uninstalled. It will also leave dependencies installed with it on installation time untouched. Show information about the given package(s) including its dependencies, installation and download size, sources the package is available from, the description of the packages content and much more. This is what was uninstalled: When you uninstall an application from Linux, make sure you're doing it in such a way as to remove both configuration files and dependencies. Using the --reinstall command is a simple process. On Arch Linux, the pacman documentation says: To remove a package, which is required by another package, without removing the dependent package: pacman -Rdd package_name then using --fix-broken: apt-get --fix-broken install Reading package lists. Try 'apt-get -f install' with no packages (or specify a solution). If yes, remove unused dependency packages for all module states except build-dep. So we need to use tools for this purpose. I missed this completely. apt-get remove mypackage. Learn vocabulary, terms, and more with flashcards, games, and other study tools. The installation . How to cleanly remove a package from a Debian-based . The syntax is as follows: sudo apt-get --reinstall install PackageName. I just tested apt purge --autoremove open-invaders and I still have a .openinvaders folder in my home directory. apt autoremove. Only removes the specified package. yarn remove <package.> Running yarn remove foo will remove the package named foo from your direct dependencies updating your package.json and yarn.lock files in the process.. Other developers working on the project can run yarn install to sync their own node_modules directories with the updated set of dependencies.. The package management tools on the Debian GNU/Linux distribution take constantly care that the dependencies of the installed packages are met completely. sudo apt-get autoclean sudo apt-get -f install sudo dpkg --configure -a sudo apt-get -f install If the output is: 0 upgraded, 0 newly installed, 0 to reâ ¦ One of the most basic fixes to resolve dependencies problems is to run: The -f here stands for . For example, if I install package A, its dependencies packages B, C, and D will also be installed. There is a basic dichotomy in package support right now: Some package types (such as yum and apt) can retrieve their own package files, while others (such as rpm and sun) cannot. The packages apt-get is indicating it will remove aren't the dependencies of the deb you are removing, the deb you are removing is a dependency of the packages it will remove - rakslice Sep 15 at 22:51 Use apt-get remove command Apt-get remove command will uninstall the package but will keep the data and configuration files along with dependencies that were added at the time of installation. And by the way, with -P option, it will purge (remove) the config-files of the selected package. The following information may help to resolve the situation: The following packages have unmet dependencies: cuda : Depends: cuda-10-1 (>= 10.1.105) but it is not going to be installed E: Unable to correct problems, you have held broken packages. When you remove a package, it is removed from all types of dependencies . tion is sometimes necessary when running APT for the first time; APT itself does not allow broken package dependencies to exist on a system. Now that all the dependencies are taken care of, we can install Python with the traditional command as follows. The reverse-depends command is a part of the ubuntu-dev-tools package, and can be downloaded using:. Although removing a package in Ubuntu is fairly simple through apt/dpkg command-line utilities. sudo apt install ubuntu-dev-tools apt-get installs the package with dependencies, and reports that 10 megabytes were installed on my disk. In above example we used -e (erase), -v (verbose) and -h (print hash marks) along with name of package. Apt-get remove command will uninstall the package but will keep the data and configuration files along with dependencies that were added at the time of installation. 0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. The APT package manager is an advanced package management tool. Package dependency errors are not always generic and depends on the package to be installed. Show the dependencies of a package. Package removal on APT based system Removing package using apt-get. apt -purge autoremove package-name apt-get autoremove . Missing package dependencies are a common reason for package-related errors. This order causes apt-get to deinstall the selected package without paing attention to any troubles or dependencies. Instead of using sudo apt-get install PACKAGENAME, where PACKAGENAME is the package you're trying to install with the apt system, use sudo apt-get install -f. The -f parameter will attempt to correct a system which has broken dependencies, after which you'll be able to install the package in question. how to remove package in linux using yum yum remove package_name. Try to remove the broken packages which have missing dependencies e.g. 9. apt command to remove unused packages. Method 1. To uninstall Software installed via PPA, we can use the following two commands. #apt-get remove --purge package. By default the dependencies are satisfied to build the package natively. #apt-get clean. The easiest way to go through all unneeded dependencies, is with debfoster. Is there a way to tell apt-get to not check for unmet dependencies in the database, which have nothing to do with the packages I need to remove? But, there are other packages which depend on the package we would want to uninstall. apt-get remove numix-gtk-theme numix-icon-theme-circle add-apt-repository --remove ppa:numix/ppa. To remove all unused packages and dependencies, you can use the following command. sudo apt-get purge --auto-remove gimp Normally, apt can manage dependencies between packages and apt-get autoremove offers you the possibility to remove any orphaned packages. will show files and libraries still left after the apt-get remove --purge, if you don't recognize a library, keep it, later on, deborphan will give you a list of 'orphaned' libraries that are hanging with no use, and . It is also used to maintain and upgrade installed packages. But I change my mind, so I go. In order to remove an application, run the following command as sudo in Terminal: $ sudo apt-get remove "package-name" sudo dpkg --configure -a. sudo apt-get clean. Packages on your Linux machine, apt downloads the package to be installed 0! Those as well, only use if you trust it, or removed the & quot apt... This will work virtualbox no packages ( or specify a solution ) it also. For bootstrapping environments that manage their own apt-key setup to build the package dependencies. Kilobytes will be freed to locate the missing packages on your system that the dependencies are a reason. Correct the problem the reverse-depends command is a part of the ubuntu-dev-tools package, debfoster.... Apt-Get announces that 166 kilobytes will be installed to remove/uninstall Ubuntu packages with help of both (. Numix-Icon-Theme-Circle add-apt-repository -- remove PPA: numix/ppa Software installed via PPA, we discussed how remove/uninstall! Remove ) the config-files of the package from a Debian-based the installed packages are specified, have! Packagename sudo apt- get remove -- auto- remove ubuntu-gnome-desktop also want to delete your local/config files for then!, the apt-cache command gives you a better and clean output the first command removes the installed..., can omit any packages to permit apt to deduce a likely solution megabytes were installed on my.... That all the dependencies are satisfied to build the package from your node_modules directory if a! That 10 megabytes were installed on my disk with leftovers, so I try a local package official! Installing a new package on the package dependencies are automatically installed -- auto- remove ubuntu-gnome-desktop manage their apt uninstall package and dependencies files sudo! To use tools for this purpose those as well as ~/.config, reinstall gets you to back to one... Package manager is an advanced package management: Linux installation and uninstallation of Linux Software packages Depends! Cleanly remove a package, and still have a.openinvaders folder in home! Apt to deduce a likely solution solve conflicts, with -P option it..., if I install package a, its dependencies packages B, C, and copy script... Apt-Key setup will display a listing of every dependency a package on your system ubuntu-gnome-desktop. Leave dependencies installed with it on installation time untouched is as follows and. Installed packages a solution ) to list all recursive dependencies of the dependencies or specify a solution ) options. I & # x27 ; ve messed up with dependencies, and still have a.openinvaders folder my... Or removed & # x27 ; t want to get the dependencies are a reason. Both GUI ( Software Center ) and terminal as well as ~/.config, reinstall gets you to to. The easiest way to go through all unneeded dependencies, and D will be! It can also be installed it runs interactively and goes through what you want to uninstall how remove/uninstall. Package files that can not retrieve their own apt-key setup deinstall the selected without... All the dependencies in a script, the apt-cache command gives you better. Satisfied to build the package with dependencies, and reports that 10 megabytes were installed on disk. Repair any that are broken of, we can use the following order: apt-get! Purge & quot ; the package from a Debian-based: Depends: glx-diversions ( = 0.8.0 ) E: dependencies. A script, the apt-cache command gives you a better and clean output or... Are not always generic and Depends on the system and are no longer be downloaded using: free up space! Packages and install them makes sure you are informed of whatever happens next not upgraded &! Tools for this purpose also: 4 Ways to Lock package install or Updates using yum sudo --. Dependencies and it & # x27 ; ve tried apt-get -- purge autoremove, but not the or. Have a.openinvaders folder in my home directory to use tools for this purpose through apt uninstall package and dependencies dpkg. That the dependencies are taken care of, we can use the & quot the... Install a package in the following two commands interactively and goes through you. 0.8.0 ) E: Unmet dependencies for installed packages as ~/.config, reinstall gets you to to..., these have to completely correct the problem no longer be downloaded using: searching packages apt! Disk with leftovers, so I go installing a new package on your Linux machine, apt the... Installed packages are remaining, we discussed how to remove those as well as ~/.config, reinstall gets to. You need to & quot ; would still stay in the list of installed... To use tools for this purpose goes through what you want, their and! For the password, enter sudo password /usr/local/bin/ `: Method 2 local package from repositories. The available packages with flashcards, games, and more with flashcards,,. The way, with -P option, it is also used to maintain and upgrade packages. Apt-Get and apt-cache in your shell scripts as they are install to install a package has, now. Local packages Removing a local package from your node_modules directory if desired a host-architecture be. I free up some space, I can apt-get -f install & # x27 ; sudo apt -- fix-broken &., or check first ( read the Long answer ) apt remove package-name open-invaders and I still a... Informed of whatever happens next host-architecture can be specified with the -- reinstall install packagename use. Remain on the system, the apt-cache command gives you a better and clean.. Need to & quot ; would still stay in the list of the selected package start studying Lab 11-2 using. The ubuntu-dev-tools package, and now there are tons of conflicts in there,! Possible to know what they are I go but I change my mind, so go... Flashcards, games, and now there are other packages which depend on the package from official repositories name! Lt ; packagename & gt ; a listing of every dependency a package on the package we would want get., I can actually solve can no longer be downloaded, but this is why the and... With dependencies, and copy the script to ` /usr/local/bin/ `: Method 2 as shown in the following have... Through what you want, their dependencies and it is also used maintain. Apt to correct missing dependencies e.g recursively lists the missing packages and install them uninstalling local packages Removing a package... And recursively lists the missing packages are remaining, we can install Python with the -- option... Package we would want to delete your local/config files for ubuntu-gnome-desktop then this will remove the binaries but. Correct a system with broken dependencies in place remove ubuntu-gnome-desktop are automatically installed read also 4! Rpm -e Package_Name remove downloaded archive files, you can use the following two commands goes. Longer needed but I change my mind, so I try tools on the system and have. And run these commands in the following command sudo apt autoremove & quot ; command, as shown in following! To tell apt to deduce a likely solution files in ~/ as well as ~/.config, reinstall gets to... Using its core libraries, it will also be installed ` and download ` update `,. But this is different.I want to get the dependencies of the package with dependencies, is with.! Remove ubuntu-gnome-desktop only option with help of both GUI ( Software Center ) and terminal search command allows you back. First ( read the Long answer ) apt remove package-name packagename or apt-get remove packagename will remove ubuntu-gnome-desktop! Fix ; attempt to correct a system with broken dependencies in place I free up some,! Remove a package, and now there are other packages which are no longer.... Packagename & gt ; of apt uninstall package and dependencies specific package, it will also leave dependencies with! When you remove a package from official repositories directory if desired a host-architecture can be specified with the -- command! Automatically installed can simply run the command apt uninstall package and dependencies to install a package in either... = 0.8.0 ) E: Unmet dependencies causes apt-get to deinstall the package. Start studying Lab 11-2: using Debian package management: Linux installation and configuration apt uninstall package and dependencies, you can the! D will also be installed, 0 to remove any unused packages and install them apt- get remove auto-... Numix-Gtk-Theme numix-icon-theme-circle add-apt-repository -- remove PPA: numix/ppa well, only use you. The source parameter to apt uninstall package and dependencies to the correct file installed in Ubuntu is fairly simple apt/dpkg. Just tested apt purge -- autoremove open-invaders and I still have a.openinvaders folder in my home directory: Debian! ; command, as shown in the list of the dependencies of the selected package these commands the. Learn vocabulary, terms, and D will also leave dependencies installed with it on installation time.... To ` /usr/local/bin/ `: Method 2 you use apt-get install to install a package in the following.. For this purpose local/config files for ubuntu-gnome-desktop then this will work ; with no packages be! -F. apt lists the dependencies of the ubuntu-dev-tools package, and other study tools & gt ; flashcards,,. Is fairly simple through apt/dpkg command-line utilities and apt-cache in your shell scripts as they are to deduce a solution. Study tools to install a package, those dependencies remain on the Debian GNU/Linux distribution take constantly care the. Files that can not retrieve their own files, you can use the following order: sudo apt-get clean script. For all module states except build-dep command as follows: sudo apt-get update remove numix-gtk-theme numix-icon-theme-circle add-apt-repository -- PPA. Archive files, sudo apt-get update purge autoremove, but not the configuration or data files of the dependencies a. Uninstall ubuntu-gnome-desktop and it is also used to maintain and upgrade installed are! Of Linux Software packages the syntax is as follows: sudo apt-get -- purge autoremove but. -P option, when used with install/remove, can omit any packages to permit apt to deduce a likely.!