Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 24, 2008, 11:20:11 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: yum and gcc [answers]  (Read 453 times)
ZeroFreeze
Java Programmer
Spacescooter Operator
*****
Offline Offline

Posts: 40


I am a BANANA!


« on: February 23, 2008, 08:26:42 PM »

Edit: SOLVED! Finally, after 2 hours of searching and asking...

I found some yum packages: http://dag.wieers.com/rpm/packages/yum/
couldn't download it with rpm, so I used wget and then rpm <theoptions> ./theyumfile
also, you need to delete: glibc-dummy-centos-4
Code:
yum remove glibc-dummy-centos-4
if you want to install gcc. You also need to execute the following commands (AFAIK):
Code:
rpm -ihv http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm

rpm -ihv http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm

rpm -ihv http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm

rpm -ihv http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm

now you can use yum to get whatever packages you want. In my case, I wanted gcc, so I executed:
Code:
yum install gcc

[/color]

-------------------------------------

I need help with installing yum on centos. My original goal was to install unrealircd, but the vps doesn't have gcc/cc installed. So I searched, searched, searched and found out that I need to install yum and use it to get the gcc package.

http://www.lunarforums.com/lunarpages_vps_hosting/whereis_gcc_or_any_c_compiler-t40829.0.html;msg296220#msg296220

Hi,

You need to add the compiler and its components using yum. But first you need to setup yum on your VPS:

Code:
1. rpm -ihv --nodeps http://mirror.centos.org/centos-4/4.4/os/i386/CentOS/RPMS/yum-2.4.3-1.c4.noarch.rpm
2. yum makecache

Then you would setup gcc by executing "yum install gcc"

Please advise if you have any further questions.

I tried that, but http://mirror.centos.org/centos-4/4.4/os/i386/CentOS/RPMS/yum-2.4.3-1.c4.noarch.rpm
doesn't seem to exist anymore. I googled and didn't find anything.   Grr..!!
« Last Edit: February 23, 2008, 10:10:15 PM by ZeroFreeze » Logged



I AM A BANANA!
perestrelka
Administrator
Jedi
*****
Offline Offline

Posts: 980



« Reply #1 on: February 23, 2008, 09:15:38 PM »

Hi ZeroFreeze,

This procedure was already described in http://www.lunarforums.com/lunarpages_vps_hosting/how_do_i_setup_my_vps_server-t41213.0.html It also contains a lot of other useful setup instructions Wink
Logged

Kind Regards,
Vlad Artamonov
ZeroFreeze
Java Programmer
Spacescooter Operator
*****
Offline Offline

Posts: 40


I am a BANANA!


« Reply #2 on: February 23, 2008, 10:08:33 PM »

Oh, I didn't find that thread when I used the search feature.

In my opinion it should be stickied.
Logged



I AM A BANANA!
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM