- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » OM installation on Ubantu
OM installation on Ubantu
OM installation on Ubantu
Hi all,
I got a problem when I try to install OM on a Linux platform. When I tryed the code
sudo apt-get install openmodelica
There is always errors Failed to fetch http://us.archive.ubuntu.com/ubuntu/poo … _amd64.deb Undetermined Error [IP: 91.189.91.26 80]
Then it will failed the next step when I run code sudo apt-get install omlib-.*
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
omlib-aixlib-0.7.3 : Depends: omlib-modelica-devicedrivers-1.5.0 but it is not installable
omlib-arduino-0.1.0 : Depends: omlib-modelica-devicedrivers-1.5.0 but it is not installable
E: Unable to correct problems, you have held broken packages.
Anyone can help me with that?
Thanks in advance
Re: OM installation on Ubantu
I have a similar problem (release 1.14) on Ubuntu 18.04:
Code:
The following packages have unmet dependencies:
omlib-modelicaads : Depends: omlib-aixlib-0.4.0 but it is not installable
However, a newer version of omlib-aixlib is available in the repository but omlib-modelicaads and omlib-arduino require older version that are not provide in the 'release' or 'stable' versions of OpenModelica
Re: OM installation on Ubantu
Here is a far better one :
Code:
sudo apt install -y aptitude
sudo apt install -y $(aptitude -F %p search '^omlib-* !aixlib !arduino !buildingcontrollib !emoth !modelica-linearsystems2 !planarmechanics !planarmechanicstest !realtimecoordinationlibrary' | tr '\n' ' ')
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » OM installation on Ubantu