Is there an easier way to uninstall packages in Arch Linux?

Rtsne42

I recently installed about 20 different icon and theme packages from Arch repository. After testing them I decided to remove most of them. However, it took me at least 15 minutes to find the exact spelling of the packages I installed and where I got them from. Something that would take me less than a minute on any other OS now became a major pain. Is there an easier way to uninstall packages in Arch Linux? Or a GUI alternative? Especially when you don't remember the package name or how you installed it.

user1133275

Yes.

Linux has a lot of options, for Arch you are using pacman; (the following code is an example only)

  • Wildcards let you pacman -Rs '.*icon.*'
  • History of your commands will let you pacman -Rs $(history | grep icon | perl -pe 's/.* //g')
  • More specific history in /var/log/pacman.log
  • There are 5 GUI front ends and more for AUR
  • pacman -Qs '.*icon.*' will list installed packages with icon in the name
  • pacman -Qo path/to/file will tell you what package a file (like a menu item belongs to)

If a good installer or package manager was not used one can't expect the system to offer an uninstall option.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Is there a way to list Arch Linux packages by original install date?

From Dev

Why are there no -dev packages in Arch Linux?

From Dev

Recommended way of installing python packages on Arch

From Dev

Cannot install or update packages with pacman (Arch Linux)

From Dev

Building packages from source on Arch linux

From Dev

Is it safe to uninstall `su` in favor of `sudo` to harden Arch Linux?

From Dev

Arch linux like way to remove package and dependencies?

From Dev

Arch linux like way to remove package and dependencies?

From Dev

How to delete old packages installed by pacman in Arch Linux?

From Dev

How to delete old packages installed by pacman in Arch Linux?

From Dev

Arch Linux: How to ignore certain packages for certain repositories using pacman?

From Dev

Remount Arch Linux installation CD to download some additional packages

From Dev

List that contains the last installed / upgraded packages in Arch Linux

From Dev

Difference between base, core, extra and community packages in arch-linux

From Dev

How do you list installed meta packages on Arch Linux?

From Dev

How to check for no longer supported installed packages on Arch Linux?

From Dev

view the most recently added packages in Arch Linux's official repositories

From Dev

Hadoop Uninstall : Shall I remove linux-image packages?

From Dev

Uninstall OWIN and Identity packages

From Dev

Meanstack io packages uninstall

From Dev

How to uninstall the following packages?

From Dev

Is there a way to differentiate between System packages and Manually installed packages in Linux?

From Dev

Can Systemd-free Artix Linux install packages from parent Arch Linux?

From Dev

Fgets progress - easier way?

From Java

Is there an easier way to sector an image?

From Dev

Is there an easier way to refactor this in Delphi?

From Dev

Easier way to switch variables?

From Dev

Is there any way to do this easier?

From Dev

Easier way to do this in php

Related Related

  1. 1

    Is there a way to list Arch Linux packages by original install date?

  2. 2

    Why are there no -dev packages in Arch Linux?

  3. 3

    Recommended way of installing python packages on Arch

  4. 4

    Cannot install or update packages with pacman (Arch Linux)

  5. 5

    Building packages from source on Arch linux

  6. 6

    Is it safe to uninstall `su` in favor of `sudo` to harden Arch Linux?

  7. 7

    Arch linux like way to remove package and dependencies?

  8. 8

    Arch linux like way to remove package and dependencies?

  9. 9

    How to delete old packages installed by pacman in Arch Linux?

  10. 10

    How to delete old packages installed by pacman in Arch Linux?

  11. 11

    Arch Linux: How to ignore certain packages for certain repositories using pacman?

  12. 12

    Remount Arch Linux installation CD to download some additional packages

  13. 13

    List that contains the last installed / upgraded packages in Arch Linux

  14. 14

    Difference between base, core, extra and community packages in arch-linux

  15. 15

    How do you list installed meta packages on Arch Linux?

  16. 16

    How to check for no longer supported installed packages on Arch Linux?

  17. 17

    view the most recently added packages in Arch Linux's official repositories

  18. 18

    Hadoop Uninstall : Shall I remove linux-image packages?

  19. 19

    Uninstall OWIN and Identity packages

  20. 20

    Meanstack io packages uninstall

  21. 21

    How to uninstall the following packages?

  22. 22

    Is there a way to differentiate between System packages and Manually installed packages in Linux?

  23. 23

    Can Systemd-free Artix Linux install packages from parent Arch Linux?

  24. 24

    Fgets progress - easier way?

  25. 25

    Is there an easier way to sector an image?

  26. 26

    Is there an easier way to refactor this in Delphi?

  27. 27

    Easier way to switch variables?

  28. 28

    Is there any way to do this easier?

  29. 29

    Easier way to do this in php

HotTag

Archive