Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do I install things on Unix? Post 302144914 by Legend986 on Sunday 11th of November 2007 11:35:03 PM
Old 11-12-2007
How do I install things on Unix?

I am really confused as to how to install a piece of software on Unix especially after having worked with Windows for over 10 years.

I see the tar.gz, tar.gz2 and rpm packages.
How do I install these things? Do I have to be a root to do this?
If its only the root, then how do users generally install stuff?

Also there are some directories like /usr and /bin and /usr/bin... I don't understand any of these...
 

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
DH_INSTALL(1)							     Debhelper							     DH_INSTALL(1)

NAME
dh_install - install files into package build directories SYNOPSIS
dh_install [-Xitem] [--autodest] [--sourcedir=dir] [debhelperoptions] [file|dir...destdir] DESCRIPTION
dh_install is a debhelper program that handles installing files into package build directories. There are many dh_install* commands that handle installing specific types of files such as documentation, examples, man pages, and so on, and they should be used when possible as they often have extra intelligence for those particular tasks. dh_install, then, is useful for installing everything else, for which no particular intelligence is needed. It is a replacement for the old dh_movefiles command. This program may be used in one of two ways. If you just have a file or two that the upstream Makefile does not install for you, you can run dh_install on them to move them into place. On the other hand, maybe you have a large package that builds multiple binary packages. You can use the upstream Makefile to install it all into debian/tmp, and then use dh_install to copy directories and files from there into the proper package build directories. From debhelper compatibility level 7 on, dh_install will fall back to looking in debian/tmp for files, if it does not find them in the current directory (or wherever you've told it to look using --sourcedir). FILES
debian/package.install List the files to install into each package and the directory they should be installed to. The format is a set of lines, where each line lists a file or files to install, and at the end of the line tells the directory it should be installed in. The name of the files (or directories) to install should be given relative to the current directory, while the installation directory is given relative to the package build directory. You may use wildcards in the names of the files to install. Note that if you list exactly one filename or wildcard-pattern on a line by itself, with no explicit destination, then dh_install will automatically guess the destination to use, the same as if the --autodest option were used. debian/not-installed Used with the deprecated --list-missing and --fail-missing options. Please refer to dh_missing(1) for the documentation of this file. OPTIONS
--list-missing Deprecated: Please use dh_missing --list-missing instead. If you use this option, dh_install will call dh_missing with that option after it has processed all the files. Please see dh_missing(1) for the documentation of this option. This option is removed in compat 12. --fail-missing Deprecated: Please use dh_missing --fail-missing instead. If you use this option, dh_install will call dh_missing with that option after it has processed all the files. Please see dh_missing(1) for the documentation of this option. This option is removed in compat 12. --sourcedir=dir Look in the specified directory for files to be installed. Note that this is not the same as the --sourcedirectory option used by the dh_auto_* commands. You rarely need to use this option, since dh_install automatically looks for files in debian/tmp in debhelper compatibility level 7 and above. --autodest Guess as the destination directory to install things to. If this is specified, you should not list destination directories in debian/package.install files or on the command line. Instead, dh_install will guess as follows: Strip off debian/tmp (or the sourcedir if one is given) from the front of the filename, if it is present, and install into the dirname of the filename. So if the filename is debian/tmp/usr/bin, then that directory will be copied to debian/package/usr/. If the filename is debian/tmp/etc/passwd, it will be copied to debian/package/etc/. file|dir ... destdir Lists files (or directories) to install and where to install them to. The files will be installed into the first package dh_install acts on. LIMITATIONS
dh_install cannot rename files or directories, it can only install them with the names they already have into wherever you want in the package build tree. However, renaming can be achieved by using dh-exec with compatibility level 9 or later. An example debian/package.install file using dh- exec could look like: #!/usr/bin/dh-exec debian/default.conf => /etc/my-package/start.conf Please remember the following three things: o The package must be using compatibility level 9 or later (see debhelper(7)) o The package will need a build-dependency on dh-exec. o The install file must be marked as executable. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_INSTALL(1)
All times are GMT -4. The time now is 11:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy