steven mestdagh wrote:
> Andris [2006-07-21, 09:09:45]:
>> I do this when I know the package name:
>>
>> 1. ftp $PKG_PATH
>>
>> 2. ls kdel*
>>
>> -r--r--r--  1 100  100  20614454 Mar  4 18:38 kdelibs-3.5.1p0.tgz
>>
>> 3. bye
>>
>> 4. sudo pkg_add kdelibs-3.5.1p0.tgz
> 
> you could just use
> 
> pkg_add -i kdelibs
> 
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
> 
> 

You may do this:

1) insert this text in your /etc/profile:
alias pkg_list='lynx -dump $PKG_PATH/index.txt >$HOME/pkglist.txt'
with the command-alias "pkg_list" you can download and upgrade the list of 
packets of your
packet source

when you want download a packet, do this:
grep [name of packet] ./pkglist.txt
(ej. # grep nmap pkglist.txt)

and you have the complete name of the packet

NOTE: the number version of the packet is not needed in OBSD 3.9

Sorry my english!!!!

Bye,

-- 
Bliztkrieg
relampagox {at} gmail +dot+ com

Reply via email to