You are not logged in.

#1 2006-11-21 12:00:51

VuLTuRe
Member
From: Turkey
Registered: 2005-12-16
Posts: 56
Website

pacman - installed packages

how can i show an uninstalled package as it is installed to the pacman?


TuX We TrusT

Offline

#2 2006-11-21 14:44:01

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: pacman - installed packages

Niye böyle bir şey yapmak istiyorsunuz ki ? Böyle bir şey yapmanıza gerek olmaması lazım..


Quis custodiet ipsos custodiet?

Offline

#3 2006-11-21 14:59:10

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: pacman - installed packages

Doesn't make sense to me. oO

What do you want?


Hail to the thief!

Offline

#4 2006-11-21 15:38:49

VuLTuRe
Member
From: Turkey
Registered: 2005-12-16
Posts: 56
Website

Re: pacman - installed packages

Ok, guess i haven't installed xmms. But when i type:

pacman -Q xmms

i want to see something like that:

#pacman -Q xmms
xmms 1.2.10-7

How can i do it?


TuX We TrusT

Offline

#5 2006-11-21 15:46:36

Mefju
Member
From: Poland
Registered: 2006-07-12
Posts: 104

Re: pacman - installed packages

pacman -S xmms

Offline

#6 2006-11-21 16:03:12

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: pacman - installed packages

pacman -Ss = apt-cache search = yum list

At least sort of.  I think pacman -Ss is what you're looking for - it looks for matches in the name or description of packages.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#7 2006-11-21 19:46:14

VuLTuRe
Member
From: Turkey
Registered: 2005-12-16
Posts: 56
Website

Re: pacman - installed packages

No no , that's not what i'm looking for.

For example i compile xmss by myself. So when i write this to the console

pacman -Q xmms

i couldn't see it. I mean when i compile a package by myself (without pacman) how can i see it as i installed with pacman?


TuX We TrusT

Offline

#8 2006-11-21 19:49:55

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: pacman - installed packages

VuLTuRe wrote:

i couldn't see it. I mean when i compile a package by myself (without pacman) how can i see it as i installed with pacman?

You can't.  That's why you should write PKGBUILDs instead of compiling/installing things by hand.

Offline

#9 2006-11-21 19:53:58

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: pacman - installed packages

pacman only knows about packages installed by pacman - fairly logical, I think. If you want to compile your own packages (why?) and have them under pacman's control, use ABS (Arch Build System) - details in the wiki.

Offline

#10 2006-11-21 20:03:30

VuLTuRe
Member
From: Turkey
Registered: 2005-12-16
Posts: 56
Website

Re: pacman - installed packages

Yes. I know PKGBUILDs and ABS.

But i think, It's strange. How can "pacman -Q" understand installed packages? There should be a trick.


TuX We TrusT

Offline

#11 2006-11-21 20:29:55

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: pacman - installed packages

Why is it strange?

In order for a package manager to see what is installed, it must have a database that keeps track of the files that belong to the programs.
How else would you know if file XXX belongs to program A or B?
And this is what pacman does for you.
When you compile the program yourself, no entry is made into this database - of course not, cause what does the program care what package manager you use, be it apt-get or yum or pacman or none at all!

This is why either your question was misunderstood, or people were recommending the use of ABS.

wink

Cheers,
Blind

Offline

#12 2006-11-22 09:33:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: pacman - installed packages

If you're looking for a "trick", search the forum for checkinstall - various attempts have been made to adapt it to Arch, or create an equivalent.

In the long run, though, it would be quicker for you to get to know ABS - and, of course, to use the compiled packages already available in the Arch repos when applicable e.g. xmms (your example), and every other popular piece of software.

Offline

Board footer

Powered by FluxBB