Sponsored Content
Operating Systems BSD Installing ports upon FreeBSD install Post 302280018 by figaro on Sunday 25th of January 2009 05:20:41 PM
Old 01-25-2009
Installing ports upon FreeBSD install

I use DesktopBSD (FreeBSD + KDE) and regularly install this on our machines. Currently I go to the package manager to install the ports, but what shell command can I enter instead right after BSD install to install the ports?

Thanks in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing a modem on a serial accelerator ports

I had been using a modem installed on a Digi accelerator port to dial in to an SCO open server r5 server. On monday it quit working and I realy don't know how it was installed and configured. I have tested the modem on a PC and it works. The port the modem is connected to is ttyB06 and I have... (1 Reply)
Discussion started by: kikkin
1 Replies

2. UNIX for Dummies Questions & Answers

FreeBSD ports

working with FreeBSD 4.5 learning the hang of it i must say but still few probs i want to install some packages from my freebsd cdrom read lot of docs but still don't understand the commands first tried to install it by copying the tgz file and the let tar xzf on it. It worked fine and had... (1 Reply)
Discussion started by: termiEEE
1 Replies

3. UNIX for Dummies Questions & Answers

Installing FreeBSD

Not entirely sure if this belongs here but here it is. I am installing FreeBSD, downloaded the ISO from their website, created the Bootdisk. And when I try to boot, I get this error, 'Panic, Couldn't Inialize. Will not continue without Inialization'. I get the prompt telling me that it will... (2 Replies)
Discussion started by: Fmarvez
2 Replies

4. UNIX for Advanced & Expert Users

FreeBSD 5.00 /ports

Download FreeBSD 5.0 mini_install.ISO i was trying to do a post-installation , trying to install the ports but doesn't install it gives me could not find index error ?!any ideas..?? as the index file is on the cd and I checked it the file is not corrupt.!! A guy made me an offer i can't... (9 Replies)
Discussion started by: wizardofid
9 Replies

5. BSD

installing FreeBSD

hi everybody i'm now downloading FreeBSD using anonymous ftp...the problem i'll encounter is that it seems to be a huge archive.... I want just install it over a 8 G disk....how can i manage this? thanks regards (3 Replies)
Discussion started by: hmaiida
3 Replies

6. UNIX for Dummies Questions & Answers

Installing Freebsd

Hi All Hope this is not going to upset you but i really need help. I'm new to Unix (Brand New) have never worked on a unix system before in my life so please bear with me. I'm in the process to install Freebsd but have no idea how to go ahead. The system that i have does not have any cd... (3 Replies)
Discussion started by: stunner
3 Replies

7. BSD

Problem with re-installing ports

Hello, I am fairly new at FreeBSD. I tried searching existing topics for a similar problem, but I found none :) I have a problem reinstalling apache22 which I had to remove in my troubleshooting with mysql. Since I've got MySQL working now (joy unbounded!) I now have the task of... (3 Replies)
Discussion started by: brightstorm
3 Replies

8. UNIX and Linux Applications

[FreeBSD] / ports / textproc / htmlise - how to

/ ports / textproc / htmlisehttp://cvsweb.freebsd.org/ports/textproc/htmlise I've installed this but I can't find any documentation -anywhere- on how to use it. There is no man or help switch available for this. Can anybody give me some insight on what syntax it requires or a simple example on... (3 Replies)
Discussion started by: phpfreak
3 Replies

9. BSD

Updating the FreeBSD ports

When updating the ports, I normally do the following: rm -r /usr/ports csup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile This however takes rather long, about 20 mins on stock hardware. Is there a way to exclude certain ports from being updated, such as games and print? (4 Replies)
Discussion started by: figaro
4 Replies

10. UNIX Desktop Questions & Answers

Installing FreeBSd 8.1?

Hello everybody, I'm really new to Unix(and new here) ,and I'm looking forward to install FreeBSD 8.1 in Virtual Box on the Host - Windows 7.Otherwise in a eternal HDD.My problem is that I tried to find out step by step instruction but failed to find any such set of instructions. I'm in fact a... (1 Reply)
Discussion started by: blackwhite
1 Replies
PKG(7)						       BSD Miscellaneous Information Manual						    PKG(7)

