You are not logged in.

#1 2008-05-12 15:35:25

oringo
Member
Registered: 2007-08-23
Posts: 21

[SOLVED] how to query which packages installed on /opt

Does anyone know if there's a quick way to find a list of installed packages that touch /opt? My local machine was mounting /opt by autofs, and I didn't realize that a lot of packages actually install to /opt (such as kde). So after installing kde, I realized that I can't really run it unless I free up /opt. But after that, I still need to find out which package(s) need to be installed again. Any help is appreciated.

Last edited by oringo (2008-05-12 16:19:40)

Offline

#2 2008-05-12 15:43:14

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 3,682

Re: [SOLVED] how to query which packages installed on /opt

Here's what hides in my /opt.

VirtualBox-1.5.6  acetoneiso  gnome  java  kde  kde4  mozilla  narcissu  openoffice  qt  radrails  texlive

Online

#3 2008-05-12 15:47:26

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: [SOLVED] how to query which packages installed on /opt

This will list all currently installed packages that are in /opt

pacman -Ql | grep " /opt" | cut -f1 -d' ' | uniq

Is that what you wanted?

Offline

#4 2008-05-12 15:55:30

oringo
Member
Registered: 2007-08-23
Posts: 21

Re: [SOLVED] how to query which packages installed on /opt

Thanks Allan, that's exactly what I was looking for. This is why I love the community, help is so quick!

Offline

Board footer

Powered by FluxBB