LinuxQuestions.org
Register a domain and help support LQ
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 08-03-2008, 04:33 AM   #46
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48

Yeah, I just feel bad when people are confused and despairing...intense sense of empathy...I want him to be successful and happy! I actually am a physics teacher....the desire to help is the same.
 
Old 08-03-2008, 04:37 AM   #47
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by ehawk View Post
Yeah, I just feel bad when people are confused and despairing...intense sense of empathy...I want him to be successful and happy! I actually am a physics teacher....the desire to help is the same.
Kool ur teacher now next time I have to say "sir" to you, Anyway you did good, you I was also having same problem like him, I wasnt able to install any packages, bcoz RHN block my yum service then I decided to use CentOS bcoz its with free updates and i like it..
 
Old 08-03-2008, 04:46 AM   #48
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
No, no one has to call me sir! =)

My name is Eric, and that is fine...
 
Old 08-03-2008, 04:53 AM   #49
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by ehawk View Post
No, no one has to call me sir! =)

My name is Eric, and that is fine...
I was just kiddin, I got some problem with yum server, I have created repo file in /etc/yum.repos.d/server.repo, and I have done createrepo /var/ftp/pub/CentOS/ and restarted vsftpd service

configuration file of repo is below

[server installer]
name=CentOS Linux
baseurl=ftp://172.16.19.66/pub/CentOS/
enabled=1
gpgcheck=0


when I run yum install packagename I get this error below

[root@rahil /]# yum install bind
ftp://172.16.19.66/pub/CentOS/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: server installer. Please verify its path and try again


Let me know any solution with this.
 
Old 08-03-2008, 05:03 AM   #50
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
I found the solution of this error, but i have to disable SElinux to run yum install package name, is there any other way to run yum command wen SElinux is ON
 
Old 08-03-2008, 05:14 AM   #51
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Is this relevant? Bug that is fixed now in last day:

http://bugs.centos.org/view.php?id=2997

Also

http://www.linuxtopia.org/online_boo...tion-0068.html

Last edited by ehawk; 08-03-2008 at 05:19 AM.
 
Old 08-04-2008, 10:04 AM   #52
sagitalk
Member
 
Registered: Aug 2008
Posts: 38

Original Poster
Rep: Reputation: 15
hello friends,


i finally managed to install a C/C++ compiler....now i have got gcc yipee.......i am just a student so the entire process was a little harrowing....i am glad that alls well now....as told by you all i changed the repository from the RHN to Centos and used the yum command....i did a little bit to reading up on the yum command....i understood that installing individual packages is no good this cycle of dependencies is really vicious.....i issued the yum command and got all things done with the help of the Centos repository....i am really glad....after that now i have installed gnuplot and xpdf too!!!!!!....now once i have a compiler i realise that its just a matter of ./conigure....make....and make install....glad to step into this linux world....thank you all....sagitalk
 
Old 08-04-2008, 04:31 PM   #53
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Glad to hear that you are making progress! You could probably also use yum to install all of the other applications you want, like gnuplot and xpdf. Using the package manager is preferred to installing from source code and compiling, because the package manager now remembers what versions of the applications are installed, and can prompt you for updates and remove the older installed versions for you. If you compile from source code, you have to do this stuff on your own (remembering what version you have installed and cleaning up things and removing this old compiled code once you install newer versions. Things can get messy if maintaining everything from source code, unless you are using a distribution which was intended to work this way, like Gentoo, which you are not.
 
  


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
I just downloaded a game in a tar.bz2 file. How do I install and run it? Mac_09 Linux - Newbie 2 05-19-2008 01:40 AM
How to install pidgin as a .tar.bz2 file epich Linux - Software 10 03-24-2008 09:26 AM
Why can't I install a *.tar.gz or a *.tar.bz2 file? SkinnerC Slackware 11 12-13-2007 11:03 AM
Problem installing gcc-4.0.2.tar.bz2 MadAboutLinux Linux - Software 1 04-02-2006 12:40 PM
How you install file with TAR.BZ2 extension?.. thanks suse2166 Linux - Software 14 01-03-2005 05:55 PM


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