You are not logged in.

#1 2009-10-05 14:58:09

ckeck
Member
From: US
Registered: 2009-10-05
Posts: 5

Newbie Pacman question [SOLVED]

I am very new to ArchLinux (less than 24 hours exposure) and have one simple question so far...

I cannot seem to figure out why when I run:

pacman -Q apache

I get an error saying it cannot find any packages named apache, but when I do:

pacman -S apache

It magically finds apache and its required dependencies...what am I missing here? Just trying to understand this system a bit better.

Thanks in advance!

Last edited by ckeck (2009-10-05 15:36:16)

Offline

#2 2009-10-05 15:01:39

Crows
Member
From: Wales
Registered: 2008-09-05
Posts: 92

Re: Newbie Pacman question [SOLVED]

The second one is checking the repos for apache, while the first command is actually checking your system to see if you have a package called apache installed.

Offline

#3 2009-10-05 15:08:04

ckeck
Member
From: US
Registered: 2009-10-05
Posts: 5

Re: Newbie Pacman question [SOLVED]

Ah, so how can I properly query/search the repositories without installing?

Offline

#4 2009-10-05 15:09:22

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Newbie Pacman question [SOLVED]

pacman -Ss apache

read

man pacman

Last edited by schuay (2009-10-05 15:09:45)

Offline

#5 2009-10-05 15:14:04

ckeck
Member
From: US
Registered: 2009-10-05
Posts: 5

Re: Newbie Pacman question [SOLVED]

Thanks everyone -- I had read through it but I guess I missed that option. My mistake.

Loving Arch so far...any thoughts or advice if coming from mostly a Debian background? Finding a lot of little differences that are throwing me off smile

Offline

#6 2009-10-05 15:50:24

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Newbie Pacman question [SOLVED]

If you are coming in from another distro; take a look at http://wiki.archlinux.org/index.php/Pacman_rosetta


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-10-05 17:45:28

ckeck
Member
From: US
Registered: 2009-10-05
Posts: 5

Re: Newbie Pacman question [SOLVED]

Mr.Elendig wrote:

If you are coming in from another distro; take a look at http://wiki.archlinux.org/index.php/Pacman_rosetta

Ah, now this is helpful! Thanks!

Offline

Board footer

Powered by FluxBB