how to uninstall all packages installed by "aptitude build-dep"

binW

Is it possible to undo all changes made by "aptitude build-dep xxxxxx" i.e to un-install all dependencies installed by this command?

Gilles 'SO- stop being evil'

I don't think there's an automatic way. Packages installed through build-dep are recorded in the same way as if they'd been directly requested by name.

If you know approximately when you ran aptitude build-dep, you can find which packages got installed when you ran the command by looking through the logs in /var/log/aptitude* or /var/log/apt/*.

You can run apt-cache showsrc PACKAGENAME | grep '^Build-depends:' to list the build dependencies of the package. Review each of them to see if you want them; mark the ones you don't care about as not manually installed (apt-get markauto PACKAGENAME) and flush the non-required packages (apt-get autoremove).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I uninstall all the packages I've installed today?

From Dev

how to uninstall all packages installed by "aptitude build-dep"

From Dev

Uninstall all packages installed on a certain day in synaptic

From Dev

how to uninstall all python packages

From Java

How to uninstall editable packages with pip (installed with -e)

From Dev

How to uninstall or remove recently-installed packages

From Dev

How can I list the all the packages installed and uninstall unwanted ones from that

From Dev

How to list all installed packages

From Dev

How to list all installed packages

From Dev

How to get installed/not installed state of **all** packages?

From Dev

How to list all the installed packages and their version with Cabal?

From Dev

How to backup all installed software/packages on AIX?

From Dev

How to reinstall all installed packages with zypper

From Dev

How to list all packages installed as dependencies in Terminal, and what installed them?

From Dev

How can I mark all packages with installed dependents as "Automatically Installed"?

From Dev

Uninstall all Python packages installed by me and their dependencies, without nuking my Mac

From Dev

How to uninstall all specific related packages in one command?

From Dev

Shell: How to uninstall all related packages to a specific one? / Ubuntu

From Dev

How can I uninstall all packages from one Debian source?

From Dev

How to List all software installed on Ubuntu 14.04 and Uninstall them

From Dev

How to List all software installed on Ubuntu 14.04 and Uninstall them

From Dev

How to uninstall the following packages?

From Dev

Completely uninstall related packages installed with a package

From Dev

Download all installed packages

From Java

How to get list of all installed packages along with version in composer?

From Dev

How to npm install --save all packages already installed?

From Dev

How to find all the driver packages installed in my pc?

From Dev

How to get namespace of all packages installed in a salesforce organization?

From Dev

How to list licences of all installed packages in Debian-based distros?

Related Related

  1. 1

    How can I uninstall all the packages I've installed today?

  2. 2

    how to uninstall all packages installed by "aptitude build-dep"

  3. 3

    Uninstall all packages installed on a certain day in synaptic

  4. 4

    how to uninstall all python packages

  5. 5

    How to uninstall editable packages with pip (installed with -e)

  6. 6

    How to uninstall or remove recently-installed packages

  7. 7

    How can I list the all the packages installed and uninstall unwanted ones from that

  8. 8

    How to list all installed packages

  9. 9

    How to list all installed packages

  10. 10

    How to get installed/not installed state of **all** packages?

  11. 11

    How to list all the installed packages and their version with Cabal?

  12. 12

    How to backup all installed software/packages on AIX?

  13. 13

    How to reinstall all installed packages with zypper

  14. 14

    How to list all packages installed as dependencies in Terminal, and what installed them?

  15. 15

    How can I mark all packages with installed dependents as "Automatically Installed"?

  16. 16

    Uninstall all Python packages installed by me and their dependencies, without nuking my Mac

  17. 17

    How to uninstall all specific related packages in one command?

  18. 18

    Shell: How to uninstall all related packages to a specific one? / Ubuntu

  19. 19

    How can I uninstall all packages from one Debian source?

  20. 20

    How to List all software installed on Ubuntu 14.04 and Uninstall them

  21. 21

    How to List all software installed on Ubuntu 14.04 and Uninstall them

  22. 22

    How to uninstall the following packages?

  23. 23

    Completely uninstall related packages installed with a package

  24. 24

    Download all installed packages

  25. 25

    How to get list of all installed packages along with version in composer?

  26. 26

    How to npm install --save all packages already installed?

  27. 27

    How to find all the driver packages installed in my pc?

  28. 28

    How to get namespace of all packages installed in a salesforce organization?

  29. 29

    How to list licences of all installed packages in Debian-based distros?

HotTag

Archive