Difference between revisions of "Platform:Linux"

From GNUstepWiki
Jump to navigation Jump to search
(→‎Debian: Broken packages fixed for most architectures and rephrase part of the intructions.)
(→‎OpenSuse: Update)
(40 intermediate revisions by 9 users not shown)
Line 2: Line 2:
  
  
= Debian =
+
== ALT Linux ==
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
+
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 gnustep-base
 +
 
 +
and start deploying apps you'd like to see:
 +
 
 +
  apt-get install gnustep-gworkspace gnustep-Affiche
 +
 
 +
There's an installable [http://en.altlinux.org/Starterkits/gnustep LiveCD] as well.
 +
 
 +
== 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].
 +
 
 +
=== Prebuilt unstable packages for x86_64 ===
 +
 
 +
There is a repo with prebuilt, currently unstable packages using libobjc2 over there: [https://gnustep.app gnustep.app], [https://build.opensuse.org/project/show/home:letterus:gnustep-ngr list of packages]
 +
 
 +
Installing packages should be as easy as:
 +
 
 +
Add the following lines to your /etc/pacman.conf with <code>sudo nano /etc/pacman.conf</code>:
 +
 
 +
[home_letterus_gnustep-ngr_Arch]
 +
SigLevel = Optional TrustAll
 +
Server = https://download.opensuse.org/repositories/home:/letterus:/gnustep-ngr/Arch/$arch
 +
 
 +
Install the basic package groups:
 +
 
 +
sudo pacman -Syy gnustep-ngr gnustep-ngr-dev gnustep-ngr-desktop
 +
 
 +
If you use Manjaro it is possible you need to switch to the testing or unstable branch as that repo is built against Arch packages/dependencies. Currently you are ok with stable.
 +
 
 +
== 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.
 
to install GNUstep, X11 and Window Maker.
  
The best way to get up-to-date GNUstep packages is to upgrade from ''stable'' or ''testing'' to ''unstable'', as this is where the most recent packages will be available.  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.
+
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.
 
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.
  
=== PowerPC ===
+
=== Ubuntu ===
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:
+
As Ubuntu is Debian-based you can likewise install gnustep libraries (and their dependencies) via
deb http://www.linuks.mine.nu/debian/ ./
+
sudo apt-get install gnustep gnustep-devel
deb-src http://www.linuks.mine.nu/debian/ ./
+
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 FreeBSD|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]].
  
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 39: Line 93:
 
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]]

Revision as of 20:32, 22 February 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.

Prebuilt unstable packages for x86_64

There is a repo with prebuilt, currently unstable packages using libobjc2 over there: gnustep.app, list of packages

Installing packages should be as easy as:

Add the following lines to your /etc/pacman.conf with sudo nano /etc/pacman.conf:

[home_letterus_gnustep-ngr_Arch]
SigLevel = Optional TrustAll
Server = https://download.opensuse.org/repositories/home:/letterus:/gnustep-ngr/Arch/$arch

Install the basic package groups:

sudo pacman -Syy gnustep-ngr gnustep-ngr-dev gnustep-ngr-desktop

If you use Manjaro it is possible you need to switch to the testing or unstable branch as that repo is built against Arch packages/dependencies. Currently you are ok with stable.

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).