DragonFly users List (threaded) for 2009-05
DragonFly BSD
DragonFly users List (threaded) for 2009-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: pkg_radd PKG_PATH


From: Antonio Huete Jimenez <ahuete.devel@xxxxxxxxx>
Date: Fri, 22 May 2009 00:07:58 +0200

Hi Saifi,

I think you should checkout first pkgsrc before trying to use pkgsrc
WIP. Sorry for not mentioning this before. So I'd go with the
following:
(If you have something important under /usr/pkgsrc, save it before)

# rm -fr /usr/pkgsrc
# cd /usr
# make pkgsrc-checkout
# make pkgsrc-wip-checkout

PKGIN
pkgin is just a frontend for pkgsrc binary packages management. More
information on how to use it here: http://imil.net/pkgin/
You can install it following the instructions I gave you before.

Once installed, before using it, you will need to set a path you a
binary repo for your DF version, in your case 2.2.1:

# setenv PKG_REPOS
http://www.theshell.com/pub/DragonFly/packages/DragonFly-2.2.1/All/
You have to set this variable in your shells profile file if you want
it to be permanent.

Once done, just update:
# pkgin update

And you are ready to install

PKG_RADD
If you decide to use pkg_radd instead pkgin, it is fine also. You
don't have to speciy anything, just install:

# pkg_radd -v anypackage

COMPILING WITH PKGSRC
And if you finally decide to use pkgsrc, because you want to build
everything by yourself, just:

# cd /usr/pkgsrc/pkgtools/pkgfind/
# bmake install clean
# rehash

And now you can find packages with pkgfind:

# pkgfind evince
print/evince: Document viewer for the GNOME Desktop
print/evince-nautilus: File properties plugin for evince files

In the case you still get failures when compiling, it will be likely
your pkgsrc installation is broken, and you'll have to start over with
bootstrap, but this is another thing. ;D

I also recommend that you read some more about pkgsrc
(http://www.netbsd.org/docs/pkgsrc/)

Hope this helps.

Antonio

2009/5/21 Saifi Khan <saifi.khan@twincling.org>:
> On Thu, 21 May 2009, Simon 'corecode' Schubert wrote:
>
>> Matthew Dillon wrote:
>> >     Not all of our mirrors have all of our top-level softlinks.
>> >     corecode?  Chlamydia is missing a bunch of softlinks.
>> >
>> >     Nearly all the softlinks point to the 2008Q4 package set.
>>
>> I'll add the links.  We really need to get pkgbox going so that chlamydia can
>> mirror off it.  Is that still happening?
>>
>> cheers
>>   simon
>>
>
> Since i've already installed dfly-2.2.1 from the DVD, how do i
> create/add the links as required by the pkgsrc ?
>
>
> thanks
> Saifi.
>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]