LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-08-2011, 02:05 PM   #1
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Rep: Reputation: 5
how to install a software ?


Hello y'all. I downloaded a program or is it software to install on my red hat. After i uncompressed it, I found some folders in it.
  1. doc
  2. README
  3. run
  4. src
. So basically p, I know am meant to use the run, but I don't kno how to go about the installation or should i say configuration
Anybody help please. Distro Red hat. Thanks in anticipation.
 
Old 04-08-2011, 02:08 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did you read the readme file?
If we don't know what you downloaded, it's hard to say though.

Kind regards
 
Old 04-08-2011, 02:09 PM   #3
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Did you try looking at the contents of the README file? There might be some useful information in there.

If you tell us the software you're having trouble with and post a link to what you have downloaded, there's more chance of someone being able to help you.
 
Old 04-08-2011, 03:34 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Ribo01 View Post
Hello y'all. I downloaded a program or is it software to install on my red hat. After i uncompressed it, I found some folders in it.
  1. doc
  2. README
  3. run
  4. src
. So basically p, I know am meant to use the run, but I don't kno how to go about the installation or should i say configuration
Anybody help please. Distro Red hat. Thanks in anticipation.
Did you check if the sowtware exists in Red Hat's repository first? If it does, you should use your package manager.
 
Old 04-08-2011, 04:00 PM   #5
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
So essentially, how do you install a software if its not in your Red hat package manager. For learning purpose now, can anyone let me know how its done? Thanks .
 
Old 04-08-2011, 04:04 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Ribo01 View Post
So essentially, how do you install a software if its not in your Red hat package manager. For learning purpose now, can anyone let me know how its done? Thanks .
It should say in the README file.
 
Old 04-08-2011, 04:07 PM   #7
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
What MTK358 said.

If you're dealing with something you've downloaded that's not an rpm there is no single method by which you install it. Sometimes you might have to use configure then make. Sometimes you might have to use qmake. Sometimes you might have to do something else. Sometimes you don't have to install it at all. Such software should come with an explanation of what you need to do to get it running.
 
Old 04-08-2011, 06:35 PM   #8
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
Ok, according to the README. For installation, its said I should go into runfolder of the software and invoke it from there, dont know how to go about this?
 
Old 04-08-2011, 06:53 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Suggest : Tell which software, it is. Package-name.tar.gz, please.

And : In some packages you'll have to 'cd src/' and run a command there.
Ref. post # 8 : Here it is : cd <name>/run/ && <command>

Possible commands and scripts to be run to start building Linux software:
'perl Makefile.PL' , 'perl Build.PL' , 'python setup.py build' ,
# 'python setup.py install', 'cmake ..' , 'scons', './waf', 'jam', qmake, make,
'./install', './autogen.sh', './configure' (or 'sh configure'), bootstrap,
libtoolize && aclocal && autoheader && automake --add-missing && autoconf,
etc. etc.

Last edited by knudfl; 04-08-2011 at 07:04 PM.
 
Old 04-09-2011, 02:01 AM   #10
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Perhaps you need to do this

Code:
$ cd run
$ ./command
Where command is whatever command you're supposed to run.
You have been repeatedly asked to provide the name of the software you are dealing with. Is there a reason you have not done so?
 
Old 04-09-2011, 07:03 AM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Ok, according to the README. For installation, its said I should go into runfolder of the software and invoke it from there, dont know how to go about this?
Please tell us which file you downloaded.
Tell us exactly what is stated in the README file, we can continue guessing until Easter if you don't give us more information.

Kind regards
 
Old 04-09-2011, 11:14 AM   #12
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
Ok, the software is John-1.7.6.tar.gz. So how so I go about installing it ?
 
Old 04-09-2011, 11:21 AM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Read the INSTALL file in the doc directory.
I hope you don't misuse the program.

Kind regards

Last edited by repo; 04-09-2011 at 11:22 AM.
 
Old 04-10-2011, 06:59 AM   #14
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
Hello y'all. I want to be corrected of am wrong, its all about learning. So if you want t install a program outside the package of your operating system eg Red hat rpm the steps goes does.
  1. ./configure
  2. make
  3. make install
from my understanding,the ./configure creates the makefile which the make utility reads from to know how to compile the binary for the software/program. Then after you use the make install to finally install. Note you have to be root. So please is the something I missed out? Also note this is for Red hat right ? Thanksa
 
Old 04-10-2011, 07:06 AM   #15
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
[QUOTE=Ribo01;4319860]Hello y'all. I want to be corrected if am wrong, its all about learning. So if you want to install a program outside the package of your operating system eg Red hat rpm the steps goes thus.
  1. ./configure
  2. make
  3. make install
from my understanding,the ./configure creates the makefile which the make utility reads from to know how to compile the binary for the software/program. Then after you use the make install to finally install. Note you have to be root. So please is there's something I missed out? Also note this is for Red hat right ? Thanks
 
  


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
Howto remove old software and install new software in linux? gardenair Linux - Newbie 5 01-12-2011 08:41 PM
[SOLVED] Failure to install ordinary software from Ubuntu 10.04 Software Center jlavik Linux - Newbie 1 10-01-2010 09:50 PM
while install software i got error as software Linux Installer cannot be run as root mgbreddy Linux - Software 2 05-21-2010 12:22 AM

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

All times are GMT -5. The time now is 01:05 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