installation in Unix

Posted on 1998-08-10
Medium Priority
Last Modified: 2013-12-06
how to install a program or application in Unix system?generally do i need to compile it before install? and what is the purpose for make, makefile, etc.?
what is the general steps to do this kind of work?
Question by:wini072297

Accepted Solution

elfie earned 200 total points
ID: 2009219
IF you are refering to freeware/shareware you have mostly two possibities.
Either you search for compiled executables for the correct version of your OS. These are mostly offered with a standard installation software for that os (Sun - package format - pkgadd,

Other vendors can use other install programs).

The other way is that most software found for on the net (Linux stuff, GNU) comes in source format. The makefile are a kind of definition file of how certain software can be build, using the 'make' command. If you have a unix system tyoe 'man mak' for more information. Most people doing development on Unix are familiar with make and makefiles. If you know someone doing some c-programming on a unix box, he certainly most know it

Expert Comment

ID: 2009220
If the program is in a standard package format(created using pkgmk command) then just use the following command:
pkgadd -d ctape1 Package1
where -d stands for the device name. Pakage1 is the name of the package.
The other way is to install it using the standard install program found typically in /usr/sbin. Please do man install to get more details.
If the executables are notpresent then you may have to compile using the make utility and then install the executables using install or create a package and then install it.


Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question