Application Management

From GhostBSD Wiki
Revision as of 13:57, 4 February 2020 by Slughorn (Talk | contribs) (Using other Ways)

Jump to: navigation, search
Application Management
pkg Software Station Update Station Ports Applications
Back to the Icon Disti GhostBSD.pngWiki


Introduction

Most people do not actually use an operating system. They use applications. GhostBSD is designed to provide a desktop and full-featured environment for applications.

"GhostBSD is based on TrueOS with FreeBSD 12 STABLE"
"When FreeBSD 13 STABLE gets released, GhostBSD will be upgraded to TrueOS with FreeBSD 13 STABLE."ericbsd

Function

GhostBSD supports a wide variety of web browsers, office suites, email readers, graphics programs, programming environments, network servers, and just about everything else you might want.

Ways to get applications

There are different ways to get applications. A small part is preinstalled.
Ghost-/FreeBSD provides two complementary technologies for installing third-party software: the FreeBSD Ports Collection, for installing from source, and packages, for installing from prebuilt binaries. Either method may be used to install software from local media or from the network.

There are a lot of prebuilt packages. You can choose out of more than 30.000 packages.
Some people like to use the command line and others a graphical interface.

Preinstalled Applications

GhostBSD comes with a lot of preinstalled applications, for example:

  • Libreoffice
  • Firefox
  • Thunderbird
  • Caja
  • Brasero
  • Rhythmbox
  • VLC Mediaplayer
  • MATE Terminal
  • Pluma

How to find Applications

On GhostBSD are different ways to find an application:

Manage prebuilt Packages

Using the command line

If you know the package name, open a terminal, change with su and password to user root and use the new generation of pkg.

pkg is already installed on GhostBSD.

There is no package named pkgng in the GhostBSD repository. See the differences between pkg and pkgng.

Also there is no such file like /etc/make.conf to ensure, that the new version of pkg has to be used. Therefore the page Using pkgng Package Management is partially obsolete.

Using GUI

  • In the same way you can get updates, use Update Station. It is also already installed.
  • OctoPkg an older version of a graphical front-end for the pkg package manager. It is also in the GhostBSD repository, but is no longer standard.

Repositories

The pkg mirrors are located in:

For upgrading your system chose the nearest mirror to your location.

To change the mirror go to the file /usr/local/etc/pkg/repos/GhostBSD.conf and change the URL.

Using Ports

Most of these applications can be built using the GhostBSD Ports Collection.


Attention: There are a lot of suggestions on the web, not to mix ports and packages. Look this post on FreeBSD Forum.

ShelLuser stated in addition [1]: But you need to understand 2 things: Binary packages aren't being maintained by the FreeBSD foundation but individual enthusiasts, who will obviously make sure that those packages support the latest supported version. They come with pre-determined settings which sometimes (most often for me) may not reflect your ideas of a working package. The solution is simple: the ports collection. THAT is the thing which makes those people rant about FreeBSD's flexibility & consistency because you're in control with the ports collection.

There is an explanation why not to mix ports and packages:from Shelluser

It is something to consider.

Using other Ways

The typical steps for installing third-party software on a UNIX® system include:

  • Find and download the software, which might be distributed in source code format or as a binary.
  • Unpack the software from its distribution format. This is typically a tarball compressed with a program such as compress(1), gzip(1), bzip2(1) or xz(1).
  • Locate the documentation in INSTALL, README or some file in a doc/ subdirectory and read up on how to install the software.
  • If the software was distributed in source format, compile it. This may involve editing a Makefile or running a configure script.
  • Test and install the software.

A FreeBSD/GhostBSD ports are collections of files designed to automate the process of compiling an application from source code. The files that comprise a port contain all the necessary information to automatically download, extract, patch, compile, and install the application.

If the software has not already been adapted and tested on FreeBSD, the source code might need editing in order for it to install and run properly.


See source: FreeBSD Handbook and learn more.

Back to the Icon Disti GhostBSD.pngWiki