Sponsored Content
Top Forums UNIX for Dummies Questions & Answers installing softwares and utilities in unix Post 302217135 by era on Tuesday 22nd of July 2008 03:11:17 AM
Old 07-22-2008
Many modern U*x platforms have a package management system like rpm, deb, emerge, pkg, etc. Which one to use depends on your platform.

Traditionally, you would download a .tar.gz of source code, and build your own software from source. Many open-source projects are distributed in this form if you get them straight from their web site. Customarily you would extract the tar, and run something like "make install" in the extracted directory. This obviously fails unless you have the required software development tools (usually at least a C compiler and Make).
 

9 More Discussions You Might Find Interesting

1. Solaris

How to download softwares on Solaris

I am connected to Internet on newly built solaris machine. I have downloaded putty.exe on Desktop and then when I double clicked it ... It gave some errors of 'Associating Application...' what is all that? and How to run Putty now? I dont remember... but may be I did something on association window... (1 Reply)
Discussion started by: panchpan
1 Replies

2. Ubuntu

list the softwares installed in Linux

I need list of 3rd party softwares installed in a Unix server (eg: Fedora / RedHat). I know if they are system supported format (like rpm format for fedora/redhat, pkg format for debian/ubuntu etc) we can list them by system specific commands ($ rpm -qa). But how to list the softwares installed... (3 Replies)
Discussion started by: uday123
3 Replies

3. Solaris

free softwares

I just installed solaris 10 x86, i was wondering if there are softwares out there that i can install on my system to make my system more lively eg photo browser etc, also i was trying to play dvd movie with totem movie player when i had error "could not determine stream type" (2 Replies)
Discussion started by: seyiisq
2 Replies

4. Shell Programming and Scripting

unix file utilities

Hi experts, How can i eliminate double quotes within double quotes from a file in unix? input ==== a,""b,"",d,f,""ggh-,"",dshgdg,dhhdhhkhk,""-gh,"" output ====== a,"b,",d,f,"ggh-,",dshgdg,dhhdhhkhk,"-gh," There are somany fields like that in a file. Can anyone please... (4 Replies)
Discussion started by: subhendu81
4 Replies

5. UNIX for Dummies Questions & Answers

cut/fgrep (UNIX utilities)

Hi I need to download unix utilities for my windows OS as i need to use cut/fgrep command. Can any one help me with this please. Thanks a lot (1 Reply)
Discussion started by: syseq
1 Replies

6. Linux

What is the lightest distro for using Debian/Ubuntu softwares

Which distro uses lowest system resource (when installed on hard_disk/usb.) where I can install software from Debian OR Ubuntu repository? I found Quelitu which is based on Lubuntu, but uses less memory as given on their site. There are lighter distros but most of them are based on Slackware. I... (0 Replies)
Discussion started by: iripu
0 Replies

7. Shell Programming and Scripting

Ftp client softwares that will generate UNIX commands

Hi Folks, Please advise for FTP client softwares like winscp we use mostly to transfer the files to other unix box machines but any ftp software which in logs will also generate and show the unix commands parallely for ex if I create a directory graphically through ftp software then it will list... (1 Reply)
Discussion started by: punpun66
1 Replies

8. Solaris

Information regarding softwares installed on the Solaris server

I need to know information regarding the softwares/applications that are installed on my Solaris server and also its end of life or support information. Can some one help me how to get these details please... Thanks (3 Replies)
Discussion started by: ssk250
3 Replies

9. UNIX for Advanced & Expert Users

Different multipath softwares for RAC

Hi, I have a RAC installation on 2 solaris 11 nodes. (With ASM) Disks' mpath are managed by EMC Powerpath on both nodes. I want to migrate mpath software to Solaris multipath without downtime. My plan is first migrate node1 to solaris mpath, then after some days migrate node2 to sol.mpath. My... (5 Replies)
Discussion started by: vlkkck
5 Replies
RPMBUILD(8)							   Red Hat Linux						       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:/etc/rpmrc:~/.rpmrc. --pipe CMD Pipes the output of rpm to the command CMD. --dbpath DIRECTORY Use the database in DIRECTORY rathen than the default path /var/lib/rpm --root DIRECTORY Use the system rooted at DIRECTORY for all operations. Note that this means the database will be read or modified under DIRECTORY and any %pre or %post scriptlet(s) are 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. --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 for configuration details. --target PLATFORM When building the package, interpret PLATFORM as arch-vendor-os and set the macros %_target, %_target_arch, 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
/usr/lib/rpm/rpmrc /etc/rpmrc ~/.rpmrc /usr/lib/rpm/macros /etc/rpm/macros ~/.rpmmacros /var/lib/rpm/Conflictname /var/lib/rpm/Basenames /var/lib/rpm/Group /var/lib/rpm/Name /var/lib/rpm/Packages /var/lib/rpm/Providename /var/lib/rpm/Requirename /var/lib/rpm/Triggername /var/tmp/rpm* SEE ALSO
popt(3), rpm2cpio(8), gendiff(1), rpm(8), 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. 06 June 2001 RPMBUILD(8)
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy