LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Thread Tools
Old 11-21-2003, 03:06 AM   #1
leva
LQ Newbie
 
Registered: Nov 2003
Posts: 12
Thanked: 0
install program in linux


[Log in to get rid of this advertisement]
Hi,
I'm a new Linux society member (Red Hat 9). Installation went just fine and now I'd like to install some programs but I don't know which place is the most convenient. In windows os you have a special directory called ProgramFiles - should I create similar directory in /usr?
During installation I created separate partiton for /home but I guess it would be better to use it for the data?

I also encountered problem when I wanted to expand compressed file (which contains installation) zigzag.linux.tar (error massage ''This does not look like a tar archive'').

Thanks for your help
Simon
leva is offline     Reply With Quote
Old 11-21-2003, 08:24 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Hamburg, Germany
Distribution: SuSE 11.0, FreeBSD 6.0, openSolaris
Posts: 2,385
Thanked: 7
Many / Most people use /usr/local. I use /home/myself/install. It's entirely up to you.

You sure it is zigzag.linux.tar and not zigzag.linux.tgz?
JZL240I-U is offline     Reply With Quote
Old 11-21-2003, 09:06 AM   #3
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Thanked: 0
Programs typically choose a prefix automatically on Linux, there is no need to explicitly tell them where to install.

There are several FS trees that software can "integrate" itself with. /usr is the most common one, /usr/local is used for things you compiled and installed from source. I'd not worry about it - as you'll find out, it's automatic
mhearn is offline     Reply With Quote
Old 11-21-2003, 11:00 AM   #4
leva
LQ Newbie
 
Registered: Nov 2003
Posts: 12
Thanked: 0

Original Poster
Yes, its zigzag.linux.tar
leva is offline     Reply With Quote
Old 11-21-2003, 11:10 AM   #5
LunaticManiac
LQ Newbie
 
Registered: Nov 2003
Location: Inside my Linux Box
Distribution: Redhat Linux 9
Posts: 9
Thanked: 0
sounds like the .tar file is corrupt, try re-downloading it from the same source or download it from a new source. Also ensure that you don't move it once you download, in very rare instances on RH 9 it can corrupt files, similar to windows (depending on file size).
LunaticManiac is offline     Reply With Quote
Old 11-21-2003, 11:12 AM   #6
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133
Thanked: 0
One way to check is most downloads now come with MD5 SUM, you can check your tar against that.
_KDF is offline     Reply With Quote
Old 11-21-2003, 01:11 PM   #7
leva
LQ Newbie
 
Registered: Nov 2003
Posts: 12
Thanked: 0

Original Poster
One more stupid question, but I can't find this in installed documentation (I don't have any hardcopy manual yet):
what means ./ (in ./config) and what does make command do (in make and make install)
leva is offline     Reply With Quote
Old 11-21-2003, 01:41 PM   #8
komar
LQ Newbie
 
Registered: Nov 2003
Location: greece, thessaloniki
Distribution: suse 8.2
Posts: 8
Thanked: 0
if you have made your homedirectory big enough than you should use it, so you dont have to switch to root everytime u want to use/move/delete/manipulate the installfiles

depending on the kind of install you are doing the files are moved automatically to its proper locations.

after u are using rh its easier to look for the programm as a rpm package http://rpmfind.net

install goes much faster and easier especially for newbies



best regards
--------------
bkfh
komar is offline     Reply With Quote
Old 11-24-2003, 03:51 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Hamburg, Germany
Distribution: SuSE 11.0, FreeBSD 6.0, openSolaris
Posts: 2,385
Thanked: 7
./ (in ./config): . stands for the actual directory you are just working in (type pwd to have it shown), so ./configure is the correct concatenation of the path and the filename "configure" thus yielding /path/to/your/actual/directory/configure. Reason: more often than not the directory you are downloading to is not in the PATH variable (type echo $PATH), and then just typing "configure" won't start it.

The make command executes a file containing a series of commands for the compiler and other utilities. And make install triggers a series of other commands like copying the by the compiler etc. newly created executables etc. into the necessary directories. You can look at the make file with an editor of your choice to get an idea. (make install is just an option for make, I think).
JZL240I-U is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Procomm-like program for Linux, and how to install TGHinkel Linux - Newbie 3 02-18-2005 12:08 PM
New to linux how do i install a program or driver? brilliantchef2 Linux - Software 7 06-20-2004 12:40 PM
How to install any Linux program? rivers21 Linux - Newbie 8 01-07-2004 05:54 PM
How new program Install works in Linux? AskMe Linux - Newbie 4 10-19-2003 09:52 AM
How do you install Windows program on Linux Mandrake? ryu31 Linux - Software 5 01-26-2002 10:47 AM


All times are GMT -5. The time now is 04:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration