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 yum remove glibc-dummy-centos-4
if you want to install gcc. You also need to execute the following commands (AFAIK):
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:
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#msg296220Hi,
You need to add the compiler and its components using yum. But first you need to setup yum on your VPS:
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.rpmdoesn't seem to exist anymore. I googled and didn't find anything.
