How to install Samba on Fedora

Posted on 2005-03-04
Medium Priority
Last Modified: 2013-12-06

I am still relatively new to Linux.  As I understand it, I need Samba to access shared folders on a Windows system from Linux.   To do this, I need to use an SMBMOUNT command (or something of the sort).  

Can someone please give me (or point me to) step by step instructions on how to install and set up Samba?

Again, I am new to to Linux, so the actual commands necessary would be appreciated.

Thank you!
Question by:quiTech
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 38

Accepted Solution

wesly_chen earned 1200 total points
ID: 13464530

   SAMBA comes with Fedora.
First, check the installation.
rpm -q samba

If not, then as root, type
and cleck the "Windows File Server" and click on "Update". It will prompt you from the CD to install.

To see Windows' shared folder, click "Start Here" icon on the desktop and type
smb://<window machine name>/<shared folder name>

Or run "knoqueror" and type in the same "smb://" on the address line.

Then you will be able to access the Windows shared folder from Linux.


LVL 40

Expert Comment

ID: 13464587
You only need the samba-common & samba-client packages to access windows shared folders. Most installations of Fedora will include those by default and you can verify that they are installed with 'rpm -qa | grep samba'. If they aren't installed you can add them from your CD's or with 'up2date -i samba-common samba-client'.

Author Comment

ID: 13464645

Here is what I get:

     [root@linx02 root]# rpm -q samba

I assume the above means that samba-3.0.0-15 is installed.

The smb: command does not seem to work:

     [root@linx02 root]# smb://linx01/sharedfiles
     bash: smb://linx01/sharedfiles: No such file or directory


     [root@linx02 root]# knoqueror
     bash: knoqueror: command not found

Any suggestions?

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

LVL 38

Expert Comment

ID: 13464754
> smb://linx01/sharedfiles
This is not run in teminal command. It is on Nautilus, file manager on Gnome.

Oops, typo, it should be


Assisted Solution

badrulnm earned 800 total points
ID: 13464794
do this at command prompt:

# nautilus smb://linx01/sharedfiles


# smbclient //linx01/sharedfiles

Author Comment

ID: 13468890
Thanks !

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month12 days, 10 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question