Difference between revisions of "Platform:Linux"

From GNUstepWiki
Jump to navigation Jump to search
 
(42 intermediate revisions by 9 users not shown)
Line 2: Line 2:
  
  
= Debian =
+
== ALT Linux ==
'''Note:''' ''GNUstep packages in Debian's Unstable (Sid) repositories are currently broken.  This is due to upgrades in to GNUstep's libraries/frameworks.  To successfully install GNUstep under Debian Sid, do not '''apt-get gnustep''' as this will not work.  Packages will need to be installed seperately.''
 
  
Since Debian "Sarge" (3.1) you can just say
+
Includes [http://packages.altlinux.org/en/search?query=gnustep- quite a few packages] within Sisyphus the unstable development repository as of April 2014 with most of them being maintained in stable t7/branch as well; there's no metapackage so far, so
  
  apt-get install x-window-system-core wmaker gnustep gnustep-devel gnustep-games
+
  apt-get install gnustep-base
  
to get GNUstep, X11 and Window Maker installed.
+
and start deploying apps you'd like to see:
  
But what happen if you are on Debian oldstable (3.0) release ?
+
apt-get install gnustep-gworkspace gnustep-Affiche
  
Here is an answer from gnustep irc channel:
+
There's an installable [http://en.altlinux.org/Starterkits/gnustep LiveCD] as well.
<fsmunoz> change every occurence of "stable" for "testing"
 
<fsmunoz> remove the security.debian.org line
 
<fsmunoz> do apt-get update
 
<fsmunoz> apt-get dist-upgrade
 
<fsmunoz> repeat  this last one until nothing gets installed or removed.
 
<fsmunoz> the, replace "testing" with "unstable"
 
<fsmunoz> then, apt-get update
 
<fsmunoz> apt-get dist-upgrade
 
<fsmunoz> repeat, repeat.
 
<fsmunoz> done
 
  
The above was a general guide to upgrade from Debian stable to unstable, not exactly the best way to install GNUstep packages. If one doesn't want to upgrade it is possible to simply add the unstable apt lines to the sources.list and specify the distribution when installing the packages, e.g.
+
== Arch Linux / Manjaro ==
 +
 
 +
=== Offical packages ===
 +
 
 +
For make and base there are official [https://www.archlinux.org/packages/?q=GNUstep Packages].
 +
 
 +
=== User package sources (build yourself) ===
 +
 
 +
For all the other libraries and apps there are packaging sources at the [https://aur.archlinux.org/packages/?K=gnustep AUR].
 +
 
 +
== Debian / Ubuntu ==
 +
=== Debian ===
 +
Since Debian ''Sarge'' (3.1) you can use '''apt-get''' to obtain GNUstep packages.
 +
 
 +
# apt-get install wmaker gnustep gnustep-devel gnustep-games
 +
 
 +
to install GNUstep, X11 and Window Maker.
 +
 
 +
The best way to get up-to-date GNUstep packages is to upgrade from ''stable'' to ''testing'' or ''unstable''. If upgrading to Debian ''unstable'' is not desirable it is possible to simply add the unstable apt lines to the sources.list and specify the distribution when installing the packages, e.g.
 
  # apt-get install -t unstable gnumail.app
 
  # apt-get install -t unstable gnumail.app
 +
This method might upgrade some other packages to satisfy dependencies, but will have a much smaller impact on the system since only the packages on which GNUstep depends will be upgraded.
 +
 +
=== Ubuntu ===
 +
As Ubuntu is Debian-based you can likewise install gnustep libraries (and their dependencies) via
 +
sudo apt-get install gnustep gnustep-devel
 +
apt will also suggest a lot of apps to install.
 +
 +
=== Install from source ===
 +
See [[GNUstep_under_Ubuntu_Linux]] for detailed instructions for Ubuntu and Debian. At the repository mentioned there you will see efforts to collect scripts that are able to build a working GNUstep runtime under different GNU/Linux distributions (Ubuntu and Debian currently).
  
This will probably upgrade some other packages to satisfy dependencies, but will have a much small impact on the system since only the packages on which GNUstep depends will be upgraded.
+
There is also a comprehensive guide on how to build GNUstep from scratch at [[Building GNUstep under Debian FreeBSD|Building GNUstep under Debian and FreeBSD using runtime 2.0 with clang and support for blocks, Grand Central Dispatch and ARC]].
  
=== PowerPC ===
+
There are some general, but somewhat outdated instructions using the old SVN at [[GNUstep_SVN_installation_guide]].
In addition to methods describe above, an additional repository is available for Debian PPC by tarzeau; he packages a huge ammount of GNUstep packages for PowerPC. Just add this to your sources.list:
 
deb http://www.linuks.mine.nu/debian/ ./
 
deb-src http://www.linuks.mine.nu/debian/ ./
 
  
This repository contains packages made in unstable, so it's possible that the dependencies only are satisfied in unstable systems.
+
=== Dependencies for building with gcc ===
  
= RedHat =
+
If you want to compile from source install the following [[Dependencies]] packages (applies to both Debian and Ubuntu):
''To be provided.''
 
  
===== Advance Server 3.0 =====
+
<tt>gobjc, libx11-dev, libx11-xft, libxmu-dev, libtiff4-dev, libpng12-dev, libungif4-dev, libart-2.0-dev, libxml2-dev, libxslt1-dev, libssl-dev, libgmp3-dev, libffcall1-dev, libcairo2-dev</tt> (universe), and <tt>svn</tt> if you want to download the svn version.
* GNUstep-core-1.0, please see http://en.wikibooks.org/wiki/CPAM_with_TWW#GNUstep_and_TWW_HPMS. look for the gnustep-core-1.0.sb and gnustep-core-1.0.pb file for building and packaging information.
 
  
===== Fedora Core =====
+
Optional: <tt>libaspell-dev</tt> for [[GSspell.service]]
''To be provided.''
 
  
 +
== Fedora ==
  
 +
This section needs updating.
 +
Fedora 14 users can install GNUstep via rpm. See the [http://fedoraproject.org/wiki/Features/GNUstep Features] page.
  
= Slackware =
+
== Gentoo ==
 +
To install GNUstep libs and scripts, do
 +
emerge gnustep-env
 +
For a list of GNUstep-related ebuilds, see the [http://packages.gentoo.org/search/?sstring=gnustep Online Package Database].
 +
For the most recent packages, type <code>ACCEPT_KEYWORDS="~x86" emerge <i>package-name</i></code> (or analogically for your cpu family: <tt>"~sparc"</tt>, <tt>"~ppc"</tt> ...)
 +
 
 +
== Slackware ==
  
 
=== Version 10.2 ===
 
=== Version 10.2 ===
Line 56: Line 75:
 
This version of Slackware works the same as the previous (10.2).  Libraries and applications will build with no modifications, but due to the GCC version used (3.4.6) Objective-C++ is not supported.
 
This version of Slackware works the same as the previous (10.2).  Libraries and applications will build with no modifications, but due to the GCC version used (3.4.6) Objective-C++ is not supported.
  
:'''Packages'''
+
=== Version 12.0 ===
:Slackware packages have been created and can be found in:
+
GNUstep compiles and install on Slackware 12.0 perfectly.  Unfortunately, this version of Slackware does not include an Objective-C++ compiler.
:* [ftp://ftp.gnustep.org/pub/gnustep/binaries/slackware/ GNUstep FTP] (Please read gnustep.README before installing)
+
 
 +
=== Version 12.2 ===
 +
==== Packages ====
 +
Slackware packages have been created and can be found in:
 +
* [ftp://ftp.gnustep.org/pub/gnustep/binaries/slackware/ GNUstep FTP] (Please read gnustep-core.README before installing)
 +
==== Build Scripts ====
 +
SlackBuild scripts can be found at:
 +
* [http://slackbuilds.org/result/?search=gnustep SlackBuilds.org GNUstep scripts]
  
= SuSE =
+
== OpenSuse ==
''To be provided.''
+
Packages for GNUstep releases can be found on the Open Build Service ([https://build.opensuse.org/project/show/X11:GNUstep OBS]).
  
  
 
[[Category:Development]]
 
[[Category:Development]]

Latest revision as of 18:11, 19 April 2021

This article or section is a stub (i.e., in need of additional material).
You can help us by expanding it


ALT Linux

Includes quite a few packages within Sisyphus the unstable development repository as of April 2014 with most of them being maintained in stable t7/branch as well; there's no metapackage so far, so

apt-get install gnustep-base

and start deploying apps you'd like to see:

apt-get install gnustep-gworkspace gnustep-Affiche

There's an installable LiveCD as well.

Arch Linux / Manjaro

Offical packages

For make and base there are official Packages.

User package sources (build yourself)

For all the other libraries and apps there are packaging sources at the AUR.

Debian / Ubuntu

Debian

Since Debian Sarge (3.1) you can use apt-get to obtain GNUstep packages.

# apt-get install wmaker gnustep gnustep-devel gnustep-games

to install GNUstep, X11 and Window Maker.

The best way to get up-to-date GNUstep packages is to upgrade from stable to testing or unstable. If upgrading to Debian unstable is not desirable it is possible to simply add the unstable apt lines to the sources.list and specify the distribution when installing the packages, e.g.

# apt-get install -t unstable gnumail.app

This method might upgrade some other packages to satisfy dependencies, but will have a much smaller impact on the system since only the packages on which GNUstep depends will be upgraded.

Ubuntu

As Ubuntu is Debian-based you can likewise install gnustep libraries (and their dependencies) via

sudo apt-get install gnustep gnustep-devel

apt will also suggest a lot of apps to install.

Install from source

See GNUstep_under_Ubuntu_Linux for detailed instructions for Ubuntu and Debian. At the repository mentioned there you will see efforts to collect scripts that are able to build a working GNUstep runtime under different GNU/Linux distributions (Ubuntu and Debian currently).

There is also a comprehensive guide on how to build GNUstep from scratch at Building GNUstep under Debian and FreeBSD using runtime 2.0 with clang and support for blocks, Grand Central Dispatch and ARC.

There are some general, but somewhat outdated instructions using the old SVN at GNUstep_SVN_installation_guide.

Dependencies for building with gcc

If you want to compile from source install the following Dependencies packages (applies to both Debian and Ubuntu):

gobjc, libx11-dev, libx11-xft, libxmu-dev, libtiff4-dev, libpng12-dev, libungif4-dev, libart-2.0-dev, libxml2-dev, libxslt1-dev, libssl-dev, libgmp3-dev, libffcall1-dev, libcairo2-dev (universe), and svn if you want to download the svn version.

Optional: libaspell-dev for GSspell.service

Fedora

This section needs updating. Fedora 14 users can install GNUstep via rpm. See the Features page.

Gentoo

To install GNUstep libs and scripts, do

emerge gnustep-env

For a list of GNUstep-related ebuilds, see the Online Package Database. For the most recent packages, type ACCEPT_KEYWORDS="~x86" emerge package-name (or analogically for your cpu family: "~sparc", "~ppc" ...)

Slackware

Version 10.2

Libraries and accompanying applications will build with no modifications. Slackware 10.2 ships with GCC 3.3.6, so mixed Objective-C and C++ code is not supported, meaning additional frameworks/libraries may not be supported.

Version 11.0

This version of Slackware works the same as the previous (10.2). Libraries and applications will build with no modifications, but due to the GCC version used (3.4.6) Objective-C++ is not supported.

Version 12.0

GNUstep compiles and install on Slackware 12.0 perfectly. Unfortunately, this version of Slackware does not include an Objective-C++ compiler.

Version 12.2

Packages

Slackware packages have been created and can be found in:

  • GNUstep FTP (Please read gnustep-core.README before installing)

Build Scripts

SlackBuild scripts can be found at:

OpenSuse

Packages for GNUstep releases can be found on the Open Build Service (OBS).