Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-01-2006, 06:00 PM   #1
Member (6 bit)
 
Join Date: Dec 2005
Posts: 42
Boom New to Linux

I Just installed Linux and must say i love the way everything is however i didn't know how hard installing new programs would be ..right now Im trying on installing Apache web server but have no idea how to build binary for it or anything i just need a little guidance on it.
Marshy is offline   Reply With Quote
Old 09-01-2006, 09:03 PM   #2
Member (10 bit)
 
Join Date: Mar 2003
Location: Nottingham UK or Kuala Lumpur Malaysia
Posts: 600
Send a message via ICQ to rave Send a message via AIM to rave Send a message via MSN to rave Send a message via Yahoo to rave
depends on the how supported your distro is. what distro are you using by the way?
for my opensuse i download all the RPMs from Guru's Suse Repositories. RPMs makes sure everything doesnt go wrong.

most of the time to build a source u need to:
1. untar by doing tar xvzf filename.tar.gz
2. go to the directory and type ./configure which will check if you have everything that is needed to run the program.
3. then type make
4. then type make install

if you have mandriva or suse or whatever i really suggest you use a repository. i always found it hard to make 2 programs to work together if you build them by source. get used to a lot of text scrolling in your terminal
rave is offline   Reply With Quote
Old 09-01-2006, 09:16 PM   #3
Member (6 bit)
 
Join Date: Dec 2005
Posts: 42
I have Kubuntu just cause its meant to be easy for people new to linux.
Marshy is offline   Reply With Quote
Old 09-01-2006, 09:29 PM   #4
Member (10 bit)
 
Join Date: Mar 2003
Location: Nottingham UK or Kuala Lumpur Malaysia
Posts: 600
Send a message via ICQ to rave Send a message via AIM to rave Send a message via MSN to rave Send a message via Yahoo to rave
well... linux is a learning process. for fish out of water like us. i've only been using it for a month. i have never tried the ubuntu series. but building sources are the same throughout. just read up various sites. i've provided you the basics.
me, i couldnt be bothered with apache, php and mysql conflicts, so i just installed xampp. its painless. get it at http://www.xampp.org
rave is offline   Reply With Quote
Old 09-01-2006, 09:34 PM   #5
Member (6 bit)
 
Join Date: Dec 2005
Posts: 42
Thanks for the advice i will try that out.
Marshy is offline   Reply With Quote
Old 09-03-2006, 06:16 AM   #6
Member (11 bit)
 
mikeL's Avatar
 
Join Date: Nov 1999
Location: Northeast, Michigan
Posts: 1,063
After you un-tar the prgram you can find a install file, which will give you specifics on how to install the program.

most programs will use the method rave stated:
from the terminal log in as root (see below)
su -
"root password"

cd to program source
tar -xvfz (sometimes the z cannot be used) program name.tar.gz
cd to the program name folder, just created by tar
./configure
make
make install

sit back, and relax. Because this process especially "make" will take some time.

I prefer to compile from a tarball, rather than a rpm file. but that is just me

Mike
__________________
Registered linux user # 217167 - Be counted http://counter.li.org/
Currently running:
Desktop - XP Pro, Fedora
HP dv9700z CTO laptop, running Windows 7 Pro
mikeL is offline   Reply With Quote
Old 09-03-2006, 01:20 PM   #7
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Here is the easy way to set up a LAMP server in Ubuntu or Kubuntu:
http://www.132solutions.com/ubuntu/h...hp?webcut=lamp

Note, instead of Synaptic (GNOME), you will use either Adept or Kynaptic in KDE.
faulkner132 is offline   Reply With Quote
Old 09-05-2006, 01:39 PM   #8
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Since you are using kubuntu, I highly recommend you use the repository for getting software as mentioned above. I've been using Slackware for a few years, so I'm used to just compiling everything from source, and it works fine for me. Big mistake when I tried that on a machine running Ubuntu however.
__________________
"When the only tool you have is a hammer, every problem starts to look like a nail."
RenegadeKing is offline   Reply With Quote
Old 09-05-2006, 02:57 PM   #9
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Quote:
Originally Posted by RenegadeKing
Since you are using kubuntu, I highly recommend you use the repository for getting software as mentioned above. I've been using Slackware for a few years, so I'm used to just compiling everything from source, and it works fine for me. Big mistake when I tried that on a machine running Ubuntu however.
I agree with RK here. Use the repositories when possible... infinitely easier.
I initially set up a LAMP server compiling from source before MySQL 5 was introduced into the repositories and it was more trouble than it was worth.
faulkner132 is offline   Reply With Quote
Old 09-06-2006, 08:02 AM   #10
Member (11 bit)
 
Join Date: Apr 2003
Posts: 1,525
Kubuntu and ubuntu are primarily designed for desktop use for those new to linux. I don't associate the "buntus" with servers but I believe there is a specialized ubuntu server edition.

If you want to set up a server, the big dogs here are Red Hat and Novel/Suse on the commercial side and debian and slackware on the noncommercial/community type distros. Mandriva also has all the server stuff on their install dvd IIRC. Setting up a server on debian or slackware from scratch is probably beyond your ability at this point. I'd say, go with suse or mandriva as they each have setup wizards making server configuration easier and there are nice step by step tutorials on server setup on the net:

http://www.howtoforge.com/perfect_setup_suse_9.3

http://www.howtoforge.com/perfect_setup_mandrake_10_2

Both suse and mandriva are freely downloadable.

RH is the main linux server distro used in an enterprise setting. Their commercial product, RHEL, is not free but there are many knockoff clones (eg. Centos). RH also maintains a community version called fedora which tends to be more bleeding edge than RHEL and is freely downloadable. If you are interested in learning linux for professional/employment reasons, I'd go with fedora since RH servers are what you are likely to see in a commercial setting. Fedora also comes with a lot of nice server setup utilities and there is a wealth of info on RH/fedora sever configuration:

http://www.howtoforge.com/perfect_setup_fedora_core_4

Finally, as noted by others, compiling from source is not the way to go as all the distros mentioned, ubuntu, fedora, suse and mandriva, have precompiled binaries for LAMP which greatly simplify installation.
kilgoretrout is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:53 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2