Configuring the LAMMPS-ICMS Snapshot Repository

Semi-automatic Setup from the Web Browser using PackageKit

Enabling the repository for Package Kit users (e.g. running a recent version of Fedora) is simply a matter of a few mouse clicks and entering a password. Please click on the link below that is suitable for your distribution and follow the instructions.

After clicking on the URL, your web browser should ask which application to run with this file and you need to select 'Package Installer'. If you are only offered to download the file, save the file and then open a terminal and go to the directory where you saved the rpm file and then run the command:

  gpk-install-local-file $PWD/lammps-centos-rhel-repo-1-2.noarch.rpm

This should launch the PackageKit Installer GUI and you can complete the installation of the repository by following the instructions in the dialog windows.


Command Line Setup for Fedora, CentOS/RHEL with Yum

To enable the repository from the command line, please enter a suitable command line from below.


Command Line Setup for Fedora 21 and later with dnf

To enable the repository from the command line, please enter a suitable command line from below.


Command Line Setup on openSuSE with Zypper

To enable the repository from the command line, please enter a suitable command line from below.


Installing and Updating LAMMPS versions

After the repository has been configured, you can use the package manager software to install or update the LAMMPS packages of your choice. You can only have packages belonging to the same daily build version installed at the same time. The regular update meachnism will notice when a new daily build is available.

Uninstalling or Deactivating the Yum Repository with PackageKit

To suspend the yum repository, simply launch the Add/Remove Software application in the Administration menu. This will launch the PackageKit application GUI and under the menu item System > Software Sources you can select or deselect the entry for the LAMMPS repository.

To uninstall simply simply uncheck the LAMMPS-ICMS Repository package and click on Apply. This will remove the repository information, but not the LAMMPS binaries. Those would need to be uninstalled from the GUI in the same way.


Manually Uninstalling or Deactivating the Repository with Yum

To uninstall the yum repository, simply uninstall the repository package lammps-(your distribution)-repo that you installed with the instructions above. This will not remove any installed LAMMPS packages. To get rid of them, you have to explicitly uninstall them through the package manager software as well.

To suspend getting (automatic) updates, you can edit the file /etc/yum.repos.d/lammps-*.repo and change the enabled = 1 entries to enabled = 0. If you want to re-enable the repository, simply reverse the procedure.


Manually Uninstalling or Deactivating the Repository with dnf

To uninstall the dnf repository, simply uninstall the repository package lammps-(your distribution)-repo that you installed with the instructions above. This will not remove any installed LAMMPS packages. To get rid of them, you have to explicitly uninstall them through the package manager software as well.

To suspend getting (automatic) updates, you can edit the file /etc/yum.repos.d/lammps-*.repo and change the enabled = 1 entries to enabled = 0. If you want to re-enable the repository, simply reverse the procedure.


Uninstalling or Deactivating the Repository with Zypper

To temporarily deactivate the openSuSE repository, simply run the command:
  su -c 'zypper mr -d lammps-icms'
To reactivate the deactivated the openSuSE repository, simply run the command:
  su -c 'zypper mr -e lammps-icms'
To completely uninstall the openSuSE repository, simply run the command:
  su -c 'zypper rr lammps-icms'

Back to LAMMPS-ICMS RPM Repository Home Page.


Axel Kohlmeyer
Last modified: Mon Jan 12 17:13:45 EST 2015