Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do I install things on Unix? Post 302144928 by blesets on Monday 12th of November 2007 01:54:36 AM
Old 11-12-2007
In Unix, there are many directory, like /usr, /etc ....
binary(command unix) always in bin, sbin ...
Linux have many pakage/aplication format, ex rpm, deb.
It's just about format, because linux have many distro, every distro ussually have different applicaton installer format, ex ubuntu using deb, even ubuntu can also using rpm installer to, but need alien. redhat and fedora using rpm.
tgz tar.gz it's same, maybe in windows just zip or rar. Ussually you must compile first before you can install.
You must extract that file, and read the direction inside, usually you should execute make, for compile, and make install to install.

Not always become root, if you install from source code, depend on the applications. But, if you install using rpm you must became root.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Install

Hi I'm a newbie here and, in Unix. I bought a book to learn the code. I have been in different websites to find information on how to install Red Hat Linux 7.2 on my system, but I may not understand what's going on. All I see on the sites is ftp sites for download but when you click on the links... (1 Reply)
Discussion started by: Millienc
1 Replies

2. UNIX for Dummies Questions & Answers

The what and how to install UNIX on a new mac

Firstly, Happy New Year to all. Secondly, my earnest request... I am an absolute novice in UNIX. Have work around alittle with the mac os Terminal which encourage me to get myself a used G3 powerbook. I would like to work full fledge installing a unix shell onto it (without GUI). Could... (4 Replies)
Discussion started by: pharme
4 Replies

3. UNIX for Dummies Questions & Answers

can i install UNIX beside Windows XP???

Hi guys i'm new here .. and actually i wanna anyone answer my question it's simple the question is " can i setup or install UNIX beside windows XP?" i need answer plz thanks :) (11 Replies)
Discussion started by: M_Hafez
11 Replies

4. UNIX for Dummies Questions & Answers

How to install Unix on my pc

Hi guys, I have used Unix while I was a student but want to install it on my pc. My question is How do I install UNIX on my pc which has Windows XP already installed and running? I have a bootable Unix 6.0 CD. thanks (6 Replies)
Discussion started by: asif iqbal
6 Replies

5. UNIX for Dummies Questions & Answers

How to install Unix

Can anyone tell me how to install Unix. (1 Reply)
Discussion started by: hrach_gulzadyan
1 Replies

6. UNIX for Dummies Questions & Answers

How do I install Unix?

Hi, Im completely new to Unix installations, but have done some unix work so some commands are not new to me. But I would like to start my own Unix FTP server, but I have no clue where to start. I have a computer that i soon format the HD on (Was Windows,Intel computer), so I want to use... (3 Replies)
Discussion started by: helpMeGetStarte
3 Replies

7. UNIX for Dummies Questions & Answers

UNIX Application install

Hi, I am currently installing an application (tar ball) on a server that involves ftp from my computer to the server directory (unix). Once it is deployed, I am now responsible to getting it to run. Using putty, i telnet/ssh to the remote node and type in the following command: vi .kshrc. I... (5 Replies)
Discussion started by: huge_ness
5 Replies

8. UNIX for Dummies Questions & Answers

5 Unix things you wish you knew as a beginner...

I am trying to get better at UNIX, and I wanted to post a question so I can take some advice from more experienced programmers. What are some things that you wished you knew (while you were learning UNIX) that you think every beginner should know? (2 Replies)
Discussion started by: statichazard
2 Replies

9. Shell Programming and Scripting

monitoring various things (mainly activity) on different unix boxes

Hi there, I want to ask you guys what you think about my problem. I work as a sysadmin on about 7000 workstations or so and to save money and energy, we've decided to switch off as many workstations as possible during the night (probably by shutting it down by cron and power it on by... (8 Replies)
Discussion started by: albator1932
8 Replies

10. UNIX for Dummies Questions & Answers

How to install Unix??

Hi Experts, I am a new born trying to start learning UNIX so please be patient. I have downloaded Free BSD 9.0 Release i386 All recently.Upon extracting it I found four Disc Image File. FreeBSD-9.0-RELEASE-i386-bootonly FreeBSD-9.0-RELEASE-i386-disc1 FreeBSD-9.0-RELEASE-i386-dvd1... (1 Reply)
Discussion started by: RishabhK
1 Replies
RPMBUILD(8)						      System Manager's Manual						       RPMBUILD(8)

NAME
rpmbuild - Build RPM Package(s) SYNOPSIS
BUILDING PACKAGES: rpmbuild {-ba|-bb|-bp|-bc|-bi|-bl|-bs} [rpmbuild-options] SPECFILE ... rpmbuild {-ta|-tb|-tp|-tc|-ti|-tl|-ts} [rpmbuild-options] TARBALL ... rpmbuild {--rebuild|--recompile} SOURCEPKG ... MISCELLANEOUS: rpmbuild --showrc rpmbuild-options [--buildroot DIRECTORY] [--clean] [--nobuild] [--rmsource] [--rmspec] [--short-circuit] [--sign] [--target PLATFORM] DESCRIPTION
rpmbuild is used to build both binary and source software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in two varieties: binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages. One of the following basic modes must be selected: Build Package, Build Package from Tarball, Recompile Package, Show Configuration. GENERAL OPTIONS These options can be used in all the different modes. -?, --help Print a longer usage message then normal. --version Print a single line containing the version number of rpm being used. --quiet Print as little as possible - normally only error messages will be displayed. -v Print verbose information - normally routine progress messages will be displayed. -vv Print lots of ugly debugging information. --rcfile FILELIST Each of the files in the colon separated FILELIST is read sequentially by rpm for configuration information. Only the first file in the list must exist, and tildes will be expanded to the value of $HOME. The default FILELIST is /usr/lib/rpm/rpmrc:/usr/lib/rpm/redhat/rpmrc:/etc/rpmrc:~/.rpmrc. --pipe CMD Pipes the output of rpm to the command CMD. --dbpath DIRECTORY Use the database in DIRECTORY rather than the default path /var/lib/rpm --root DIRECTORY Use the file system tree rooted at DIRECTORY for all operations. Note that this means the database within DIRECTORY will be used for dependency checks and any scriptlet(s) (e.g. %post if installing, or %prep if building, a package) will be run after a chroot(2) to DIRECTORY. BUILD OPTIONS The general form of an rpm build command is rpmbuild -bSTAGE|-tSTAGE [ rpmbuild-options ] FILE ... The argument used is -b if a spec file is being used to build the package and -t if rpmbuild should look inside of a (possibly compressed) tar file for the spec file to use. After the first argument, the next character (STAGE) specifies the stages of building and packaging to be done and is one of: -ba Build binary and source packages (after doing the %prep, %build, and %install stages). -bb Build a binary package (after doing the %prep, %build, and %install stages). -bp Executes the "%prep" stage from the spec file. Normally this involves unpacking the sources and applying any patches. -bc Do the "%build" stage from the spec file (after doing the %prep stage). This generally involves the equivalent of a "make". -bi Do the "%install" stage from the spec file (after doing the %prep and %build stages). This generally involves the equivalent of a "make install". -bl Do a "list check". The "%files" section from the spec file is macro expanded, and checks are made to verify that each file exists. -bs Build just the source package. The following options may also be used: --buildroot DIRECTORY When building a package, override the BuildRoot tag with directory DIRECTORY. --clean Remove the build tree after the packages are made. --nobuild Do not execute any build stages. Useful for testing out spec files. --nodeps Do not verify build dependencies. --rmsource Remove the sources after the build (may also be used standalone, e.g. "rpmbuild --rmsource foo.spec"). --rmspec Remove the spec file after the build (may also be used standalone, eg. "rpmbuild --rmspec foo.spec"). --short-circuit Skip straight to specified stage (i.e., skip all stages leading up to the specified stage). Only valid with -bc and -bi. --sign Embed a GPG signature in the package. This signature can be used to verify the integrity and the origin of the package. See the section on GPG SIGNATURES in rpm(8) for configuration details. --target PLATFORM When building the package, interpret PLATFORM as arch-vendor-os and set the macros %_target, %_target_cpu, and %_target_os accord- ingly. REBUILD AND RECOMPILE OPTIONS There are two other ways to invoke building with rpm: rpmbuild --rebuild|--recompile SOURCEPKG ... When invoked this way, rpmbuild installs the named source package, and does a prep, compile and install. In addition, --rebuild builds a new binary package. When the build has completed, the build directory is removed (as in --clean) and the the sources and spec file for the package are removed. SHOWRC The command rpmbuild --showrc shows the values rpmbuild will use for all of the options are currently set in rpmrc and macros configuration file(s). FILES
rpmrc Configuration /usr/lib/rpm/rpmrc /usr/lib/rpm/redhat/rpmrc /etc/rpmrc ~/.rpmrc Macro Configuration /usr/lib/rpm/macros /usr/lib/rpm/redhat/macros /etc/rpm/macros ~/.rpmmacros Database /var/lib/rpm/Basenames /var/lib/rpm/Conflictname /var/lib/rpm/Dirnames /var/lib/rpm/Filemd5s /var/lib/rpm/Group /var/lib/rpm/Installtid /var/lib/rpm/Name /var/lib/rpm/Packages /var/lib/rpm/Providename /var/lib/rpm/Provideversion /var/lib/rpm/Pubkeys /var/lib/rpm/Removed /var/lib/rpm/Requirename /var/lib/rpm/Requireversion /var/lib/rpm/Sha1header /var/lib/rpm/Sigmd5 /var/lib/rpm/Triggername Temporary /var/tmp/rpm* SEE ALSO
popt(3), rpm2cpio(8), gendiff(1), rpm(8), rpmbuild --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available. http://www.rpm.org/ <URL:http://www.rpm.org/> AUTHORS
Marc Ewing <marc@redhat.com> Jeff Johnson <jbj@redhat.com> Erik Troan <ewt@redhat.com> Red Hat, Inc. 09 June 2002 RPMBUILD(8)
All times are GMT -4. The time now is 03:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy