LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-23-2003, 07:03 PM   #1
tobsai
LQ Newbie
 
Registered: May 2003
Location: Newhall, CA
Distribution: 8.0 Redhat
Posts: 6

Rep: Reputation: 0
Question Installing programs...


Hello,

I am struggling to understand how it is possible to install a program without an RPM. I have had several programs now with an install-sh script, but no real instructions on how to use it other than to use the make program when in the install directory. I can understand decompressing into an install directory, but I don't know what to do with the the install-sh file when i am done. When I use the make command i get an error. Can someone send me to an article or help me to understand what to do? Thanks!
 
Old 05-23-2003, 07:11 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
rpm's are binaries, the actual program.
If you've got sources, you have to compile them yourself (making a executable program from sourcecode).
in most cases the only thing you will have to do, is decompress the archive go inside the newly created directory, run ./configure make & make install.
example:
tar -zxvf someprogram.tar.gz
cd someprogram
./configure
make
su (-> we need superuser to install)
make install.

tar -zxvf : decompress an archive
./configure: checks if all libraries needed to compile succesful are present on the system
make : compiles the sources (it makes a program)
make install: copies the program to a directory where the sysem will find it.
 
Old 05-23-2003, 07:29 PM   #3
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
when asking questions like this it is highly recommended that you mention the program you are trying to install. the error message would help also...
 
Old 05-23-2003, 07:32 PM   #4
tobsai
LQ Newbie
 
Registered: May 2003
Location: Newhall, CA
Distribution: 8.0 Redhat
Posts: 6

Original Poster
Rep: Reputation: 0
sorry the program i am trying to install is freeradius .8.1
 
Old 05-23-2003, 07:32 PM   #5
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
is there no README or INSTALL file in the "someprogram" directory?
 
Old 05-23-2003, 07:45 PM   #6
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
mkdir -p /usr/src/802/radius
cd /usr/src/802/radius

cvs -d server:anoncvs@cvs.freeradius.org:/source login

CVS password: anoncv

cvs -d server:anoncvs@cvs.freeradius.org:/source checkout radiusd

cd radiusd
./configure --prefix=/usr/local/radius

make
make install

/usr/local/radius/sbin/run-radius -X -A
 
Old 05-24-2003, 04:46 AM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
make
su -
Root password

make install

 
Old 05-24-2003, 09:40 AM   #8
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
why did you not use
freeradius-20021109-1.2.0 RPM for i386 ??
 
  


Reply



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
Installing Programs farid_145 Linux - Software 1 12-25-2004 04:23 PM
Installing new programs... rrfish72 Linux - Software 5 11-18-2004 12:59 AM
installing programs mannybabe Linux - Software 5 08-06-2003 11:16 AM
installing new programs scottsteibel Linux - Newbie 4 07-31-2003 05:36 PM
Installing programs jpc82 Linux - Newbie 6 10-17-2001 08:52 AM

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

All times are GMT -5. The time now is 03:58 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
Open Source Consulting | Domain Registration