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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)