Difference between revisions of "Platform:Linux"

From GNUstepWiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
There's an installable [http://en.altlinux.org/Starterkits/gnustep LiveCD] as well.
 
There's an installable [http://en.altlinux.org/Starterkits/gnustep LiveCD] as well.
  
== Archlinux ==
+
== Arch Linux / Manjaro ==
 +
 
 +
=== Offical packages ===
  
 
For make and base there are official [https://www.archlinux.org/packages/?q=GNUstep 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].
 
For all the other libraries and apps there are packaging sources at the [https://aur.archlinux.org/packages/?K=gnustep AUR].
 
There is a repo with prebuilt, currently unstable packages using libobjc2 over there: [https://gnustep.app gnustep.app]
 
  
 
== Debian / Ubuntu ==
 
== Debian / Ubuntu ==
Line 26: Line 28:
 
Since Debian ''Sarge'' (3.1) you can use '''apt-get''' to obtain GNUstep packages.
 
Since Debian ''Sarge'' (3.1) you can use '''apt-get''' to obtain GNUstep packages.
  
  # apt-get install x-window-system-core wmaker gnustep gnustep-devel gnustep-games
+
  # apt-get install wmaker gnustep gnustep-devel gnustep-games
  
 
to install GNUstep, X11 and Window Maker.
 
to install GNUstep, X11 and Window Maker.
Line 46: Line 48:
 
There are some general, but somewhat outdated instructions using the old SVN at [[GNUstep_SVN_installation_guide]].
 
There are some general, but somewhat outdated instructions using the old SVN at [[GNUstep_SVN_installation_guide]].
  
=== Dependencies ===
+
=== Dependencies for building with gcc ===
  
 
If you want to compile from source install the following [[Dependencies]] packages (applies to both Debian and Ubuntu):
 
If you want to compile from source install the following [[Dependencies]] packages (applies to both Debian and Ubuntu):
Line 85: Line 87:
  
 
== OpenSuse ==
 
== OpenSuse ==
Packages for GNUstep releases can be found on the Open Build Service ([https://build.opensuse.org/project/show?project=X11%3AGNUstep OBS]).
+
Packages for GNUstep releases can be found on the Open Build Service ([https://build.opensuse.org/project/show/X11:GNUstep OBS]).
 
 
=== Version 11.3 ===
 
The package of pixman that comes with OpenSuse 11.3 seems to be broken for some graphic drivers. You may either downgrade or upgrade to another version of pixman (plus cairo) or use a different GNUstep backend.
 
For me upgrading to the cairo version as provided by the GNOME Factory project on the OpenSuse Build Service worked perfectly. [http://software.opensuse.org/ymp/GNOME:Factory/openSUSE_11.3/libcairo2.ymp?base=openSUSE%3A11.3&query=cairo]
 
 
 
=== Version 11.4 ===
 
Packages provided by Richard Stonehouse [http://www.rstonehouse.co.uk/extras/gnustep-general/index.html here] (including installation instructions).
 
 
 
=== Version 12.1 ===
 
=== Version 12.2 ===
 
 
 
These versions require that you install a few dev packages (e.g. libffi dev, cairo dev, ...), then GNUstep SVN compiles out of the box.
 
  
  
 
[[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).