LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 10-16-2003, 10:04 AM   #1
hexe_2003
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Wink NetBSD newbie


Hi ! I installed NetBSD on my little box and its ... interesting. But I don't know the package-system fully:
1.) Howto download the packages via Internet ( A-DSL )
2.) And if I HAVE one package ( I downloaded it via my Linux-box and copied via a 3,5 Disk ), and install it with pkg_add, I just find it in /usr/pkg/package_name . So how
do I really install it in my PATH-environment variable ( so /bin - /sbin or their /usr-equals) ???
3.) ( this is less important ) What's up with updating a NetBSD system ??
4.) and how do I set the keyboard variant to de ( German ) ?? ))


Any hinds, links to docs/tuts in the net or reall help is welcome )

greez hexe_2003

Last edited by hexe_2003; 10-16-2003 at 10:06 AM.
 
Old 10-16-2003, 04:08 PM   #2
snapster
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
To install packages I use

pkg_add -v ftp://ftp.uk.netbsd.org/pub/NetBSD/p.../1.6/I386/All/<pkg_name_here>

this will download and install the package and any other required packages. You may need to modify it slightly according to your nearest mirror and NetBSD version. You can go to the ftp site in your browser to check what packages are available.

I wrote a simple script so that I don't have to type the full command in everytime. Use VI to create a file called addpkg containing the following.

#!/bin/sh
pkg_add -v ftp://ftp.uk.netbsd.org/pub/NetBSD/p.../1.6/I386/All/<pkg_name_here>


then change the filemode to executable using the following command

chmod 777 addpkg

and then you can install packages using the following command

addpkg <pkg_name_here>

Last edited by snapster; 10-16-2003 at 04:09 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NetBSD tylor *BSD 5 05-13-2005 11:26 AM
NetBSD Newbie noparking247 *BSD 2 02-20-2005 03:11 PM
NetBSD 2.0 -- it is easy! carboncopy *BSD 6 01-02-2005 05:35 AM
NetBSD on SPARC Jestrik *BSD 4 03-07-2004 04:23 PM
What is FreeBSD and NETBSD ? futurist Linux - Software 2 03-04-2004 09:39 PM


All times are GMT -5. The time now is 06:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration