Установка Maculay 2

PyCharm недоступен из официальных репозиториев Ubuntu, вы должны получить его из стороннего PPA. Поэтому, прежде чем просить apt-get установить пакет, вы должны сначала сообщить ему о правильном PPA. Запустите в терминале следующее:

sudo add-apt-repository ppa:mystic-mirage/pycharm
sudo apt-get update

Затем вы можете установить PyCharm:

sudo apt-get install pycharm
4
задан 14 May 2017 в 08:40

6 ответов

Поскольку я уже установил этот пакет, я запустил эту команду:

apt show macaulay2

И его вывод:

Package: macaulay2 Version: 1.9.2 Status: install ok installed Priority: extra Section: math Maintainer: Daniel R. Grayson <dan@math.uiuc.edu> Installed-Size: 65.2 MB Depends: macaulay2-common (= 1.9.2), libblas3, libc6, libgc1c2, libgcc1, libgdbm3, liblapack3, libmpfr4, libreadline7, libxml2 Download-Size: unknown APT-Manual-Installed: yes APT-Sources: /var/lib/dpkg/status Description: a software system for algebraic geometry research Macaulay 2 is a software system for algebraic geometry research, written by Daniel R. Grayson and Michael E. Stillman. Based on Groebner bases, it provides algorithms for computing homological invariants of rings and modules. . Home page: http://www.math.uiuc.edu/Macaulay2/. . This package contains the architecture dependent portion of Macaulay2.

Как вы видите, пакеты macaulay2-common (= 1.9.2), libblas3, libc6, libgc1c2, libgcc1, libgdbm3, liblapack3, libmpfr4, libreadline7, libxml2 требуются к macaulay2 был установлен успешно.

Поэтому вам нужно установить библиотеки зависимостей, а также перед установкой macaulay2:

sudo apt update sudo apt install libblas3 libc6 libgc1c2 libgcc1 libgdbm3 liblapack3 libmpfr4 libreadline6 libxml2

Затем вам нужно загрузить macaulay2 и macaulay2-common со своего официального сайта.

Итак, установите macaulay2-common раньше, а затем попытайтесь установить macaulay2:

sudo dpkg -i Macaulay2-1.9.2-common.deb sudo dpkg -i Macaulay2-1.9.2-amd64-Linux-Ubuntu-16.04.deb

И для теста вы можете ввести M2 в вашей оболочке, а затем введите 2+2

M2 Macaulay2, version 1.9.2 with packages: ConwayPolynomials, Elimination, IntegralClosure, LLLBases, PrimaryDecomposition, ReesAlgebra, TangentCone i1 : 2+2 o1 = 4
4
ответ дан 18 July 2018 в 13:19

Если вы дважды щелкните файл, он должен открыть Ubuntu Software Center, чтобы установить файл deb. Если это не сработает, вы можете открыть терминал и ввести sudo dpkg -i /path/to/deb/file.deb (заменить / путь / в / deb / файл с указанием пути к файлу deb) и нажать «Ввод», а затем ввести тип (или вставить) sudo apt-get install -f. [ ! d0]

0
ответ дан 18 July 2018 в 13:19
Install packages with: sudo apt-get install -y -q autoconf bison emacs flex g++ gcc gfortran libc6-dev libcdd-dev libatomic-ops-dev libgc-dev libgdbm-dev libglpk-dev liblapack-dev libmpfr-dev libncurses-dev libncurses5-dev libntl-dev libpari-dev libreadline-dev libxml2-dev liblzma-dev libz-dev make openssh-server patch subversion time unzip xbase-clients zlib1g-dev libtool pkg-config libmpc-dev # note: libz-dev seems to have been replaced by zlib1g-dev # note: libncurses-dev seems to have been replaced by libncurses5-dev # note: libreadline-gplv2-dev is an older GPL v2 version of libreadline On all systems, add FC=gfortran to the environment or to the "configure" command line below. (The program "make" has a default value of "f77" for "FC", the Fortran compiler, but "f77" isn't available.) On a 32-bit system, add --with-mpir-config-options="ABI=32 --build=i686-pc-linux-gnu" to the "configure" command line below. (The --build option is necessary only to enable distribution of the resulting binaries to users of other hardware.) On Ubuntu 14.10 and later, add --enable-build-libraries="pari givaro fflas_ffpack" to the "configure" command line below. (The version of pari possibly installed there will crash when M2 exits. The version of givaro that might be installed by Ubuntu might be too recent for us.) On all systems, add CPPFLAGS=-I/usr/include/cdd to the "configure" command line below. Otherwise the configure script will decide to build cddlib from downloaded sources. (To upgrade to a new release of Ubuntu, run "update-manager" if you want a GUI, or run "do-release-upgrade" for a command line interface.)

из

1
ответ дан 18 July 2018 в 13:19

Поскольку я уже установил этот пакет, я запустил эту команду:

apt show macaulay2

И его вывод:

Package: macaulay2 Version: 1.9.2 Status: install ok installed Priority: extra Section: math Maintainer: Daniel R. Grayson <dan@math.uiuc.edu> Installed-Size: 65.2 MB Depends: macaulay2-common (= 1.9.2), libblas3, libc6, libgc1c2, libgcc1, libgdbm3, liblapack3, libmpfr4, libreadline7, libxml2 Download-Size: unknown APT-Manual-Installed: yes APT-Sources: /var/lib/dpkg/status Description: a software system for algebraic geometry research Macaulay 2 is a software system for algebraic geometry research, written by Daniel R. Grayson and Michael E. Stillman. Based on Groebner bases, it provides algorithms for computing homological invariants of rings and modules. . Home page: http://www.math.uiuc.edu/Macaulay2/. . This package contains the architecture dependent portion of Macaulay2.

Как вы видите, пакеты macaulay2-common (= 1.9.2), libblas3, libc6, libgc1c2, libgcc1, libgdbm3, liblapack3, libmpfr4, libreadline7, libxml2 требуются к macaulay2 был установлен успешно.

Поэтому вам нужно установить библиотеки зависимостей, а также перед установкой macaulay2:

sudo apt update sudo apt install libblas3 libc6 libgc1c2 libgcc1 libgdbm3 liblapack3 libmpfr4 libreadline6 libxml2

Затем вам нужно загрузить macaulay2 и macaulay2-common со своего официального сайта.

Итак, установите macaulay2-common раньше, а затем попытайтесь установить macaulay2:

sudo dpkg -i Macaulay2-1.9.2-common.deb sudo dpkg -i Macaulay2-1.9.2-amd64-Linux-Ubuntu-16.04.deb

И для теста вы можете ввести M2 в вашей оболочке, а затем введите 2+2

M2 Macaulay2, version 1.9.2 with packages: ConwayPolynomials, Elimination, IntegralClosure, LLLBases, PrimaryDecomposition, ReesAlgebra, TangentCone i1 : 2+2 o1 = 4
4
ответ дан 24 July 2018 в 20:09

Если вы дважды щелкните файл, он должен открыть Ubuntu Software Center, чтобы установить файл deb. Если это не сработает, вы можете открыть терминал и ввести sudo dpkg -i /path/to/deb/file.deb (заменить / путь / в / deb / файл с указанием пути к файлу deb) и нажать «Ввод», а затем ввести тип (или вставить) sudo apt-get install -f. [ ! d0]

0
ответ дан 24 July 2018 в 20:09
Install packages with: sudo apt-get install -y -q autoconf bison emacs flex g++ gcc gfortran libc6-dev libcdd-dev libatomic-ops-dev libgc-dev libgdbm-dev libglpk-dev liblapack-dev libmpfr-dev libncurses-dev libncurses5-dev libntl-dev libpari-dev libreadline-dev libxml2-dev liblzma-dev libz-dev make openssh-server patch subversion time unzip xbase-clients zlib1g-dev libtool pkg-config libmpc-dev # note: libz-dev seems to have been replaced by zlib1g-dev # note: libncurses-dev seems to have been replaced by libncurses5-dev # note: libreadline-gplv2-dev is an older GPL v2 version of libreadline On all systems, add FC=gfortran to the environment or to the "configure" command line below. (The program "make" has a default value of "f77" for "FC", the Fortran compiler, but "f77" isn't available.) On a 32-bit system, add --with-mpir-config-options="ABI=32 --build=i686-pc-linux-gnu" to the "configure" command line below. (The --build option is necessary only to enable distribution of the resulting binaries to users of other hardware.) On Ubuntu 14.10 and later, add --enable-build-libraries="pari givaro fflas_ffpack" to the "configure" command line below. (The version of pari possibly installed there will crash when M2 exits. The version of givaro that might be installed by Ubuntu might be too recent for us.) On all systems, add CPPFLAGS=-I/usr/include/cdd to the "configure" command line below. Otherwise the configure script will decide to build cddlib from downloaded sources. (To upgrade to a new release of Ubuntu, run "update-manager" if you want a GUI, or run "do-release-upgrade" for a command line interface.)

из

1
ответ дан 24 July 2018 в 20:09

Другие вопросы по тегам:

Похожие вопросы: