LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 11-12-2010, 12:12 AM   #1
anshika_sonal
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
how to install x11 libraries on Red- hat Linux?


Hi,

I am new to linux environment.
I need to install libxt-dev ; libx11-dev ; and xorg-dev (xserver-xorg-dev)

My Red Hat Linux Enterprise version is : Linux 2.6.9-5.EL #
I think the redhat is enterprise edition 3

But i dont know how to install the same.Please help.
 
Old 11-12-2010, 12:24 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
Have you checked if those are available in the yum repositories? And if you are using RHEL, you must be paying RH for support. Why not ask them itself. And can you confirm the version of your distribution.
 
Old 11-12-2010, 12:38 AM   #3
anshika_sonal
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I am sorry. But i don't know how to check the yum repositories?

Also i don't how to find out the version of distribution?

I tried to find version using the command $cat/etc/*-release
But it says access denied to lsb-release.

then using uname-a i got the following info:
Linux 2.6.9-5.EL #

Please help.
 
Old 11-12-2010, 12:50 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
You can check the version using lsb_release -a command.
man yum for more information on how to use yum.
You can use yum search and yum list command to find out if the packages you want to install are available in yum repositories.
 
Old 11-12-2010, 01:24 AM   #5
anshika_sonal
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
[root@C-Dat ~]# lsb_release -a
LSB Version: 1.3
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant)
Release: 4



[root@C-Dat ~]# man yum
No manual entry for yum
[root@C-Dat ~]# yum search
bash: yum: command not found
[root@C-Dat ~]# yum list
bash: yum: command not found


Above is the result. It seems yum repository is not available.

how to install x11 libraries. Please help.
 
Old 11-12-2010, 01:47 AM   #6
yeugeniuss
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Rep: Reputation: 0
probably you have a problem witn you PATH variable.

enter
Quote:
[root@localhost:~]>echo $PATH
If it is short, like /sbin:/usr/sbin: you need to add there normal values. open file /home/user/.bashrc and print there next:

Quote:
PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games:~/bin:
MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man:
export PATH MANPATH
save and make relogin.

then you can find where is you program by command

Quote:
whereis [command]
overall to find files - write
Quote:
updatedb
than
Quote:
locate [file]
bash searches command that you enter to the command line in directories from PATH variable. If bash says that command not found - that means that bash have not found command in directories from your PATH.

Now use yum
 
Old 11-12-2010, 02:58 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
You are using a AS version of RHEL and most probably you are using a paid version. You can use up2date command. yum is most probably not included with RHEL4 and above and you will need to install it. And if you are a subscriber of RHEL you could use up2date to install packages from RHEL repositories.
man up2date should give you information.
 
  


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
During Red Hat Linux 9 install: error "No devices found to install Red Hat Linux" rbradtx Linux - Newbie 11 06-25-2010 04:55 PM
Red Hat C++ Libraries New_To_RH_Linux Programming 5 02-25-2005 03:01 AM
RED HAT APPLICATIONS and programming tools/libraries New_To_RH_Linux Linux - Software 3 02-24-2005 04:03 AM
X11 error with Java code on Red Hat naijaguy Programming 2 01-08-2005 05:23 PM
X11 - Port 6000 - Red Hat 8 bostonsurf Linux - Security 1 01-31-2003 06:43 AM


All times are GMT -5. The time now is 01:17 AM.

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