You are not logged in.

#1 2017-10-19 22:55:45

Zhme
Member
Registered: 2017-06-11
Posts: 80

[Solved]Remove recently installed packages

I recently installed KDE desktop environment and it loads/runs very slowly.  I was hoping to uninstall the massive packages and dependencies for the desktop env.  So to be clear what is the best way to list installed packages, by date/time if possible and which command is the safest to remove them?

Last edited by Zhme (2019-11-29 05:05:19)

Offline

#2 2017-10-19 23:00:22

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved]Remove recently installed packages


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-10-19 23:05:55

Zhme
Member
Registered: 2017-06-11
Posts: 80

Re: [Solved]Remove recently installed packages

Using expac I created a text file with all the packages installed in order.  Is there a way to uninstall everything after a certain time??

Offline

#4 2017-10-20 08:19:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,869

Re: [Solved]Remove recently installed packages

Sure.

Why do you remotely think that this is somehow a good idea?
This sounds very much like an xy problem - what's your actual issue?

Online

#5 2017-10-20 09:08:04

mpan
Member
Registered: 2012-08-01
Posts: 1,675
Website

Re: [Solved]Remove recently installed packages

Zhme has explained that the problem is to roll back KDE+friends installation. Not an XY.

Zhme:
When using expac, output the packages with installation time, as epoch time, in the following format: “time pkgName”. Then use awk to list only the packages over some specified time: awk '$1 > epochTime'. Finally cut only the second column. You have your list.

Offline

#6 2017-10-20 10:17:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,869

Re: [Solved]Remove recently installed packages

Then don't use KDE or uninmstall it - time-based purges are russian roulette, notably after sth. like "pacman -Syu kde"

Online

#7 2017-10-20 16:28:21

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [Solved]Remove recently installed packages

Check the system's pacman.log for the package or groups that were installed to install kde.  See Removing packages to remove the packages and their dependencies.
See also `man pacman`s Remove option section.
Edit:
missed slithery had already covered this.

Last edited by loqs (2017-10-20 16:29:31)

Offline

#8 2017-10-25 21:36:36

Zhme
Member
Registered: 2017-06-11
Posts: 80

Re: [Solved]Remove recently installed packages

Sorry for the delayed response.  I appreciate the feedback, I realize now that I had been overly eager to get and answer and that my questions were clearly answered in the wiki.  As far as my problem went I didn't actually troubleshoot and fix the problem I did a clean reinstall.  I took it as a learning experience and have had a lot more success/progress just installing a window manager and reading extensively into each package and command that I use!   Thank you again for trying to help me!

Seeing as I didn't actually solve a question that someone may find using a similar thread title, I assume I shouldn't mark this as solved, leaving an empty trail??

Offline

#9 2017-10-25 21:48:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved]Remove recently installed packages

Mark it as resolved.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB