Install Netatalk v3 on Debian

From Netatalk Wiki
Jump to: navigation, search
(Compiling Netatalk 3 with the required dependencies)
(Installing Netatalk 3 using Checkinstall)
Line 80: Line 80:
  
 
==Installing Netatalk 3 using Checkinstall==
 
==Installing Netatalk 3 using Checkinstall==
WIP
+
 
 +
{| border="1"
 +
|-
 +
|align="left" |Before continuing, a brief explanation: one of the main problems that can arise from installing software from source is that it becomes more difficult to manage certain future tasks, such as removal.  To this end, this walkthrough employs [http://checkinstall.izto.org CheckInstall], which allows the resultant install to be managed with the <tt>dpkg</tt> utility.  Should you wish to uninstall Netatalk 3 at some point in the future, this can be accomplished using the following command:
 +
dpkg -r netatalk
 +
To test this at the end of the installation process, you can use the following:
 +
dpkg --dry-run -r netatalk
 +
The result should be along the lines of:
 +
(Reading database ... 35527 files and directories currently installed.)
 +
Would remove or purge netatalk ...
 +
Simples!
 +
|-
 +
|}
 +
<br />
 +
Using CheckInstall is remarkably simple.  Simply type:
 +
checkinstall make install
 +
This will compile the source code into a genuine Debian package, and then install it.  This will take some time.  When done, you should receive a clear indication as to the results of the install process.  All being well, there remains just one more step.
 +
 
 +
Execute the following commands:
 +
echo "/usr/local/lib" >> /etc/ld.so.conf
 +
ldconfig
 +
This adds the path to Netatalk's essential libraries to the system.  Without this, an error would be returned when attempting to run Netatalk, and the service would fail to start.
 +
 
 +
It now only remains to configure Netatalk to offer up a share.
  
 
==Configuring Netatalk 3 for client access==
 
==Configuring Netatalk 3 for client access==

Revision as of 07:59, 27 April 2013

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox