Difference between revisions of "Prerequisites for Slackware"

From Apertium
Jump to navigation Jump to search
 
Line 32: Line 32:
=== Go on ===
=== Go on ===


Then you can move on to [[Minimal_installation_from_SVN]].
Then you can move on to [[Installation#For those who want to install Apertium locally, and developers]].


== Troubleshooting ==
== Troubleshooting ==

Latest revision as of 02:56, 9 March 2018

This Tutorial is prepared by Jatin Luthra in Google Code-In.

TODO: This seems a lot more complicated than the prerequisites sections for Debian/Fedora/Gentoo etc, can we simplify?

Installing Apertium on Slackware[edit]

This guide is for Slackware 14.1.

Install slapt-get[edit]

In case you don't have slapt-get installed already do the following in order to install it:

  • For i386
$ wget http://software.jaos.org/slackpacks/14.1/slapt-get/slapt-get-0.10.2r-i386-1.tgz
  • For x86_64
$ wget http://software.jaos.org/slackpacks/14.1-x86_64/slapt-get/slapt-get-0.10.2r-x86_64-1.tgz

Assuming x86_64:

  • Install slapt-get
# installpkg slapt-get-0.10.2r-x86_64-1.tgz

Install dependencies needed to build Apertium (untested)[edit]

# slapt-get --install make gcc kernel-headers libxml2 libxslt subversion pkg-config automake flex libtool pcre gawk

Go on[edit]

Then you can move on to Installation#For those who want to install Apertium locally, and developers.

Troubleshooting[edit]

Slackpkg[edit]

Installation of the packages can be done with slackpkg if slapt-get does not work.

$ wget http://www.slackpkg.org/stable/slackpkg-2.82.0-noarch-2.tgz
# installpkg slackpkg-2.82.0-noarch-2.tgz
  • Configure the mirrors by "pico /etc/slackpkg/mirrors" and commenting out the mirrors not required by adding # symbol at starting of line.
  • Update the gpg by using "slackpkg update gpg"
  • Upgrade using Slackpkg:
slackpkg update
slackpkg install-new
slackpkg upgrade-all