Google Plus

Howto- Install pkgin on NetBSD 6

Written by Mel Kham on . Posted in Unix Tutorials

In this post i will show you how  i have  installed  my pkgin in my  Netbsd 6.0 Beta.

What’s is  pkgin ?

pkgin is cool   software unix package manager  Like apt-get  aptitude yum en merge  for Linux  distributions

How to install pkgin

First  login  to your  machine

  • pkgin installation

The first thing we need to install is pkgin using the old traditionnal way of installing binaries on NetBSD:

# export PKG_PATH="http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/6.0_BETA_current/All/"
# pkg_add -v pkgin

To be able to use pkgin we need to configure the following file : /usr/pkg/etc/pkgin/repositories.conf defining the repository we want to use, for example:

http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/6.0_BETA_current/All/

We can now update the database:

# pkgin update

If you  have  any issue with this  command   like  libcrypto.so.4 not  found, try to make  a  symbolic link from    /usr/lib/libcryptoso.1 to  libcrypto.so.4
i have tested  this  method  and  it work’s

netbsd6# pkgin  update
 Database needs to be updated.
 proceed ? [Y/n] y
 reading local summary...
 processing local summary...
 updating database: 100%
 database for ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/6.0_BETAT_current/All is up-to-date

Now  pkgin is ready, you can install   everything using the pkgin command. Example vsftpd

netbsd6# pkgin  install  vsftpd
calculating dependencies... done.
nothing to upgrade.
1 packages to be installed: vsftpd-2.3.4 (76K to download, 192K to install
proceed ? [Y/n]

Is all.

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • http://twitter.com/abhi9u Abhinav Upadhyay

    Good to  see NetBSD coverage on Unixmen, and yeah pkgin is a very useful tool :-)

  • David Brownlee

    Would it make sense for pkgin to check for an empty repositories.conf and offer to populate it from PKG_PATH if set?

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

abhishek Bagusetty

|

Hey Mel,

First of all, its good that you have figured a way to block torrents using iptables. I am new to networking and would like to do couple of things.

1) Monitor the network activity in the home network

2) Block all the torrents from downloading.

Is there a tool or a way in linux which could give me some solutions to meet the above mentioned cases. I dont want to use any commercial programs as I am more towards OpenSource. It would be greatful if you could offer me some help.

Thanks,

Abhi

Abhishek

Department of Chemical Engineering

The University of Utah

Ernesto Gutierrez

|

Mel, I’ve been unsuccessful at installing citrix receiver on a 64 bit fedora install.
Eventhough I am following your instructions to the T.

Can you provide guidance via email?

SK

|

Yes you can. It should work.

LinuxSytesNet

|

Yesterday watched a movie with Morgan Freeman called ‘ A long came a spider ‘ and must say that I was quite impressed how they exchanged encrypted messages hidden in pictures. Thank you for the tutorial :)

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .