Дано
- HW: 16GB RAM + 256GB SSD
- CentOS 7
- Lattice Diamond 3.8
Установка
Попытка номер 1:
$ sudo rpm -Uvh --prefix /soft/Lattice diamond_3_8-lm_x64-115-3-x86_64-linux.rpm error: Failed dependencies: libexpat.so.0 is needed by diamond_3_8-lm_x64-3.8-115.x86_64 libgmp.so.3 is needed by diamond_3_8-lm_x64-3.8-115.x86_64 libstdc++.so.5 is needed by diamond_3_8-lm_x64-3.8-115.x86_64 libstdc++.so.5(CXXABI_1.2) is needed by diamond_3_8-lm_x64-3.8-115.x86_64 libstdc++.so.5(GLIBCPP_3.2) is needed by diamond_3_8-lm_x64-3.8-115.x86_64 perl(XML::DOM) is needed by diamond_3_8-lm_x64-3.8-115.x86_64 perl(XML::RegExp) is needed by diamond_3_8-lm_x64-3.8-115.x86_64
Не тут-то было. Ок, устанавливаем зависимости:
$ yum provides */libexpat.so $ yum provides */libgmp.so
$ sudo yum install -y expat-devel gmp-devel openssl-libs $ sudo yum install -y perl-XML-DOM perl-XML-RegExp
Теперь опять пробуем ставить в /soft/Lattice:
sudo rpm -Uvh --prefix /soft/Lattice diamond_3_8-base_x64-115-3-x86_64-linux.rpm sudo rpm -Uvh --prefix /soft/Lattice powerestimator_3_8_x64-115-3-x86_64-linux.rpm sudo rpm -Uvh --prefix /soft/Lattice programmer_3_8_x64-115-3-x86_64-linux.rpm sudo rpm -Uvh --prefix /soft/Lattice reveal_3_8_x64-115-3-x86_64-linux.rpm
Если случайно поставили без указания префикса, то удаляем установку командой:
sudo rpm --erase diamond_3_8-base_x64.x86_64
Проверка списка установленных пакетов:
$ yum list installed | grep -i _3_8
Настройка
…