LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-05-2009, 05:11 AM   #1
gaur.ankit2007@gmail.com
Member
 
Registered: Dec 2008
Posts: 34

Rep: Reputation: 16
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.
 
Old 02-05-2009, 05:18 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 02-05-2009, 06:11 AM   #3
gaur.ankit2007@gmail.com
Member
 
Registered: Dec 2008
Posts: 34

Original Poster
Rep: Reputation: 16
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 ?
 
Old 02-05-2009, 06:33 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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
 
Old 02-05-2009, 03:58 PM   #5
gaur.ankit2007@gmail.com
Member
 
Registered: Dec 2008
Posts: 34

Original Poster
Rep: Reputation: 16
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..........
 
Old 02-05-2009, 04:12 PM   #6
gaur.ankit2007@gmail.com
Member
 
Registered: Dec 2008
Posts: 34

Original Poster
Rep: Reputation: 16
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
 
Old 02-06-2009, 12:11 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
 
  


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
Installing Softwares fpga_freak Linux - Newbie 5 01-19-2009 09:02 AM
Trouble installing jre and Flash Player on RHEL4 gaur.ankit2007@gmail.com Linux - Newbie 2 01-03-2009 11:21 PM
how to install softwares from other os like windows and also run portable softwares rudramurthy Linux - Newbie 6 10-16-2008 07:33 AM
Trouble Installing Dev Tools on RHEL4 kunzjj Linux - General 1 03-06-2007 11:36 AM
RHEL4 Trouble Installing Games, Newbie mtmcc1 Linux - Software 2 12-23-2005 11:04 AM


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