LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2004, 10:04 AM   #1
Caud Pong
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
Need Help to Install Samba --"Newbie"


Hello folks,

I was directed to download Samba in an attempt to read files between my Linux 9.0 box and Windows environment.

I downloaded samba-latest.tar.gz into my /root folder and that is where I am stuck.
The installation instructions point me to a Samba and when I get there, the instructions also send me to where I was originally. It is getting a bit frustrating for a Newbie

How do I unzip this file and install it? Or, how do I simply install it?
Step by guideline will be very much appreciated.
Thanks.
 
Old 10-04-2004, 11:28 AM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
what distro are you running?

if it is debian you can type in as root:

Code:
apt-get install samba
and it will download and install samba for you, but not configure your smb.conf file

if you are running a RH line (fedora, redhat, whitebox) then you can just use yum in the same way with apt-get

Code:
yum install samba
and get the same results.

IIRC yum might also work with mandrake, but i am not 100% on that.
 
Old 10-04-2004, 11:55 AM   #3
Caud Pong
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks but it did not work

Thanks for the hints.

I am running Redhat 9.0 and I type from the prompt ...root]#:

yum install samba-latest.tar.gz

and got the message:

bash yum: command not found


I tried man yum and also got a NOT found. Were you kidding with this yum command?

Thanks and I look forward to update.
 
Old 10-04-2004, 12:26 PM   #4
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
Try to download an rpm package of the samba. I think that a quick search in http://fr.rpmfind.net would be nice. Then just type from a console
Code:
rpm -i samba.<version>.rpm
and that's all!

Let us know how it goes!
 
Old 10-04-2004, 03:00 PM   #5
Caud Pong
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
RPM also failed with errors

Hi,

This is what I did:

-- a search on the suggested find site for “samba” listed several options and I downloaded
”The Samba SMB Server Red Hat Linux 9 for i386”
file name: Samba-2.2.7a-7.9.0 i386.rpm

--then, I run the command:

rpm -i Samba-2.2.7a-7.9.0 i386.rpm

It failed with the message:

Failed Dependencies:
libcrypto.50.4 is needed by Samba-2.2.7a-7.9.0
libsol.50.4 is needed by Samba-2.2.7a-7.9.0
samba-common 2.2.7a is needed by Samba-2.2.7a-7.9.0


Any help here? My fear is that if get into searching for these dependencies, they may also have their own dependencies and it may become a chase after files. Any suggestion?
 
Old 10-04-2004, 03:02 PM   #6
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
caud-

Failed Dependencies:
libcrypto.50.4
libsol.50.4 is
samba-common 2.2.7a


you will then need to install the dependencies first, before samba will install.
 
Old 10-04-2004, 03:36 PM   #7
Caud Pong
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Oh Boy!

it is getting worse. I downloaded the three dependencies and the first one gave more than a screen full of conflicts.

The attempts was this:

rpm -1 openssl-0.9.7a-2.i386.rpm

The others are also leading to other dependencies.

Any help before I jump on the others?
 
Old 10-05-2004, 12:24 AM   #8
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
Yes, write down the dependencies to remember in case of a new install.
 
Old 10-05-2004, 09:28 AM   #9
Caud Pong
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Now I know why! Simple Installation Takes that long?

Now I know why!
Simple Installation Takes that long?

Can't there be a simple executable to install on a Linux 9 box for Samba? I seem to be all over looking for this and that, and dependencies, etc. Imagine looking for about 20 dlls in the Windows environment before you can install one application.

I am really a bit frustrated but I just want to be sure if that is the only way?

Thanks.
 
Old 10-05-2004, 09:47 AM   #10
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
Re: Now I know why! Simple Installation Takes that long?

Quote:
Originally posted by Caud Pong
Imagine looking for about 20 dlls in the Windows environment before you can install one application.
Who told you that you not looking for 20 dlls in the Win env? The only difference is that the dlls are included in every setup.exe file you run! This is also why linux is safer. You only install what you really need...

Look, no one said that installing and using linux is as easy as other os's. But, if you know from the beginning what you need, you may never wish to re-install anything. Trust me. I have been using RH for 18months now, and I have made more than 250 setups in 4 computers!!! That's about 4 setup per month, that's a setup every week...! I was really angry, but now, everything is working too f**king great so I am bored watching all those servers, just working . Now, at home, you may need sth more easier... Try to install everything (and I mean the whole thing - about 4 Gigs). Trust me, that will do!

Let me know!
 
Old 10-05-2004, 09:50 AM   #11
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593
Blog Entries: 1

Rep: Reputation: 30
yum resolves downloads and installs dependencies. So download and install yum first, and then from there, try the first suggestion in this conversation.

Might be a bit of a pain but will save you a lot of frustration going forward. Debian, Mandrake, Slackware have similar tools.
 
Old 10-05-2004, 10:04 AM   #12
Caud Pong
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I just down loaded yum-2.0.4-1.rh.fr.i386.rpm and when I tried to install it, it also needs some dependencies. I get

”…failed dependencies: rpm >= 4.1.1 is needed by yum-2.0.4-1.rh.fr”

my fear now is that, this required dependency may have its own dependencies, isn’t it?

Is that what everyone here did in the first place to install Samba?

Any way, what do you suggest now. Thanks for your patience and guidance.
 
Old 10-05-2004, 10:09 AM   #13
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593
Blog Entries: 1

Rep: Reputation: 30
I don't think rpm has much dependencies. Anyway, even if there are some, resolve them and then you shouldn't have any problem with dependencies anymore.

I've never understood why redhat never included something like yum or apt-get as standard.

I've used mandrake and now debian and have had problems only when compiling (for whatever reason) some packages.
 
Old 10-05-2004, 10:28 AM   #14
Caud Pong
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Oh my God!
I just down loaded rpm-4.1.1.1.8x.i386.rpm and that also needs a dependency
popt = 1.7.1

I found popt-1.7.1.1.7x.i386.rpm which comes with several conflicts.

Will this end somewhere? I thought the yum was going to solve my dependency problems?

Last edited by Caud Pong; 10-05-2004 at 10:35 AM.
 
Old 10-05-2004, 10:35 AM   #15
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593
Blog Entries: 1

Rep: Reputation: 30
that's when it's installed !

Anyway here is a link :

http://fedoranews.org/tchung/howto/2...um-intro.shtml

Bye
 
  


Reply



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
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
newbie "brick wall"'s mounting, install, XF86Config iemerick Linux - Software 1 04-23-2004 03:11 AM
Can you change the "title" under your name that says "member" or "newbie&qu Whitehat LQ Suggestions & Feedback 3 11-19-2003 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 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
Open Source Consulting | Domain Registration