You are not logged in.

#1 2009-01-31 07:24:41

jackrat
Member
Registered: 2008-02-13
Posts: 33

{Solved}Searching for a package in repos

I would appreciate a little bit of guidance here, I am searching for a specific kind of package to install, a unit converter to translate metric measurements (volume/length/height/width/distance/etc.) into American measurements. I have tried

# pacman -Ss unit converter
# pacman -Ss unit_converter
# pacman -Ss unit-converter
# pacman -Ss converter
# pacman -Ss metric converter
# pacman -Ss metric_converter
# pacman -Ss metric-converter
# pacman -Ss metric

none of which (from what I can see) provide me with the type of converter I want.
Am I wording this wrong, or is there no such converter in the repos?
Thank You, jackrat

PS - Thank You to the developers --- this is an excellent distro and I plan to be using it for a long time. Very easy to set up just the way I want it (Using the Beginners Guide, I had virtually no problems at all) smile

Last edited by jackrat (2009-02-01 01:28:50)

Offline

#2 2009-01-31 07:55:28

tlaloc
Member
From: Lower Saxony
Registered: 2006-05-12
Posts: 359

Re: {Solved}Searching for a package in repos

Try units or gonvert from AUR.

Offline

#3 2009-02-01 00:47:22

jackrat
Member
Registered: 2008-02-13
Posts: 33

Re: {Solved}Searching for a package in repos

tlaloc Thank You, I didn't think of pluralizing it sad. Can you tell me how you found it so I will know how to better use the repo search command

pacman -Ss

next time?

Also, I used

pacman -Si
pacman -Qi

to find out more about the package and this is the output:

$ pacman -Si units
Repository     : community
Name           : units
Version        : 1.87-1
URL            : http://www.gnu.org/software/units/units.html
Licenses       : GPL  
Groups         : None
Provides       : None
Depends On     : readline  
Optional Deps  : None
Conflicts With : None
Replaces       : None
Download Size  :  93.30 K
Installed Size : 275.56 K
Packager       : Jeff Mickey <jeff@archlinux.org>
Architecture   : i686
Build Date     : Sun 28 Oct 2007 06:56:18 AM MDT
MD5 Sum        : 633c38088c3aa6003a95a74277b85101
Description    : converts between different units
$ pacman -Qi units
error: package "units" not found

I got those commands from here http://wiki.archlinux.org/index.php/Pac … e_Database
I wonder why

pacman -Qi

would tell me there is no such package hmmEDIT: Never mind this question, once the package was installed, that command worked wink

Thanks, I am installing "units" now big_smile

Last edited by jackrat (2009-02-01 00:57:46)

Offline

#4 2009-02-01 00:54:49

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: {Solved}Searching for a package in repos

A good way to find software is to google it first and then do a pacman search for the program name.

tlaloc probably just happened to know the program, as he suggested getting it from the AUR even though it's in community now (which is good in this case as it's one less step to go for you).


"pacman -Si" gives you information about packages in the repos. "pacman -Qi" gives you information about packages that you've installed. Take a look at "man pacman" to learn move about pacman's options.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2009-02-01 01:08:08

jackrat
Member
Registered: 2008-02-13
Posts: 33

Re: {Solved}Searching for a package in repos

Thanks Xyne,

Xyne wrote:

A good way to find software is to google it first and then do a pacman search for the program name.

I did google it first wink
"unit converter" + Arch Linux
"unit converter" + Arch

neither gave me a clue to whether it was in the Arch repos, or what name it would be called.

Xyne wrote:

"pacman -Si" gives you information about packages in the repos. "pacman -Qi" gives you information about packages that you've installed.

As you can see by my edit above, I found that out.

Xyne wrote:

Take a look at "man pacman" to learn more about pacman's options.

# man pacman
No manual entry for pacman

Is there any way to download the pacman man page? I'll have to search the forums to see if this has come up before wink

HAH! I found the answer here http://bbs.archlinux.org/viewtopic.php?id=57294 I had to

unset MANPATH

and remove (I just commented it out)

export MANPATH

Thanks for your help tlaloc and Xine big_smile

Last edited by jackrat (2009-02-01 01:39:41)

Offline

#6 2009-02-01 01:24:51

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: {Solved}Searching for a package in repos

I would have just googled for "linux unit converter" and then tried searching for the names of different hits.

I don't know why you don't have the pacman man page. It's installed by default I think (I have it and never had to install it explicitly).

Maybe you can try re-installing it.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#7 2009-02-01 01:29:54

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: {Solved}Searching for a package in repos

jackrat wrote:
# man pacman
No manual entry for pacman

Is there any way to download the pacman man page? I'll have to search the forums to see if this has come up before wink

make sure you have the following in /etc/profile:

unset MANPATH

edit: you seem to have found the answer yourself while I was posting, cheers

Last edited by tdy (2009-02-01 01:35:28)

Offline

#8 2009-02-01 01:34:18

jackrat
Member
Registered: 2008-02-13
Posts: 33

Re: {Solved}Searching for a package in repos

In addition to

unset MANPATH

, I found out you have to remove or comment out,

export MANPATH

, otherwise it won't work correctly, at least it didn't for me (and others, see link in my post above).

Last edited by jackrat (2009-02-01 01:39:07)

Offline

Board footer

Powered by FluxBB