NAME
pkg -- a utility for manipulating packages SYNOPSIS
pkg <command> pkg add [-f] <pkg.txz> pkg -N pkg bootstrap [-f] DESCRIPTION
pkg is the package management tool. It is used to manage local packages installed from ports(7) and install/upgrade packages from remote repositories. To avoid backwards incompatibility issues, the actual pkg(8) tool is not installed in the base system. The first time invoked, pkg will bootstrap the real pkg(8) from a remote repository. pkg <command> If pkg(8) is not installed yet, it will be fetched, have its signature verified, installed, and then have the original command forwarded to it. If already installed, the command requested will be forwarded to the real pkg(8). pkg add [-f] <pkg.txz> Install pkg(8) from a local package instead of fetching from remote. If a pkg.txz.sig file exists and signature checking is enabled, then the signature will be verified before installing the package. If the -f flag is specified, then pkg(8) will be installed regardless if it is already installed. pkg -N Do not bootstrap, just determine if pkg(8) is actually installed or not. Returns 0 and the number of packages installed if it is, otherwise 1. pkg bootstrap [-f] Attempt to bootstrap and do not forward anything to pkg(8) after it is installed. If the -f flag is specified, then pkg(8) will be fetched and installed regardless if it is already installed. CONFIGURATION
Configuration varies in whether it is in a repository configuration file or the global configuration file. Repository configuration can be stored in /etc/pkg/FreeBSD.conf in the following format: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "none", fingerprints: "/usr/share/keys/pkg", enabled: yes } url Refer to PACKAGESITE in ENVIRONMENT mirror_type Refer to MIRROR_TYPE in ENVIRONMENT signature_type Refer to SIGNATURE_TYPE in ENVIRONMENT fingerprints Refer to FINGERPRINTS in ENVIRONMENT enabled Defines whether this repository should be used or not. Valid values are yes, true, 1, no, false, 0. Global configuration can be stored in /usr/local/etc/pkg.conf in the following format: PACKAGESITE: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", MIRROR_TYPE: "srv", SIGNATURE_TYPE: "none", FINGERPRINTS: "/usr/share/keys/pkg", ASSUME_ALWAYS_YES: "yes" REPOS_DIR: ["/etc/pkg", "/usr/local/etc/pkg/repos"] Reference ENVIRONMENT for each variable. ENVIRONMENT
The following environment variables can be set to override the settings from the pkg.conf file used. MIRROR_TYPE This defines which mirror type should be used. Valid values are SRV, HTTP, NONE. ABI This defines the ABI for the package to be installed. Default ABI is determined from /bin/sh. ASSUME_ALWAYS_YES If set, no confirmation will be asked when bootstrapping pkg(8). SIGNATURE_TYPE If set to FINGERPRINTS then a signature will be required and validated against known certificate fingerprints when boot- strapping pkg(8). FINGERPRINTS If SIGNATURE_TYPE is set to FINGERPRINTS this value should be set to the directory path where known fingerprints are located. PACKAGESITE The URL that pkg(8) and other packages will be fetched from. REPOS_DIR Comma-separated list of directories that should be searched for repository configuration files. FILES
Configuration is read from the files in the listed order. This path can be changed by setting REPOS_DIR. The last enabled repository is the one used for bootstrapping pkg(8). /usr/local/etc/pkg.conf /etc/pkg/FreeBSD.conf /usr/local/etc/pkg/repos/*.conf EXAMPLES
Some examples are listed here. The full list of available commands are available in pkg(8) once it is bootstrapped. Search for a package: $ pkg search perl Install a package: % pkg install perl List installed packages: $ pkg info Upgrade from remote repository: % pkg upgrade List non-automatic packages: $ pkg query -e '%a = 0' %o List automatic packages: $ pkg query -e '%a = 1' %o Delete an installed package: % pkg delete perl Remove unneeded dependencies: % pkg autoremove Change a package from automatic to non-automatic, which will prevent autoremove from removing it: % pkg set -A 0 perl Change a package from non-automatic to automatic, which will make autoremove allow it be removed once nothing depends on it: % pkg set -A 1 perl Create package file from an installed package: % pkg create -o /usr/ports/packages/All perl Determine which package installed a file: $ pkg which /usr/local/bin/perl Audit installed packages for security advisories: $ pkg audit Check installed packages for checksum mismatches: # pkg check -s -a Check for missing dependencies: # pkg check -d -a SEE ALSO
ports(7), pkg(8) HISTORY
The pkg command first appeared in FreeBSD 9.1. It became the default package tool in FreeBSD 10.0, replacing the pkg_install suite of tools pkg_add(1), pkg_info(1) and pkg_create(1). BSD
December 12, 2013 BSD
All times are GMT -4. The time now is 07:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy