Дано
- HW: 16GB RAM + 256GB SSD
- CentOS 7
- Lattice Diamond 3.8
Установка
Попытка номер 1:
1 2 3 4 5 6 7 8 9 | $ 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 |
Не тут-то было. Ок, устанавливаем зависимости:
1 2 | $ yum provides */libexpat.so $ yum provides */libgmp.so |
1 2 | $ sudo yum install -y expat-devel gmp-devel openssl-libs $ sudo yum install -y perl-XML-DOM perl-XML-RegExp |
Теперь опять пробуем ставить в /soft/Lattice:
1 2 3 4 | 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 |
Если случайно поставили без указания префикса, то удаляем установку командой:
1 | sudo rpm --erase diamond_3_8-base_x64.x86_64 |
Проверка списка установленных пакетов:
1 | $ yum list installed | grep -i _3_8 |
Настройка
…