LinuxQuestions.org
Visit Jeremy's Blog.
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, 03: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, 03:08 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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, 03:09 PM   #3
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
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, 04:34 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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, 05: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, 05:04 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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, 05:07 PM   #7
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
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, 07: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, 07:53 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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 08:04 PM.
 
Old 04-09-2011, 03:01 AM   #10
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
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, 08:03 AM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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, 12:14 PM   #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, 12:21 PM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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 12:22 PM.
 
Old 04-10-2011, 07: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, 08: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


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


All times are GMT -5. The time now is 10:01 PM.

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