LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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
  Search this Thread
Old 11-21-2003, 03:06 AM   #1
leva
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
install program in linux


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
 
Old 11-21-2003, 08:24 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,064

Rep: Reputation: Disabled
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?
 
Old 11-21-2003, 09:06 AM   #3
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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
 
Old 11-21-2003, 11:00 AM   #4
leva
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Yes, its zigzag.linux.tar
 
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

Rep: Reputation: 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).
 
Old 11-21-2003, 11:12 AM   #6
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
One way to check is most downloads now come with MD5 SUM, you can check your tar against that.
 
Old 11-21-2003, 01:11 PM   #7
leva
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
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)
 
Old 11-21-2003, 01:41 PM   #8
komar
LQ Newbie
 
Registered: Nov 2003
Location: Sofia, Bulgaria
Distribution: Sabayon 5.4, Debian 5
Posts: 9

Rep: Reputation: 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
 
Old 11-24-2003, 03:51 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,064

Rep: Reputation: Disabled
./ (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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration