Trouble installing softwares on RHEL4
Hi
i am new to linux and working on RHEL4. Whenever i try to install a new software on it , it shows a very long list of dependencies. i download my RPMs from dag wieers. Recently i downloaded xine lib, xine for RHEL4 but then also it gave me a very long list of dependencies. whenever this happens i get very disheartened . can you tell me a way to install these softwares so that all depencies get downloaded automatically. if i download a software for RHEL3 and try to install it in RHEL4 will it work?? will i still get the dependencies. |
Dependencies are going to haunt you if you fail to use package manager to install the packages. Use it whenever possible. RHEL4 has yum as its package manager.
|
thanx chaitanya ,
jus do 1 more favour tell me how do u use yum on RHEL4 for eg. i have xine-lib-1.1.4.rpm so will i install it like :- yum xine-lib-1.1.4.rpm moreover i have tried earlier also and yum does'nt work on my pc it says "unknown command yum" do i have to install yum ? |
Well rhel does have yum by default. Also if you are not paying for the support to rh then it is better to have cent os. It is very rhel without logos and support but will have repos and yum configured.
For using yum, if you need to install xine just type yum install xine. To list the packages that are available through yum you can use yum list |
Hi chaitanya
i checked on RHEL 4 yum is not availaible i tried downloading it but i am getting dependency problem wit python-sqlite it requires libsqlite.so.0 what do i do now please help.......... |
hi chaitanya
i tried to do as you told on my friends machine with yum and got this can you help me with it [root@localhost ~]# yum install xine Setting up Install Process Setting up repositories base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 608 kB 00:24 base : ################################################## 1591/1591 Added 1591 new packages, deleted 0 old in 9.64 seconds primary.xml.gz 100% |=========================| 105 kB 00:05 updates : ################################################## 360/360 Added 360 new packages, deleted 0 old in 2.56 seconds Parsing package install arguments No Match for argument: xine Nothing to do |
Set up the dag and rpmforge repositories on the machine. Search LQ for it and you will how to set up yum repository. You need to edit /etc/yum.conf or make a file called dag.repo with repo details and keep that file in /etc/yum.repos.d/
Create a file called rpmforge.repo in said directory and add the contents. Code:
# Name: RPMforge RPM Repository for Red Hat Enterprise 4 - dag |
All times are GMT -5. The time now is 09:14 AM. |