OpenBoard-org / OpenBoard

OpenBoard is a cross-platform interactive whiteboard application intended for use in a classroom setting.
https://openboard.ch/
GNU General Public License v3.0
2.37k stars 426 forks source link

[SOLVED] Installing OpenBoard v1.5.4 on Ubuntu 18.04+ #292

Closed vitaminace33 closed 3 years ago

vitaminace33 commented 4 years ago

UPDATE: For Ubuntu 20.04+, OpenBoard v1.6.1 (or latter) is recommended.

OpenBoard v1.5.4 was released for Ubuntu 16.04 (Xenial Xerus) and some dependencies are no longer present on Ubuntu 18.04+, namely libavcodec-ffmpeg56. However, adding temporarily a couple of Xenial's repositories does the trick. Doing so shouldn't break your system since 18.04+ have up to date packages and those missing from Xenial have different naming (packages and files). This is however no warranty.

Tested on: 18.04 (Bionic Beaver), 19.10 (Eoan Ermine), 20.04 (Focal Fossa, ##issuecomment-636052149).

  1. Upgrade the system.
  2. Add Xenial repositories.
  3. Update the package database.
  4. Download and install OpenBoard v1.5.4.
  5. Fix broken dependencies.
  6. Remove Xenial repositories.
  7. Update the package database (just in case).
sudo apt update && sudo apt upgrade
echo -e "# Xenial repositories to satisfy OpenBoard v1.5.4 dependencies\n"\
"deb http://es.archive.ubuntu.com/ubuntu xenial main universe\n"\
"deb http://security.ubuntu.com/ubuntu xenial-security main universe"\
| sudo tee /etc/apt/sources.list.d/openboard-xenial.list
sudo apt update
wget https://github.com/OpenBoard-org/OpenBoard/releases/download/v1.5.4/openboard_ubuntu_16.04_1.5.4_amd64.deb
sudo dpkg -i openboard_ubuntu_16.04_1.5.4_amd64.deb
sudo apt --fix-broken install
sudo mv /etc/apt/sources.list.d/openboard-xenial.list{,.save}
sudo apt update
dinojr commented 4 years ago

Thanks, it's working fine with Ubuntu 19.10 too.

vitaminace33 commented 4 years ago

Thx for the heads-up.

maximilianduell commented 4 years ago

See also #293

nec0 commented 4 years ago

perfect, thx, SO Ubuntu 19.10

cpsyctc2 commented 4 years ago

Sadly, doesn't work for me on Ubuntu 18.04

`Preparing to unpack openboard_ubuntu_16.04_1.5.4_amd64.deb ... Unpacking openboard (1.5.4) over (1.5.4) ... dpkg: dependency problems prevent configuration of openboard: openboard depends on libavformat-ffmpeg56 (>= 7:2.8.15); however: Package libavformat-ffmpeg56 is not installed. openboard depends on libavcodec-ffmpeg56 (>= 7:2.8.15) | libavcodec-ffmpeg-extra56 (>= 7:2.8.15); however: Package libavcodec-ffmpeg56 is not installed. Package libavcodec-ffmpeg-extra56 is not installed. openboard depends on libswresample-ffmpeg1 (>= 7:2.8.15); however: Package libswresample-ffmpeg1 is not installed. openboard depends on libswscale-ffmpeg3 (>= 7:2.8.15); however: Package libswscale-ffmpeg3 is not installed. openboard depends on libavutil-ffmpeg54 (>= 7:2.8.15); however: Package libavutil-ffmpeg54 is not installed. openboard depends on onboard; however: Package onboard is not installed.

dpkg: error processing package openboard (--install): dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for mime-support (3.60ubuntu1) ... Errors were encountered while processing: openboard root@chris-Aether: Fri Apr 17 21:41:05 :/home/chris/Downloads

apt --fix-broken-install

E: Command line option --fix-broken-install is not understood in combination with the other options root@chris-Aether: Fri Apr 17 21:41:32 :/home/chris/Downloads

apt-get libavformat-ffmpeg56

E: Invalid operation libavformat-ffmpeg56 root@chris-Aether: Fri Apr 17 21:42:39 :/home/chris/Downloads

apt-get install libavformat-ffmpeg56

Reading package lists... Done Building dependency tree
Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies. libavformat-ffmpeg56 : Depends: libavcodec-ffmpeg56 (>= 7:2.7) but it is not going to be installed or libavcodec-ffmpeg-extra56 (>= 7:2.7) but it is not going to be installed Depends: libavutil-ffmpeg54 (>= 7:2.8) but it is not going to be installed Depends: libbluray1 (>= 1:0.2.2) but it is not going to be installed openboard : Depends: libavcodec-ffmpeg56 (>= 7:2.8.15) but it is not going to be installed or libavcodec-ffmpeg-extra56 (>= 7:2.8.15) but it is not going to be installed Depends: libswresample-ffmpeg1 (>= 7:2.8.15) but it is not going to be installed Depends: libswscale-ffmpeg3 (>= 7:2.8.15) but it is not going to be installed Depends: libavutil-ffmpeg54 (>= 7:2.8.15) but it is not going to be installed Depends: onboard but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). `

At that point I gave up. Anyone got any further advice? TIA. Chris

vitaminace33 commented 4 years ago

You have a typo, a dash too many.

apt --fix-broken-install
apt --fix-broken install
apt install --fix-broken

The first line is what you are typing (wrong). The last two lines are the one you should be typing (correct). Let us know.

cpsyctc2 commented 4 years ago

Cedric M. Campos pointed out my mistake:

You have a typo, a dash too many.

apt --fix-broken-install apt --fix-broken install apt install --fix-broken

The first line is what you are typing (wrong). The last two lines are the one you should be typing (correct). Let us know.

It worked. I'm not sure that OpenBoard is interacting with my dual screens as I'd expect (which may mean that I don't understand enough about how OpenBoard should work. However it's clear that these instructions do install a working version of OpenBoard on Ubuntu 18.04 if you type accurately! Thanks Cedric.

cpsyctc2 commented 4 years ago

I'm an idiot! Thanks!

Chris

From: "Cédric M. Campos" notifications@github.com To: "OpenBoard-org/OpenBoard" OpenBoard@noreply.github.com Cc: "cpsyctc2" ce_github@psyctc.org, "Comment" comment@noreply.github.com Sent: Saturday, 18 April, 2020 01:14:39 Subject: Re: [OpenBoard-org/OpenBoard] [SOLVED] Installing OpenBoard v1.5.4 on Ubuntu 18.04+ (#292)

You have a typo, a dash too many. apt --fix-broken-install apt --fix-broken install apt install --fix-broken

The first line is what you are typing (wrong). The last two lines are the one you should be typing (correct). Let us know.

— You are receiving this because you commented. Reply to this email directly, [ https://github.com/OpenBoard-org/OpenBoard/issues/292#issuecomment-615502459 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ALUQBESHH4BFTG27BQQOJZLRNDPF7ANCNFSM4L4AGOCA | unsubscribe ] .

-- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/

Chris Evans chris@psyctc.org Visiting Professor, University of Sheffield chris.evans@sheffield.ac.uk I do some consultation work for the University of Roehampton chris.evans@roehampton.ac.uk and other places but chris@psyctc.org remains my main Email address. I have a work web site at: https://www.psyctc.org/psyctc/ and a site I manage for CORE and CORE system trust at: http://www.coresystemtrust.org.uk/ I have "semigrated" to France, see: https://www.psyctc.org/pelerinage2016/semigrating-to-france/ That page will also take you to my blog which started with earlier joys in France and Spain!

If you want to book to talk, I am trying to keep that to Thursdays and my diary is at: https://www.psyctc.org/pelerinage2016/ceworkdiary/ Beware: French time, generally an hour ahead of UK.

danlessa commented 4 years ago

I confirm that it is working on Ubuntu 20.04

VishalVaddina commented 4 years ago

Hey, Thanks for the info. Unfortunately, it doesn't work for me. [Ubuntu 18.04.5 LTS]

sudo dpkg -i openboard_ubuntu_16.04_1.5.4_amd64.deb

When I run this command, I face these following errors -

Preparing to unpack openboard_ubuntu_16.04_1.5.4_amd64.deb ...
Unpacking openboard (1.5.4) over (1.5.4) ...
dpkg: dependency problems prevent configuration of openboard:
 openboard depends on libavformat-ffmpeg56 (>= 7:2.8.15); however:
  Package libavformat-ffmpeg56 is not installed.
 openboard depends on libavcodec-ffmpeg56 (>= 7:2.8.15) | libavcodec-ffmpeg-extra56 (>= 7:2.8.15); however:
  Package libavcodec-ffmpeg56 is not installed.
  Package libavcodec-ffmpeg-extra56 is not installed.
 openboard depends on libswresample-ffmpeg1 (>= 7:2.8.15); however:
  Package libswresample-ffmpeg1 is not installed.
 openboard depends on libswscale-ffmpeg3 (>= 7:2.8.15); however:
  Package libswscale-ffmpeg3 is not installed.
 openboard depends on libavutil-ffmpeg54 (>= 7:2.8.15); however:
  Package libavutil-ffmpeg54 is not installed.
 openboard depends on onboard; however:
  Package onboard is not installed.

dpkg: error processing package openboard (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 openboard

sudo apt --fix-broken install

Running this command thereafter, actually is removing the Openboard.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  bucklespring-data gconf-service gconf-service-backend gconf2 gconf2-common libalure1 libappindicator1 libdumb1 libgconf-2-4 libindicator7 libllvm8 libllvm9 linux-headers-4.15.0-111
  linux-headers-4.15.0-111-generic linux-image-4.15.0-111-generic linux-modules-4.15.0-111-generic linux-modules-extra-4.15.0-111-generic python-crcmod
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  openboard
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 68.7 MB disk space will be freed.
Do you want to continue? [Y/n]

If I continue, it removes the Openboard and nothing happens. Openboard is not installed. If I enter n, it gets Aborted. Either way, still can't install Openboard for Ubuntu 18.04.

Please advice. Thanks.

[EDIT] - Referred to #231 for Ubuntu 18.04 installation. Seems to work for now.

vitaminace33 commented 4 years ago

Did you follow all the steps?

VishalVaddina commented 4 years ago

Yes. Every step as provided. But unfortunately, I received the same error everytime.

kaamui commented 4 years ago

If you want to try 1.6.0 (event if still in alpha considering Windows and Mac environmments, the linux version is pretty much stable) just follow the instructions here :

https://github.com/OpenBoard-org/OpenBoard/wiki/Build-OpenBoard-on-Ubuntu-20.04

If you need to stay on 1.5.4, just modify the deb file to make it match the ffmpeg packages available in your distribution, like explained here :

https://github.com/OpenBoard-org/OpenBoard/issues/231#issuecomment-530009353

vitaminace33 commented 4 years ago

@VishalVaddina, try to install dependencies after updating the package database and prior to installing openboard like so

[...]
sudo apt update
sudo apt install libavformat-ffmpeg56 libavcodec-ffmpeg56 libavcodec-ffmpeg-extra56 \
                 libswresample-ffmpeg1 libswscale-ffmpeg3 libavutil-ffmpeg54 onboard
wget [...]
VishalVaddina commented 4 years ago

@vitaminace33 and @kaamui Thank you so much for your help and guidance.

But as mentioned in my initial comment, I was using Ubuntu-18.04 and referred to #231 to install OpenBoard successfully. I've been using it the last few days, everything seem to be running smoothly. So I'm sticking to it now. Thanks

umoreles commented 3 years ago

sudo mv /etc/apt/sources.list.d/openboard-xenial.list{,.save} mv: cannot stat '/etc/apt/sources.list.d/openboard-xenial.list': No such file or directory

I have the error above in the last step of the installation

vitaminace33 commented 3 years ago

You are not on Ubuntu 18.04 (codename Xenial Xerus) and the command should be adapted accordingly.

Better take a look into #288 and/or consider installing the latest release.

aliwaqas333 commented 3 years ago
sudo apt update

Thanks this worked on ubuntu 20.04