Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » Clayton
  • » Profile

Posts

Posts

Apr-24-20 16:18:42
Installation of Open Modelica on Linux Debian 10

Before installing Open Modelica you need to install lsb-release.
You can find the lsb-release on: https://packages.debian.org/

link: https://packages.debian.org/buster/all/ … e/download

Mar-03-20 08:07:55
Installation of Open Modelica on Linux Debian 10

Hi there,

I have debian 10. I tried  to install open modelica with given description at below web page:

https://www.openmodelica.org/download/download-linux

But i didn't succeed.

I entered the terminal and write the commands:

$ for deb in deb deb-src; do echo "$deb http://build.openmodelica.org/apt `lsb_release -cs` stable"; done | sudo tee /etc/apt/sources.list.d/openmodelica.list
-bash: lsb_release: command not found
-bash: lsb_release: command not found
deb http://build.openmodelica.org/apt  stable
deb-src http://build.openmodelica.org/apt  stable

$  wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add -
OK

$ apt-key fingerprint
/etc/apt/trusted.gpg
--------------------
pub   rsa2048 2010-06-22 [SC]
      D229 AF1C E5AE D74E 5F59  DF30 3A59 B536 6497 0947
uid           [ unknown] OpenModelica Build System <build@openmodelica.org>
sub   rsa2048 2010-06-22 [E]

$ sudo apt update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmodelica.list (Component)
E: The list of sources could not be read.

$ sudo apt install openmodelica
E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmodelica.list (Component)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmodelica.list (Component)
E: The list of sources could not be read.

$ sudo apt install omlib-.*
E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmodelica.list (Component)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmodelica.list (Component)
E: The list of sources could not be read.

What is wrong? Is there any other command necessary to install and run open modelica? Can anyone help me with this installation please?

Thanks in advance,

  • Index
  • » Users
  • » Clayton
  • » Profile
You are here: