LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-18-2008, 12:18 PM   #1
slideh
LQ Newbie
 
Registered: Jul 2008
Posts: 29

Rep: Reputation: 15
How do you install samba on Fedora?


I need to re-install Samba on Fedora Core 9. I have downloaded Samba 3.2.0 and it is compressed. What do I do with it to install it?

Any help appreciated.
Cheers
 
Old 07-18-2008, 12:54 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
What type of file did you download? You should be able to install samba from the fedora repositories by running
Code:
yum install samba
 
Old 07-21-2008, 05:01 AM   #3
slideh
LQ Newbie
 
Registered: Jul 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz View Post
What type of file did you download? You should be able to install samba from the fedora repositories by running
Code:
yum install samba

I tried that and get the following error...

[root@LinuxFC91 ~]# yum install samba
Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...d-f9&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again
[root@LinuxFC91 ~]#


I also get the same error when trying to install Cshell ( yum install sch )

Is there something I'm doing wrong?

Thanks

S
 
Old 07-21-2008, 05:10 AM   #4
slideh
LQ Newbie
 
Registered: Jul 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Ah, There was actually a problem with my network connection, fixed now.

It is now doing the following...
[root@LinuxFC91 ~]# yum install samba
Loaded plugins: refresh-packagekit

And seems to be hanging there for quite a time. Should this be a long process? Does it need to actually download the software from the internet

And now it has timed out giving a similar error message to below.



Quote:
Originally Posted by slideh View Post
I tried that and get the following error...

[root@LinuxFC91 ~]# yum install samba
Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...d-f9&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again
[root@LinuxFC91 ~]#


I also get the same error when trying to install Cshell ( yum install sch )

Is there something I'm doing wrong?

Thanks

S
 
Old 07-21-2008, 05:33 AM   #5
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Quote:
slideh

And seems to be hanging there for quite a time. Should this be a long process? Does it need to actually download the software from the internet
Yes it downloads it from the internet.
 
Old 07-21-2008, 07:59 AM   #6
slideh
LQ Newbie
 
Registered: Jul 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mrrangerman View Post
Yes it downloads it from the internet.
Any ideas why it might be failing to install them? I have a network connection. Do I need to do anything to my firewall to allow it to download the packages?
 
Old 07-21-2008, 09:08 AM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
The message you reported is, typically, caused by DNS configuration problems. (I.e.: A "failure in name resolution" is a Directory Name Service problem.)

So, as you said, you had a network problem.

If you have another (working) Internet connection, you could download the RPM file from the Fedora repository, move the file to the system needing Samba, and use the rpm command to install it.

To answer your first question - how to use the compressed source code file:

1) Use the ark command in a GUI, or the tar command from the command line to extract the source code to a directory of your choice. (If you use ark, a subdirectory of the selected directory will usually be created containing the packed structure.)

2) Start a command line (terminal) window and use the cd command to change your working directory to the directory created in step 1.

3) Enter the command ./configure to set up your system to compile the source code. This will also check that you have all the needed development tools installed. (If you're using source code, you will need to have a compiler and many libraries installed on your system. If you don't already have them installed, and your connection is "problematic," you may find it difficulte to work from source code.)

4) Use the make command to compile the source code.

5) Use the sudo make install command to install the system you've compiled. (The sudo is needed because the command(s) you've created need to be installed in "system" space.

Last edited by PTrenholme; 07-21-2008 at 09:09 AM.
 
Old 07-21-2008, 10:25 AM   #8
slideh
LQ Newbie
 
Registered: Jul 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks PT,
I will try that. Do you know where I would be able to download the rpm for samba? I'm running Fedora Core9.

Also, any ideas why the yum thing doesn't work? I have internet connection etc...Following error comes up...

[root@LinuxFC91 ~]# yum install samba
Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...d-f9&arch=i386 error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again

The Add/Remove Programmes application doesn't see to work either. Maybe related?

Cheers
S
 
Old 07-21-2008, 03:23 PM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
To download an RPM, locate a repository containing it (mirror list here), locate the RPM on the selected site (for example, for the Samba client programs you could try here for a feed from Canada. (I.e., pick a place near you.) Once you locate the RPM, you your browser to download it.

Note: the man rpm command should give you a quick overview of how to ust the rpm command to install an RPM file.

As to your download problem, I'd suspect a slow or overloaded connection. There is a YUM plug-in "fastest mirror" that will let YUM automatically search for the best mirror to use for downloads, but, of course, you need to install that plug-in from the repositories before it will help, eh?

Last edited by PTrenholme; 07-21-2008 at 03:26 PM. Reason: Dropped mouse and posted before I finished. Sorry.
 
  


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
fedora 8 and fedora-base 8 install with windows during booting time ab25 Linux - Newbie 5 08-26-2014 08:24 PM
install and configuration samba on fedora 9 nolitank06 Linux - Newbie 7 06-03-2008 01:17 AM
fedora 5, samba and samba console Andrus Linux - Software 0 04-08-2006 01:54 AM
samba won't start in new fedora install simonprince Fedora 1 10-26-2005 03:50 PM
How do I install Samba if I didn't install it when I installed FC2? CatchFlipsidE Linux - Newbie 6 09-10-2004 07:17 PM


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