View Full Version : [ubuntu] How to install samba on desktop not connected to the internet

January 9th, 2010, 09:26 AM
I have a desktop with ultimate edition installed on it (ubuntu 9.4)
how can I install samba file sharing on it ??
on the desktop I dont have internet connection !

Thnx in advance

January 9th, 2010, 09:38 AM
then you must have the samba package
and then install it.
you can get it from CD or download from internet.

z-computer-z.blogspot.com (http://z-computer-z.blogspot.com/)

January 9th, 2010, 10:15 AM
It didnt work !
Error: Dependency is not satisfiable: samba

then you must have the samba package
and then install it.
you can get it from CD or download from internet.

z-computer-z.blogspot.com (http://z-computer-z.blogspot.com/)

January 9th, 2010, 12:12 PM
These are the dependencies for package samba:

$ sudo aptitude show samba
Package: samba
New: yes
State: not installed
Version: 2:3.4.0-3ubuntu5.1
Priority: optional
Section: net
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 18.3M
Depends: samba-common (= 2:3.4.0-3ubuntu5.1), libacl1 (>= 2.2.11-1), libattr1 (>= 2.4.41-1), libc6 (>= 2.8), libcap2 (>= 2.10),
libcomerr2 (>= 1.01), libcups2 (>= 1.4.0), libgnutls26 (>= 2.7.14-0), libgssapi-krb5-2 (>= 1.7dfsg~beta1), libk5crypto3 (>=
1.6.dfsg.2), libkrb5-3 (>= 1.7dfsg~alpha1), libldap-2.4-2 (>= 2.4.7), libpam0g (>=, libpopt0 (>= 1.14),
libtalloc1 (>= 1.4.0~git20090718), libwbclient0 (>= 2:3.4.0~pre2), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0,
libpam-runtime (>= 0.76-13.1), libpam-modules, lsb-base (>= 3.2-13), procps, update-inetd, adduser

You will need to have all of them installed as well ... and I'm not sure how to do it easily; you might have to check each one and copy it over and install it separately.

January 9th, 2010, 12:55 PM
Take a look at this guide:


Here is how to do the same thing in Synaptic:


January 10th, 2010, 12:31 AM
Or download the packages with Keryx (http://keryxproject.org).

January 25th, 2010, 05:31 PM
I have just succeeded using this method in jaunty 9.04:

Download the 7 files below from the Internet where access is possible, the upper 6 files from:
and the last samba file from:

On the Ubuntu machine, assuming you are logged on as user 'myuser' create this file structure in /home/myuser/UbuntuRepositories/repository/

| |_ jaunty
| |_____ main
| | |_____binary-i386
| | |________Packages.bz2
| | Packages.gz
| | Release.txt
| |_____Contents-i386.gz
| Release.gpg
| Release.txt

Now run Synaptic Package Manager:
Settings, Repositories
Turn off all Downloadable and CD-Rom
Go to Third Party Software tab
Click +Add
deb file:///home/myuser/UbuntuRepositories/repository jaunty main
+Add Source
Ensure this item ticked, Close
(if you go back & edit you will see URI of file:///home/myadmin/UbuntuRepositories/repository and Dist as jaunty, and Components as main)


Find 'samba' in the list of packages & check it.

You can now share folders.
I have not checked the security implications - but clearly one should be cautious of allowing write access...

I hope this helps.

This was helpful:
The 'pool' directory part & the samba file were discovered when the package Manager failed without it - the file found with a Google search.