LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-15-2004, 03:27 AM   #1
stryker5233
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
Dont know how to install anything


Hey Whats up,

I'm new to linux and I'm running SuSe 9.0. I've been having a lot of fun learning a new os but i cant seem to figure out how to install any packages. Everywhere on the net tells me certain ways to install from source but when i type "./configure" in the shell it will tell me "configure: error: no acceptable C compiler found in $PATH". and when i type " make" or "make install"
it will tell me "bash: make: command not found". This is with every package even the ones that are from SuSe Themselves. Can someone tell me what i'm doing wrong and how to install these packages?
 
Old 09-15-2004, 03:57 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Use your favorite web browser and google up a copy of 'Newbies Linux Manual' to get you started on the adventure of a lifetime.

Path: there's a file (/etc/ld.so.conf) which lists the directories bash should search to find executable files, libraries, etc. Use the which command to find gcc, the c compiler (open a terminal and enter the command 'which gcc'). When you have the path to gcc, edit the file named above to add that, then give the command PATH=/usr/bin/gcc, or whatever the path is, then follow that with the command 'export $PATH'.

Exporting the PATH is a temporary solution which lasts only as long as you are logged in. Editing the /etd/ld.so.conf file is permanent. It will be there every time you log in.

Now, with regard to ./configure, make, and make install. When you unpack a tarball, it creates a folder which contains the files it will install or use to make binary files. You must do one of the following for it to work: cd to the folder, or, from the folder you 're in, give the full path to the folder. Same for make and make install.

example: let's say you're in your home directory ~, but the tarball is in /usr/local. Either you cd to /usr/local and give the command ./configure, or you stay in your home directory and give the command /usr/local/.configure. That tells bash where the configure script is (the ./ tells bash that the script is in the current working directory. If you are not in the directory where the configure script is located, then bash gets confused unless you give it the full path to the file).

The same applies to the make and make install commands. Tell bash where they are, and they'll run.

By the way: SuSE is rpm based. To install rpm, use the rpm -i command. The ./configure,make,make install only applies to tarballs (files that end in the file extension .tar.gz or .tgz).

Last edited by bigrigdriver; 09-15-2004 at 04:01 AM.
 
Old 09-15-2004, 04:12 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Re: Dont know how to install anything

Quote:
Originally posted by stryker5233
Hey Whats up,

I'm new to linux and I'm running SuSe 9.0. I've been having a lot of fun learning a new os but i cant seem to figure out how to install any packages. Everywhere on the net tells me certain ways to install from source but when i type "./configure" in the shell it will tell me "configure: error: no acceptable C compiler found in $PATH". and when i type " make" or "make install"
it will tell me "bash: make: command not found". This is with every package even the ones that are from SuSe Themselves. Can someone tell me what i'm doing wrong and how to install these packages?
You have to install the development packages. Open YAST up and select, at least, "gcc, g++, make" packages and install them. SuSE personal does not come with those packages. Get them from a Novell's mirror near you.

To learn more about installing programs in Linux, read this thread:

http://www.linuxquestions.org/questi...threadid=45094

To learn how to use SuSE's YaST to install packages directly from the net, instead of swaping disks (do this, it makes dependecies problems a breeze), read this:

http://www.linuxquestions.org/questi...89#post1087289

Good luck!

Last edited by Mega Man X; 09-15-2004 at 04:14 AM.
 
Old 09-15-2004, 04:15 AM   #4
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 374

Rep: Reputation: 32
RPMS

because your using suse you can download and install RPM packages.
goto www.rpmfind.net its got lots,

RPMs are easy to install providing you know what to get.
wait till u hit the "dependency hell" then post back, you'l know what i mean when u get there
 
Old 09-16-2004, 02:59 AM   #5
stryker5233
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks man. I'm cool with installing shit now. well at least for now

Last edited by stryker5233; 09-16-2004 at 03:07 AM.
 
  


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
how do i install- [myname@localhost ~]$ i dont know what to enter here fabiocnr Linux - General 3 10-16-2005 12:01 PM
Install Apps. i dont were to start? kabrutus Linux - Newbie 10 06-16-2005 07:20 PM
Dont have a clue how to install this driver linuxmandrake Linux - Hardware 1 11-15-2004 06:38 PM
i install dctc software ! dont know how to run it SlackwareMan Linux - Software 9 08-01-2004 01:31 PM
dont know how to install themes on mandrake 10 with KDE 2.4 goodall16 Linux - Newbie 5 04-29-2004 10:08 AM


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