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 10-22-2005, 12:04 PM   #1
medya
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
Unhappy how do you ppl install programs in linux?


I swear to god I DID search in the forum to find my answer, but I didnt find any.


I have downloaded many programs...all of them have Read me and they ak me to do things like :
-Make
-qmake
and...
and I enter that make or qmake command in the Terminal...and nothing happens and I dont know what to do ...
for example , would anybody please tell me Step by Step , how to install GraphCalc program on red hat 10 ?
you can download GraphCalc here--> http://graphcalc.com/download.shtml

thanks in advance

Last edited by medya; 10-22-2005 at 12:08 PM.
 
Old 10-22-2005, 01:05 PM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Distribution? (There never was a Redhat 10)

Error messages?

For compiling from source, which it sounds like you are trying to do you need make, a compiler, libraries. Basically the develpment section in the Anaconda installer (assuming you are using Redhat/Fedora Core)
 
Old 10-22-2005, 02:42 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
You need the one ending .bz2.

Type in the following:
Code:
tar jxvf <filename>.bz2
cd <into new directory>
then either
Code:
nano readme/README/INSTALL (whatever is there)
follow the instructions
or
Code:
./configure
make
su (to root)
<enter root password>
make install
 
Old 10-23-2005, 01:15 AM   #4
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
With Debian and debian based OSes, I use 'apt-get install progamname' to install them.

If you're using a current Redhat/Fedora distro, it may offer 'Yum' to install programs, I think.
 
Old 10-23-2005, 04:02 AM   #5
medya
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by BittaBrotha
With Debian and debian based OSes, I use 'apt-get install progamname' to install them.

If you're using a current Redhat/Fedora distro, it may offer 'Yum' to install programs, I think.
where I can get that program and how does it work ?
 
Old 10-23-2005, 04:36 AM   #6
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Re: how do you ppl install programs in linux?

Quote:
Originally posted by medya
I swear to god I DID search in the forum to find my answer, but I didnt find any.
hello,
no need to swear so strongly.....lol. check it out

regards
 
Old 10-23-2005, 10:46 AM   #7
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Yum is installed by default on recent Fedora systems. Docs are here:

http://fedora.redhat.com/docs/yum/

Both yum and apt-get require packages, rather than source code, so you'll need to manually compile the GraphCalc software from the contents of the tar.bz2.

If you don't have the compiling tools installed you'll need to add them from the install discs (or with yum/apt-get) for software compiles to work: autoconf, automake, gcc, libtool, pkgconfig.
 
Old 11-07-2005, 07:04 AM   #8
DaMaster_Architect
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
hi,

I am a newbie too and I have the same problem...
my linux distro is SuSE linux 9.3, with KDE 3.4.1
Like described in the posts above, I installed the packages automake etc, but when compiling an install, I get the following error:
Code:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
could someone tell me if I forgot something?
thanks.
 
Old 11-07-2005, 07:17 AM   #9
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Quote:
Originally posted by medya
where I can get [Debian's apt and/or Fedora's yum] and how does it work ?
As with Fedora, Debian's apt/dpkg package system comes included in the distribution. It's used as written above - you type, say, "apt-get install firefox" and it will download Firefox, unpack it and ask you configuration questions if needs be.

Likewise, most distributions have their own package managers - SuSe has Yast (correct me if I'm wrong), Ubuntu has emerge, and I've come across many (amusingly-named) commands to install programs on different distributions.
 
Old 11-07-2005, 07:32 AM   #10
DaMaster_Architect
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
ah, so it is possible to install .bz2 files directly using YaST?
thats easier than the console method..

Ive been searching in yast, but I havent found an option yet to install such files, lol
 
Old 11-07-2005, 07:54 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally posted by DaMaster_Architect
hi,

I am a newbie too and I have the same problem...
my linux distro is SuSE linux 9.3, with KDE 3.4.1
Like described in the posts above, I installed the packages automake etc, but when compiling an install, I get the following error:
Code:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
could someone tell me if I forgot something?
thanks.
You need to install the X development package(s), not sure of their names though. Do a search on LQ, this problem comes up a lot.

Quote:
Originally posted by DaMaster_Architect
ah, so it is possible to install .bz2 files directly using YaST?
thats easier than the console method..

Ive been searching in yast, but I havent found an option yet to install such files, lol
While I've never used SuSe, I don't think it's possible because packages that come in .tar.bz2 format are source code and (I think) YaST installs pre-built packages only.
 
Old 11-07-2005, 09:56 AM   #12
DaMaster_Architect
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
I already found it. I searched for LQ, but I saw that there was a gathering of packages under the name " C++ compiling packages".
I installed all of them, and yup, it works!

currently it is *making* the first file :P

thanks a lot for all the support!!
 
Old 11-07-2005, 10:10 AM   #13
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
I use

emerge -p nameofapp
emerge nameofapp

Soooooooooooo easy
-p is not nessessary, but I like to keep track of what goes on...
 
Old 11-07-2005, 03:48 PM   #14
crashuniverse
LQ Newbie
 
Registered: Nov 2005
Location: Pune, India
Posts: 9

Rep: Reputation: 0
well i have something gr8 for newbies.
its about configuring your download centre so that it checks for install sources online, downloads the right package (after u selct it from search) and installs it for u. so few clicks needed.

http://www.thejemreport.com/mambo/content/view/178/42/

(i suppose this is 4th post of mine so i mnot so sure this would survive or not)
i'd make the same in my 6th pose again. till then u can use it.
 
Old 11-07-2005, 04:54 PM   #15
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
its about configuring your download centre so that it checks for install sources online, downloads the right package (after u selct it from search) and installs it for u. so few clicks needed.
Yeah that's about YAST, which is Suse's equivalent to apt/Synaptic on Debian, Yum on Fedora, emerge on Gentoo, Urpmi on Mandriva, ...etc.
 
  


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
Are ppl buying computers packed with linux. Do u have one? RHLinuxGUY Linux - General 6 09-16-2004 10:06 AM
One of the reason ppl use Linux xterminator890i General 12 08-25-2004 08:22 AM
How to install programs in Linux ? wlaw Linux - Newbie 1 06-14-2004 09:44 AM
How do you install programs on linux? andymac Linux - Newbie 3 04-11-2004 08:23 PM
How do you install programs in Linux? bxb32001 Linux - Software 2 06-06-2001 11:30 AM

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

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