LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do you ppl install programs in linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-ppl-install-programs-in-linux-375796/)

medya 10-22-2005 12:04 PM

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

phil.d.g 10-22-2005 01:05 PM

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)

XavierP 10-22-2005 02:42 PM

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


BittaBrotha 10-23-2005 01:15 AM

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.

medya 10-23-2005 04:02 AM

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 ?

b0nd 10-23-2005 04:36 AM

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

hob 10-23-2005 10:46 AM

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.

DaMaster_Architect 11-07-2005 07:04 AM

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.

Dtsazza 11-07-2005 07:17 AM

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.

DaMaster_Architect 11-07-2005 07:32 AM

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

Nylex 11-07-2005 07:54 AM

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.

DaMaster_Architect 11-07-2005 09:56 AM

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!!

mimithebrain 11-07-2005 10:10 AM

I use

emerge -p nameofapp
emerge nameofapp

Soooooooooooo easy :D
-p is not nessessary, but I like to keep track of what goes on...

crashuniverse 11-07-2005 03:48 PM

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.

tkedwards 11-07-2005 04:54 PM

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.


All times are GMT -5. The time now is 05:30 AM.