LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-11-2004, 09:39 AM   #1
jimwillsher
LQ Newbie
 
Registered: Jan 2004
Location: Dunblane, Central Scotland
Distribution: Redhat 9
Posts: 27

Rep: Reputation: 15
Best way to get newest versions on RH9?


Hi all,

I have a stable RH9 installation, running as a server:

Apache
PHP
sendmail
ipop3d
vsftpd

I want to keep up to date with software. i.e. I'd like to use the latest Apache, and the latest PHP (well, 4.3.3 anyway). More specifically, I need to use the latest version of the GD module so that I can use the JPGraph functionality on my website.

I've had a frustrating day. I can compile PHP but it doesn't create the .SO module for apache; I can compile the GD module but phpinfo() stil lshows an old version (1.6.2, even though the RPM i1 1.8.x).


I'm a total newbie, so even getting successful compiles was a surprise!


What's the best way to get later versions of this stuff? Compiling has given me no success. Should I try a different distro? Fedora looks carey, and the Enterprise versions are pricey. I've looked around for RH9 rpm files of the later version but couldn't find anything.

Am I clutching at straws here?

All suggestions welcome!




Jim
 
Old 02-11-2004, 11:52 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hi jimwillsher!!!

You might want to use apt-get for Redhat. Apt-get is a package manager, initially create for Debian and today ported to many other distributions, as Redhat.

How it works?

By simply typing apt-get install <name of the program>, apt-get will connect to a server and download all packages necessary to install a program, including the dependencies and install it for you. Examples:

apt-get install mplayer

will install mplayer with all codecs and gui support. It's nice. It can also upgrade a package:

apt-get upgrade apache

or your hole distribution:

apt-get dist-upgrade

The server list is located at /etc/apt, meaning that if you really want to have the latest unstable Redhat packages, you simply add the server there. Get this babe here:

http://freshrpms.net/

then type:

apt-get update

The command above updates apt-get server list (/etc/apt/). Make sure to always update it when adding/removing a server from there. Then happy updating:

apt-get upgrade apache
apt-get upgrade php
etc...

regards!
 
Old 02-11-2004, 12:53 PM   #3
zinic
LQ Newbie
 
Registered: Nov 2003
Location: Västerås - Sweden
Distribution: Dual boot with WinXP & Red Hat 9
Posts: 14

Rep: Reputation: 0
Yep i totally agree with Megaman X!

And if you want a nice and good GUI-interface you can use
Synaptic that uses apt-get.

I use it all the time it works perfect
I think you can find instructions how to do at
http://freshrpms.net/apt/

cheers!
 
Old 02-11-2004, 01:38 PM   #4
jimwillsher
LQ Newbie
 
Registered: Jan 2004
Location: Dunblane, Central Scotland
Distribution: Redhat 9
Posts: 27

Original Poster
Rep: Reputation: 15
Hi Megaman X and zinic,

Fantastic! Thank you !!!!

I have had a steep learning curve over the last few weeks, and I'm very much finding my feet with Linux. I was a little perturbed to find out that RH9 was quite far behind in the RPMs, hence my question. But this looks to be the baby!

I'll give it a whirl tomorrow from work (hehe, why else go to work?) and take it from there.

Much appreciated folks!



Jim
 
Old 03-19-2004, 05:34 PM   #5
IceGrill
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake
Posts: 25

Rep: Reputation: 15
yo dudes...awesome. i need to upgrade php too and apt-get is so freakin easy
 
Old 03-22-2004, 04:27 PM   #6
bpk
Member
 
Registered: Nov 2003
Location: San Francisco, CA
Distribution: FreeBSD, OpenBSD, Gentoo, OS X
Posts: 80

Rep: Reputation: 15
don't forget:

https://rhn.redhat.com/errata/rh9-errata.html
 
  


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
Newest of all Newbie's Rev Doug Linux - Networking 3 09-06-2003 11:39 PM
newest release ntalektual *BSD 5 08-24-2003 01:53 PM
Newest Member(at least I think) Raspis21 LinuxQuestions.org Member Intro 5 06-20-2003 09:44 PM
Running newest versions of Linux on 100mhz? Eits0 Linux - General 1 05-17-2003 03:47 PM
RH9 problems with newest Nvidia drivers harthepirate Linux - Newbie 11 04-14-2003 08:11 PM


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