Difference between revisions of "Prerequisites for Slackware"

From Apertium
Jump to navigation Jump to search
(Created page with "== Installing Apertium on Slackware == This guide is for Slackware 14.1. === Preparation === Change user to root and Navigate to other directory: su sudo mkdir ~/Downloa...")
 
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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 ==
== Installing Apertium on Slackware ==


This guide is for Slackware 14.1.
This guide is for Slackware 14.1.


=== Preparation ===
=== Install slapt-get ===


In case you don't have slapt-get installed already do the following in order to install it:
Change user to root and Navigate to other directory:

su
sudo mkdir ~/Downloads
cd ~/Downloads

Enter password(if required).

=== Install slapt-get ===


* For i386
* For i386


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


* For x86_64
* For x86_64


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


Assuming x86_64:
Assuming x86_64:
Line 27: Line 23:
* Install slapt-get
* Install slapt-get


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

* Upgrade the system:

slapt-get --update

=== Install dependencies needed to build Apertium ===

* For i486:

slapt-get --install make-3.82-i486-3 gcc-4.7.1-i486-1 kernel-headers-3.2.29_smp-x86-1 libxml2-2.8.0-i486-1 libxslt-1.1.26-i486-2 \
subversion-1.7.6-i486-1 pkg-config-0.25-i486-1 automake-1.11.5-noarch-1 flex-2.5.35-i486-1 libtool-2.4.2-i486-1 pcre-8.33-i486-1 \
gawk-4.1.0-i486-2


=== Install dependencies needed to build Apertium (untested) ===
* For x86_64:


slapt-get --install make-3.82-x86_64-4 gcc-4.8.2-x86_64-1 kernel-headers-3.10.17-x86-3 libxml2-2.9.1-x86_64-1 libxslt-1.1.28-x86_64-1 \
subversion-1.7.13-x86_64-1 pkg-config-0.25-x86_64-1 automake-1.11.5-noarch-1 flex-2.5.37-x86_64-1 libtool-2.4.2-x86_64-2 pcre-8.33-x86_64-1 \
gawk-4.1.0-x86_64-2


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


=== 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 ==
Line 58: Line 40:
Installation of the packages can be done with slackpkg if slapt-get does not work.
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
$ wget http://www.slackpkg.org/stable/slackpkg-2.82.0-noarch-2.tgz
installpkg 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.
* Configure the mirrors by "pico /etc/slackpkg/mirrors" and commenting out the mirrors not required by adding # symbol at starting of line.

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