Skip to content

Instantly share code, notes, and snippets.

@andersevenrud
Created December 10, 2016 18:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andersevenrud/a09a3aef6066d609a18103d721d0b139 to your computer and use it in GitHub Desktop.
Save andersevenrud/a09a3aef6066d609a18103d721d0b139 to your computer and use it in GitHub Desktop.
OS.js on X11

Install OS.js as a Linux Distribution

Disclaimer This is experimental, and is not intended for usage when developing/testing OS.js. If that is what you're looking for, do a "normal" installation.

THIS HAS NOT BEEN UPDATED TO BE COMPATIBLE WITH THE NOVEMBER 2016 UPDATE -- STAY TUNED FOR MORE UPDATES

Building your own

OS.js can run as a X11 Desktop.

This was tested using ubuntu-14.04.3-server-amd64.iso

#
# Install dependencies
#

$ sudo apt-get install nodejs nodejs-legacy npm virtualbox-guest-x11
$ sudo apt-get install xorg xauth xcursor-themes consolekit dbus dbus-x11 libwebkitgtk-3.0 libwebkitgtk-3.0-dev libwebkitgtk-dev 
$ sudo apt-get install alsa-utils pulseaudio pulseaudio-module-x11 gstreamer0.10-alsa gstreamer0.10-pulseaudio gstreamer0.10-plugins-good gstreamer0.10-plugins-base
$ sudo apt-get install build-essential libpam0g-dev libgtk-3-dev

#
# Make image
#

$ git clone https://github.com/os-js/OS.js.git
$ cd OS.js
$ ./bin/build-deb.sh osjs 2.0.0-0001

#
# Install
#

$ sudo dpkg -i <IMAGE NAME>.deb
$ sudo update-rc.d -f osjs-server defaults 98
$ sudo update-rc.d -f osjs-client defaults 99

OS.js will now start every time you reboot

Prebuilt packages

You can also get ready builds from http://builds.os.js.org/debian/.

Please note that these might be outdated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment