Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

install(1) [bsd man page]

INSTALL(1)						      General Commands Manual							INSTALL(1)

NAME
install - install binaries SYNOPSIS
install [-cs] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-cs] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory DESCRIPTION
The file(s) are moved (or copied if the c option is specified) to the target file or directory. If the destination is a directory, then the file is moved into directory with its original filename. If the target file already exists, it is overwritten if permissions allow. c Copy the file. This flag turns off the default behavior of install where it deletes the original file after creating the target. f Specify the target's file flags. (See chflags(1) for a list of possible flags and their meanings.) g Specify a group. m Specify an alternate mode. The default mode is set to rwxr-xr-x (0755). The specified mode may be either an octal or symbolic value; see chmod(1) for a description of possible mode values. o Specify an owner. s Install exec's the command strip(1) to strip binaries so that install can be portable over a large number of systems and binary types. By default, install preserves all file flags, with the exception of the ``nodump'' flag. The install utility attempts to prevent moving a file onto itself. Installing /dev/null creates an empty file. Upon successful completion a value of 0 is returned. Otherwise, a value of 1 is returned. SEE ALSO
chflags(1), chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8) HISTORY
The install utility appeared in 4.2BSD. 4.2 Berkeley Distribution February 20, 1996 INSTALL(1)

Check Out this Related Man Page

PMKINSTALL(1)						    BSD General Commands Manual 					     PMKINSTALL(1)

NAME
pmkinstall -- install binaries and data SYNOPSIS
pmkinstall [-bcs] [-B suffix] [-g group] [-m mode] [-o owner] file1 file2 pmkinstall [-bcs] [-B suffix] [-g group] [-m mode] [-o owner] file1 ... fileN directory pmkinstall -d [-g group] [-m mode] [-o owner] directory ... pmkinstall -v pmkinstall -h DESCRIPTION
The file(s) are copied to the target file or directory. If the destination is a directory, then the file is copied into directory with its original filename. If the -b option is given and the target file already exists, it is renamed to the original name folloeb by the backup suffix. The default suffix is ".old" but can be overriden with the -B option. The options are as follows: -B suffix Orverride backup suffix -b Backup any existing files before overwriting. -c Copy the file. This is actually the default. The -c option is only included for backwards compatibility. -d Create directories. Missing parent directories are created as required. -g group Specify a group. A numeric GID is allowed. -h Display usage. -m mode Specify an alternate mode. The default mode is set to rwxr-xr-x (0755). The specified mode may be either an octal or symbolic value; see chmod(1) for a description of possible mode values. -o owner Specify an owner. A numeric UID is allowed. -s pmkinstall exec's the command of environment variable STRIP to strip binaries so that install can be portable over a large number of systems and binary types. If the environment variable STRIP is not set, the action is skipped. -h Display version. The pmkinstall utility exits 0 on success, and >0 if an error occurs. ENVIRONMENT
STRIP Set which strip(1) program to run. SEE ALSO
pmk(1), pmkscan(1), pmksetup(8) AUTHOR
Damien Couderc. BSD
June 6, 1993 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

doh! please help.

I was creating some space in my /usr directory to install a new package. As root I had moved some of the big ones and replace them with links to the new locations. for some reason I then thought it a good idea to move /usr/lib to /export/home. After doing that absolutely nothing worked, not su, mv,... (4 Replies)
Discussion started by: fishman2001
4 Replies

2. UNIX for Dummies Questions & Answers

Need Help Understanding a Unix Command

Trying to install something. Can someone explain what this means? chmod -R a+r . chmod -R a+w logo.gif tempdir/ templates_c/ I recognize that file permissions are being changed (chmod), but beyond that, it's Greek to me. (6 Replies)
Discussion started by: chris86
6 Replies

3. HP-UX

Oracle 9i install: Error in invoking target install of makefile

I receive an error while installing Oracle 9i: Error in invoking target install of makefile /opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk Furthermore: $ whoami oracle $ echo $ORACLE_HOME /opt/oracle/product/9.2.0 $ pwd /opt/oracle/product/9.2.0/sqlplus/lib $ ll total... (5 Replies)
Discussion started by: chris2005
5 Replies

4. BSD

can't install AWStats

I am running FreeBSD 6.3 and trying to install AWStats. I found this site with some instructions: Installing AWStats on FreeBSD however, the pkg install doesn't work. This is the error I get: dl1-3# pkg_add install -r awstats pkg_add: can't stat package file 'install' pkg_add: can't stat... (3 Replies)
Discussion started by: jasonfrost
3 Replies

5. BSD

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 (3 Replies)
Discussion started by: figaro
3 Replies

6. Programming

Installing EXPECT on unix

Friends, I thought of installing EXPECT but unable to execute 'make', its throwing errors. Am not a 'root' user, will I not be able to install EXPECT in my home directory? (8 Replies)
Discussion started by: anaga
8 Replies

7. UNIX for Dummies Questions & Answers

Installing a Program called MAQ (Beginner Here)

Basically, I'm trying to install this program called MAQ. Maq User's Manual I've downloaded it and I tried to type in $ ./configure; make; make install but the ouput I got was this: bash: ./configure: No such file or directory make: Entering directory `/home/vlay/bwa-0.5.0' make:... (8 Replies)
Discussion started by: vlay2
8 Replies

8. Red Hat

SE Linux Permissive mode during Fedora install

Is there a way to set SE Linux to Permissive mode during Fedora install? I saw this but I was hoping there was a way to do this during the install. How to Disable SELinux (4 Replies)
Discussion started by: cokedude
4 Replies

9. HP-UX

install arabic lang

hi how to install arabic language and set it as default in hpux. also there is any website provide vm for hpunix for testing. (2 Replies)
Discussion started by: drpix
2 Replies

10. AIX

Installing SAMBA problems

I have created an LPAR and the next step is to get SAMBA installed, I have mounted our NIM server up and copied over the SAMBA binaries .bff files. How do i install these? i tried doing this through SMIT but had no luck..? Any help would be greatly appreciated. AIX OS 6.1 (2 Replies)
Discussion started by: audis$
2 Replies

11. AIX

alt clone

I have two identical systems p740 with 2 lpars in each server. I dont want to install os from scratch on each lpar neither I want to use nim nor mksysb. Will it work perfectly if I install a fresh OS on 1 lpar and do alt disk clone for other lpras. My each lpar is having 2 physical disks. Now if... (2 Replies)
Discussion started by: vjm
2 Replies

12. Red Hat

During install error centos 5.8

Hi i am getting the following error while i try to install OS from my repo " unable to read group information from repositories this is a problem with the generation of your install tree " guide me any one (3 Replies)
Discussion started by: venikathir
3 Replies

13. AIX

Pseries new configuration and install

Hi guys, My company just bought pseries server from ibm, would like to ask , if first i need to install HMC for creating lpars ? or first i need to install aix , and then install hmc? Thx, (3 Replies)
Discussion started by: prpkrk
3 Replies

14. AIX

Install software in another directory with smitty install

Hello, I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location? i would like to intall in /opt folder , but smitty installed it in /usr Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies

15. Red Hat

Installing xwindow on RHEL (offline)

I need to install xwindow on my RHEL 7.2 server which is behind a firewall and no access to internet. If I run the below code, it will not able to install, as my server dont have internet connection. yum -y install xterm* xorg* xclock xauth Do you know, where can I get the required binaries... (2 Replies)
Discussion started by: karumudi7
2 Replies