Support Apnea Board & OSCAR  

Difference between revisions of "OSCAR Installation: Linux"

From Apnea Board Wiki
Jump to: navigation, search

(Added Arch)
m (Linux version)
Line 6: Line 6:
  
 
==Linux version==
 
==Linux version==
 +
===Folder structure===
 +
The folder structure is supposed to suit the FHS (Filesystem Hierarchy Standard)
 +
 +
* /usr/bin/OSCAR (executable)
 +
* /usr/share/OSCAR/ (Html & Translation files)
 +
* /usr/share/doc (miscellaneous files need for package )
 +
* /usr/share/icons (icon files in some subdirectory)
 +
* /usr/share/applications (.desktop file is the shortcut).
 +
 +
 
===Ubuntu and Debian===
 
===Ubuntu and Debian===
 
To install OSCAR on Ubuntu or Debian, download the appropriate file [https://www.sleepfiles.com/OSCAR/ from the official OSCAR web site] for your platform.  Then:
 
To install OSCAR on Ubuntu or Debian, download the appropriate file [https://www.sleepfiles.com/OSCAR/ from the official OSCAR web site] for your platform.  Then:

Revision as of 07:39, 13 April 2020

Full-48.png

Afrikaans / في الصفحة / български / 中国 / 臺灣 / čeština/ Dansk / Deutsch / Ελληνικά / Español / Filipino / Français / עברית / Magyar / Italiano / 日本語 / 한국어 / Nederlands / Norsk / Polskie / Português / Română / Pусский / Suomalainen / Svenska / ภาษาไทย / Türkçe
--> Do not use these buttons when you are on a translated page. Just close this tab to go back. <--



Back to OSCAR Installation

Linux version

Folder structure

The folder structure is supposed to suit the FHS (Filesystem Hierarchy Standard)

  • /usr/bin/OSCAR (executable)
  • /usr/share/OSCAR/ (Html & Translation files)
  • /usr/share/doc (miscellaneous files need for package )
  • /usr/share/icons (icon files in some subdirectory)
  • /usr/share/applications (.desktop file is the shortcut).


Ubuntu and Debian

To install OSCAR on Ubuntu or Debian, download the appropriate file from the official OSCAR web site for your platform. Then:

sudo dpkg -i [OSCAR package filename.deb]

Substitute the name of the package you downloaded. It is important to use sudo rather than install as root, so that the package will install the .desktop file in your account.

To remove OSCAR:

sudo dpkg -r oscar

Fedora, CentOS and Redhat

There is an unofficial repository with Fedora and CentOS/RHEL packages of OSCAR at Fedora Copr, maintained by a forum member.

To install in Fedora:

sudo dnf copr enable johanh/oscar
sudo dnf install oscar

To install in CentOS:

sudo yum install epel-release
sudo yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/johanh/oscar/repo/epel-7/johanh-oscar-epel-7.repo
sudo yum install oscar

To uninstall, use Gnome Software or on command line "sudo dnf erase oscar" (Fedora) or "sudo yum erase oscar" (CentOS/RHEL). For further details, visit the referenced Fedora Copr page.

Source package is taken directly from the OSCAR project and compiled and packaged for the different Linux distributions (for security and integrity, source rpm package can be compared and verified with original source package if necessary). If there are any problems with the installation, contact johanh on the apneaboard forum.

Arch Linux

There is an OSCAR package in the Arch Linux user repository or AUR.

If you are using yay, you can install the oscar package with the following command:

sudo yay oscar-git

Similarly, with yaourt:

sudo yaourt -S oscar-git

The OSCAR package in AUR is available here: https://aur.archlinux.org/packages/oscar-git/

If you want to manually install packages from AUR, read the following short blog post: https://arashmilani.com/post?id=85




Donate to Apnea Board