LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-05-2004, 12:01 PM   #1
rivers21
LQ Newbie
 
Registered: Jan 2004
Location: Park City, Utah
Posts: 6

Rep: Reputation: 0
Question How to install any Linux program?


I am very new to Linux. I have installed Red Hat 7.2 on a PC. I am trying to install a Radius server software on it.

The instructions say to do this:

o Go to the src/ directory and copy the right Makefile.whatever
to "Makefile", then edit it to adjust it to your system.
Here you can for example turn on PAM or DBM support.
Read doc/README.makefile for details.

o Build the binaries, and install them:

# make
# make install

I am pretty sure I put the makefile in the right directory. How do you do the # make and # make install???

This is what I did:

[root@7zy0h11 root]# dir radiusd-cistron-1.6.7.tar.gz radiusd-cistron-1.6.7.tar.gz
[root@7zy0h11 root]# make
make: *** No targets specified and no makefile found. Stop. [root@7zy0h11 root]# make install
make: *** No rule to make target `install'. Stop.

Can anyone please help?
 
Old 01-05-2004, 12:13 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
You have to decompress and untar the package
tar xzvf radiusd-cistron-1.6.7.tar.gz radiusd-cistron-1.6.7.tar.gz

Then the program will most likely untar into its own directory
cd dir_of_program/src

and follow the rest of the instructions probably
make
make install
 
Old 01-05-2004, 12:18 PM   #3
rivers21
LQ Newbie
 
Registered: Jan 2004
Location: Park City, Utah
Posts: 6

Original Poster
Rep: Reputation: 0
I have decompressed the file. It made a a new directory. And the install instructions are the same.

How do you do
make
make install
???
 
Old 01-05-2004, 12:20 PM   #4
rivers21
LQ Newbie
 
Registered: Jan 2004
Location: Park City, Utah
Posts: 6

Original Poster
Rep: Reputation: 0
Oh nevermind, I see what your saying.

It worked.

Thanks Alot for your help!!!!!!!
 
Old 01-05-2004, 12:20 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Usually there is a ./configure that is run first. Read the README and INSTALL files carefully.

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages
Red Hat Linux 8.0 Package Management Tool
Red Hat 9.0 Package Management Tool
Manage users
redhat-config-users

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
 
Old 01-05-2004, 05:10 PM   #6
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
quick question for you guys:

do you store the files that you compile so you can uninstall, or do you toss them after you finish installing the program?
 
Old 01-05-2004, 05:12 PM   #7
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
i never actually ran a 'make clean" after install, though i guess i might as well.
i think, from very soon on, im gonna start turning every program i download as source into a package (.deb in my case). its gonna make things easier to install, uninstall and track what i have on the system.


Last edited by h/w; 01-05-2004 at 05:18 PM.
 
Old 01-06-2004, 05:56 PM   #8
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
I keep them in case I need to uninstall for an upgrade. Some programs require that the old version be removed and many but certainly not all source programs you can
make uninstall
to remove it.
But you have to have the source you installed to do that
 
Old 01-07-2004, 05:54 PM   #9
tokyoprogressiv
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Rep: Reputation: 0
Can't install even AFTER reading instructions

Hi...I have been away after installing Suse 9 and getting help re Japanese entry. Before I deal with that, I thought I would download an FTP program from the Internet and read this thread. But it doesn't work for me. I must be misreading the instructions. I have never tarred anything and am not comfortable with command line stuff.

Program I tried to install last time--kbear
Program I tried to install THIS time, after reading this thread Igloo FTP

Taking THIS time first-->

I treid to follow the instructions here
http://linux-newbie.sunsite.dk/lnag_...how_do_install
and
http://www.iglooftp.com/unix/download.html

They seem similar but exactly the same.

First I did
1 IglooFTP PRO 1.2.3 for Linux [ Dynamic ] - Compressed Tar Archive
and when that didn't work I did
2 IglooFTP PRO 1.2.3 for Linux [ Dynamic ] - RPM Version


With (1) above I have this from my terminal prgram telling me my errors,
so hopefully it will help.

arenson@usen-221x242x10x37:/usr/local> tar -xvf /home/arenson/Documents/IglooFTP-PRO-1.2.3-linux-dyn.tar.gz/
tar: /home/arenson/Documents/IglooFTP-PRO-1.2.3-linux-dyn.tar.gz/: Cannot open: Not a directory
tar: Error is not recoverable: exiting now
arenson@usen-221x242x10x37:/usr/local> tar -xvf /home/arenson/Documents/IglooFTP-PRO-1.2.3-linux-dyn.tar.gz/
tar: /home/arenson/Documents/IglooFTP-PRO-1.2.3-linux-dyn.tar.gz/: Cannot open: Not a directory
tar: Error is not recoverable: exiting now
arenson@usen-221x242x10x37:/usr/local> tar xvfz filename
tar: filename: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
arenson@usen-221x242x10x37:/usr/local> cd /usr/local
arenson@usen-221x242x10x37:/usr/local> tar xvfz tar IglooFTP-PRO-1.2.3-linux
tar: tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: IglooFTP-PRO-1.2.3-linux: Not found in archive
tar: Error exit delayed from previous errors
arenson@usen-221x242x10x37:/usr/local>


But anyway, I went to RPM version since I could not figure out the above


In RPM version I get this menu

ftp://iglooftp.com/pub/linux/IglooFT...2.3-1.i386.rpm

and the invitation to install with YAST!

Wow...automated, just like in Mac or Windows, or so I thought.

It says it is writing configuration files

It lists them....

/usr/local/IglooFTP-PRO
/usr/local/IglooFTP-PRO/bin
/usr/local/IglooFTP-PRO/bin/IglooFTP-PRO
/usr/local/IglooFTP-PRO/share
/usr/local/IglooFTP-PRO/share/app_ass
/usr/local/IglooFTP-PRO/share/app_ass/app_ass.GNOME
/usr/local/IglooFTP-PRO/share/app_ass/app_ass.KDE
/usr/local/IglooFTP-PRO/share/app_ass/app_ass.default
/usr/local/IglooFTP-PRO/share/bookmarks
/usr/local/IglooFTP-PRO/share/bookmarks/default.bmk
/usr/local/IglooFTP-PRO/share/docs
/usr/local/IglooFTP-PRO/share/docs/COPYRIGHT
/usr/local/IglooFTP-PRO/share/docs/ChangeLog
/usr/local/IglooFTP-PRO/share/docs/LICENSE
/usr/local/IglooFTP-PRO/share/docs/README
/usr/local/IglooFTP-PRO/share/gtkrc
/usr/local/IglooFTP-PRO/share/html
/usr/local/IglooFTP-PRO/share/html/bugreports.html
/usr/local/IglooFTP-PRO/share/html/connecting.html
/usr/local/IglooFTP-PRO/share/html/copyright.html
/usr/local/IglooFTP-PRO/share/html/default.css
/usr/local/IglooFTP-PRO/share/html/eula.html
/usr/local/IglooFTP-PRO/share/html/fcbar.html
/usr/local/IglooFTP-PRO/share/html/features.html
/usr/local/IglooFTP-PRO/share/html/fxp.html
/usr/local/IglooFTP-PRO/share/html/images
/usr/local/IglooFTP-PRO/share/html/images/grey_pixel.gif
/usr/local/IglooFTP-PRO/share/html/images/null.gif
/usr/local/IglooFTP-PRO/share/html/images/progress1.png
/usr/local/IglooFTP-PRO/share/html/images/progress2.png
/usr/local/IglooFTP-PRO/share/html/images/sman.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton1.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton10.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton11.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton12.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton2.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton3.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton4.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton5.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton6.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton7.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton8.png
/usr/local/IglooFTP-PRO/share/html/images/tbutton9.png
/usr/local/IglooFTP-PRO/share/html/images/top.jpg
/usr/local/IglooFTP-PRO/share/html/images/top_background.gif
/usr/local/IglooFTP-PRO/share/html/images/top_logo_unix.gif
/usr/local/IglooFTP-PRO/share/html/index.html
/usr/local/IglooFTP-PRO/share/html/intro.html
/usr/local/IglooFTP-PRO/share/html/pbar.html
/usr/local/IglooFTP-PRO/share/html/pencrypt.html
/usr/local/IglooFTP-PRO/share/html/preferences.html
/usr/local/IglooFTP-PRO/share/html/secureftp.html
/usr/local/IglooFTP-PRO/share/html/sman.html
/usr/local/IglooFTP-PRO/share/html/support.html
/usr/local/IglooFTP-PRO/share/html/template.html
/usr/local/IglooFTP-PRO/share/html/toolbar.html
/usr/local/IglooFTP-PRO/share/html/transfer.html
/usr/local/IglooFTP-PRO/share/icons
/usr/local/IglooFTP-PRO/share/icons/icon_32x32.png
/usr/local/IglooFTP-PRO/share/icons/icon_32x32.xpm
/usr/local/IglooFTP-PRO/share/icons/icon_48x48.png
/usr/local/IglooFTP-PRO/share/icons/icon_48x48.xpm
/usr/local/IglooFTP-PRO/share/xpm
/usr/local/IglooFTP-PRO/share/xpm/splash.xpm
/usr/local/IglooFTP-PRO/share/xpm/wizard.xpm
/usr/local/bin/IglooFTP-PRO
/usr/share/doc/IglooFTP-PRO-dyn-1.2.3
/usr/share/doc/IglooFTP-PRO-dyn-1.2.3/docs
/usr/share/doc/IglooFTP-PRO-dyn-1.2.3/docs/COPYRIGHT
/usr/share/doc/IglooFTP-PRO-dyn-1.2.3/docs/ChangeLog
/usr/share/doc/IglooFTP-PRO-dyn-1.2.3/docs/LICENSE
/usr/share/doc/IglooFTP-PRO-dyn-1.2.3/docs/README

But when it was done, I cannot find it in my Program menus and do not see it when I try to FIND file.

If I open YAST INSTALL and UNINSTALL, I see it under APPLICATIONS

It has a lock icon (protected????)


But I cannot see where to run it (I use KDE).


Ok. I also see KBear, which I tried to install yesterday.

And THIS one shows up in my applications

When I try to run it (KBear) I get a crash and this
SISEGGV (possibly due to bug--it says)


And I find a BACKTRACE option and get

(no debugging symbols found)...[New Thread 16384 (LWP 6117)]
0x41187a86 in waitpid ()
from /lib/i686/libpthread.so.0
#0 0x41187a86 in waitpid () from /lib/i686/libpthread.so.0
#1 0x407c7010 in KCrash::defaultCrashHandler(int) ()
from /opt/kde3/lib/libkdecore.so.4
#2 0x4118696c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3 <signal handler called>
#4 0x40091720 in QextMdiMainFrm::taskBarPopup(QextMdiChildView*, bool) ()
from /opt/kde3/lib/libkbear.so.2
#5 0x40075abe in KBear::taskBarPopup(QextMdiChildView*, bool) ()
from /opt/kde3/lib/libkbear.so.2
#6 0x4013724c in KParts:ockMainWindow::createGUI(KParts::Part*) ()
from /opt/kde3/lib/libkparts.so.2
#7 0x40077e6c in KBear::createGUI(KParts::Part*) ()
from /opt/kde3/lib/libkbear.so.2
#8 0x4006fc32 in KBear::KBear() () from /opt/kde3/lib/libkbear.so.2
#9 0x40070894 in KBear::self() () from /opt/kde3/lib/libkbear.so.2
#10 0x0804eb54 in ?? ()
#11 0xbfffeab0 in ?? ()
#12 0x000007d0 in ?? ()
#13 0x00000001 in ?? ()
#14 0x40feffc0 in __JCR_LIST__ () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40ffe2c4 in kde_malloc_is_used () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x00000011 in ?? ()
#17 0x0807c670 in ?? ()
#18 0x0807d238 in ?? ()
#19 0x0811c5c8 in ?? ()
#20 0x0807d238 in ?? ()
#21 0xbfffea58 in ?? ()
#22 0x40e49a1a in QGList::~QGList() () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x407e1d3d in KUniqueApplication:rocessDelayed() ()
from /opt/kde3/lib/libkdecore.so.4
#24 0x407e20dc in KUniqueApplication::qt_invoke(int, QUObject*) ()
from /opt/kde3/lib/libkdecore.so.4
#25 0x0804f05f in ?? ()
#26 0xbffff1f0 in ?? ()
#27 0x0000000b in ?? ()
#28 0xbfffec70 in ?? ()
#29 0x40b999cd in QPtrList<QConnection>::first() ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40b9861b in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40ec6e2a in QSignal::signal(QVariant const&) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40bb31e8 in QSignal::activate() () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40bbab93 in QSingleShotTimer::event(QEvent*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40b36656 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40b3597e in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x407548c9 in KApplication::notify(QObject*, QEvent*) ()
from /opt/kde3/lib/libkdecore.so.4
#37 0x40b22b53 in QEventLoop::activateTimers() ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40ade29d in QEventLoop:rocessEvents(unsigned) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x40b4a900 in QEventLoop::enterLoop() ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x40b4a7f6 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0x40b368ef in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x0804df84 in ?? ()
#43 0xbffff1f0 in ?? ()



So it all comes round...I thought I downloaded ok...

I must be reading the instructions wrong---I just do what it tells me to say, but sometimes it says things like FILENAME and I am not sure I should type the exact filename as it sits in my download directory...


I figure if I can at least get a gui FTP client working I can at least update my hoe page and then attempt to do other needed things like Japanese entry...


Thanks

Paul

paul@arenson.org
 
  


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
install program in linux leva Linux - Newbie 8 11-24-2003 03:51 AM
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 06:50 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