DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th June 2010
fabiogar fabiogar is offline
New User
 
Join Date: Jun 2010
Posts: 2
Thanked 0 Times in 0 Posts
Default [Beginner] Things to do after a successful installation

Hi, I'm a newbie in NetBSD though I know to use GNU/Linux well enough.

After the basics installation I logged in as "root" and I would like to install
some basics interface to navigate and obtain wiki resource to learn about
BSD systems.

I've tried to install vim with
Code:
pkg_add ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0.2_2010Q1/All/vim-7.2.411.tgz
but the system respond as a failed installation.

The network interface is working cause I obtain replies from google.

Can someone guide me in the after-installation setups??
Or address me some compact wiki/tutorial in use pkg_src tools??

Thanks in advance
Reply With Quote
  #2   (View Single Post)  
Old 18th June 2010
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 270
Thanked 23 Times in 23 Posts
Default

I'm not a NetBSD user, so don't rely on what I say.

Try pinging the FTP server. And use the -v (verbose) pkg_add(1) option.

You probably should keep the guide handy.
__________________
May the source be with you!
Reply With Quote
  #3   (View Single Post)  
Old 18th June 2010
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 778
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by fabiogar View Post

Can someone guide me in the after-installation setups??

man afterboot


Quote:
Originally Posted by fabiogar View Post
Or address me some compact wiki/tutorial in use pkg_src tools??
http://www.netbsd.org/docs/pkgsrc/using.html#using-pkg
Reply With Quote
  #4   (View Single Post)  
Old 18th June 2010
klanger klanger is offline
Port Guard
 
Join Date: May 2010
Posts: 29
Thanked 1 Time in 1 Post
Default

1st thing, you should create user account and add it to wheel and operator group.
Login into user account with
Code:
su
and add all needed apps.

Don't install apps into root account.

I'm sure you know all above...
Reply With Quote
  #5   (View Single Post)  
Old 18th June 2010
fabiogar fabiogar is offline
New User
 
Join Date: Jun 2010
Posts: 2
Thanked 0 Times in 0 Posts
Default

Thanks!!!

I'll do all the attempts (and failures) on virtualbox as soon as possible
before planning a real installation on a physical machine.

Bye
Reply With Quote
  #6   (View Single Post)  
Old 11th July 2010
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 107
Thanked 4 Times in 4 Posts
Default

From last time I installed a NetBSD (version 5.0 IIRC) I remember that with NetBSD you need to download all the packages manually with the ftp command and then install them with pkg_add (OpenBSD uses the "-r" parameter to fetch packages off the mirrors).
Reply With Quote
  #7   (View Single Post)  
Old 11th July 2010
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 566
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by fbsduser View Post
From last time I installed a NetBSD (version 5.0 IIRC) I remember that with NetBSD you need to download all the packages manually with the ftp command and then install them with pkg_add
That is one option, but you don't have to do it that way, and probalby most people don't. NetBSD's pkg_add(1) can fetch the packages remotely using either FTP or HTTP, and it can also get them from a local filesystem. Just set the PKG_PATH variable appropriately;, e.g., mine is

Code:
.;/mnt/samsung/usr/local/src/NetBSD/5.0/packages;ftp://nyftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/5.0/All
(That being said, I'm on dial-up, so I rarely use pkg_add to fetch remote stuff anymore.)
Reply With Quote
  #8   (View Single Post)  
Old 12th July 2010
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 593
Thanked 9 Times in 9 Posts
Default

Quote:
From last time I installed a NetBSD (version 5.0 IIRC) I remember that with NetBSD you need to download all the packages manually with the ftp command and then install them with pkg_add (OpenBSD uses the "-r" parameter to fetch packages off the mirrors).
I think the pkg_add -r is for FreeBSD. In OpenBSD you set your PKG_PATH variable
From 15.2.2 of the OpenBSD FAQ
Quote:
$ export PKG_PATH=ftp://your.ftp.mirror/pub/OpenBSD/4.7/packages/`machine -a`/
For NetBSD:
Quote:
5.15. Installing additional software
Using packages from pkgsrc

If you wish to install any of the software freely available for UNIX-like systems you are strongly advised to first check the NetBSD package system, pkgsrc. pkgsrc automatically handles any changes necessary to make the software run on NetBSD. This includes the retrieval and installation of any other packages on which the software may depend.

*

See the list of available packages
*

Precompiled binaries are available on the NetBSD FTP server for some ports. To install them the PKG_PATH variable needs to be adjusted in the following way (under the sh(1) shell):

# export PKG_PATH="http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<PORT>/<RELEASE-NUMBER>/All"
# export PKG_PATH

Where <RELEASE-NUMBER> needs to be replaced by the release number of an existing NetBSD release (for example, 5.0). <PORT> needs to be replaced by the Port name for the used architecture (for example, amd64)

Applications can now be installed by the superuser root with the pkg_add command:

# pkg_add -v perl
# pkg_add -v apache
# pkg_add -v firefox
# pkg_add -v kde
The NetBSD quote was taken directly from the NetBSD handbook. It is dated and in the interim NetBSD packages have migrated to nyftp.NetBSD.org per ldOp post

Last edited by shep; 12th July 2010 at 12:37 PM. Reason: correct NetBSD package site
Reply With Quote
  #9   (View Single Post)  
Old 13th September 2010
flathandle flathandle is offline
New User
 
Join Date: Sep 2010
Posts: 1
Thanked 0 Times in 0 Posts
Default

What I did after install...
chmod +w .profile

then uncomment the PKG_PATH variable and change the first ftp to http
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unattend installation uva NetBSD Installation and Upgrading 1 12th June 2010 03:04 PM
[Beginner]perl-5.10.1 conflicts with installed package(s): Noclue FreeBSD Installation and Upgrading 2 13th April 2010 09:14 PM
freebsd 7 64 bit installation ijk FreeBSD Installation and Upgrading 9 1st September 2008 03:16 AM
Funny things in /usr/share/misc ivanatora FreeBSD General 4 10th August 2008 02:13 PM


All times are GMT. The time now is 03:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick