Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93282280
install.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 27, 14:37
Size
8 KB
Mime Type
text/html
Expires
Fri, Nov 29, 14:37 (2 d)
Engine
blob
Format
Raw Data
Handle
22600720
Attached To
rLAMMPS lammps
install.html
View Options
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Configuring the LAMMPS-ICMS Repository</title>
<link rel="shortcut icon" href="ICMS_icon.png" type="image/png">
</head>
<body style="font-family: Helvetica,Arial,Verdana, sans-serif; margin-bottom: 2%; margin-top: 2%; margin-left: 5%; margin-right: 5%;">
<div style="display: inline; margin-left: 10px; margin-bottom: 5px; border: 5px; border-style: groove; float: right;">
<img src="lammpsrpmlogo.png" border="0" style="" width="150" height="90">
</div>
<h1>Configuring the LAMMPS-ICMS Snapshot Repository</h1>
<h2>Semi-automatic Setup from the Web Browser using PackageKit</h2>
<p align="justify">
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.</p>
<div style="display: inline; margin-left: 10px; border: 5px; border-style: groove; float: right;">
<a imageanchor="1" href="package-kit-centos.jpg" style=""><img src="package-kit-centos.jpg" border="0" style="" width="227" height="229"></a>
</div>
<ul>
<li>
<div style="background-color: #e8e8f0; padding: 10px; margin-bottom: 5px;">
Enabling the repository for
<a href="http://git.icms.temple.edu/rpm/fedora/lammps-fedora-repo-1-2.noarch.rpm">
Fedora 17 and later</a><br>
</div>
</li>
<li>
<div style="background-color: #e8e8f0; padding: 10px; margin-top: 5px;">
Enabling the repository for
<a href="http://git.icms.temple.edu/rpm/centos/lammps-centos-rhel-repo-1-2.noarch.rpm">
CentOS or RedHat Enterprise Linux 6.4 and later</a><br>
</div>
</li>
</ul>
<p align="justify">
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:</p>
<div style="background-color: #e8e8f0; padding: 10px;">
<code>
gpk-install-local-file $PWD/lammps-centos-rhel-repo-1-2.noarch.rpm
</code><br>
</div>
<p align="justify">This will launch the PackageKit Installer GUI and
you can complete the installation of the repository by following the
instructions in the dialog windows.</p>
<hr width="100%">
<h2>Command Line Setup for Fedora, CentOS/RHEL with Yum</h2>
<p align="justify">
To enable the repository from the command line, please enter a
suitable command line from below.
</p>
<ul>
<li>Enabling the repository for Fedora 18 and later:<br>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'yum localinstall --nogpgcheck http://git.icms.temple.edu/rpm/fedora/lammps-fedora-repo-1-2.noarch.rpm'
</code><br>
</div>
</li>
<li>Enabling the repository for CentOS or RedHat Enterprise Linux 6.6 and later:<br>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'yum localinstall --nogpgcheck http://git.icms.temple.edu/rpm/centos/lammps-centos-rhel-repo-1-2.noarch.rpm'
</code>
</div>
</li>
</ul>
<hr width="100%">
<h2>Command Line Setup on openSuSE with Zypper</h2>
<p align="justify">
To enable the repository from the command line, please enter a
suitable command line from below.
</p>
<ul>
<li>Enabling the repository on openSuSE 12.3 for 32-bit x86:<br>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'zypper ar -t rpm-md -G -f -c http://git.icms.temple.edu/rpm/suse/12.3/i586 lammps-icms'
</code><br>
</div>
<li>Enabling the repository on openSuSE 12.3 for 64-bit x86:<br>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'zypper ar -t rpm-md -G -f -c http://git.icms.temple.edu/rpm/suse/12.3/x86_64 lammps-icms'
</code><br>
</div>
</li>
<li>Enabling the repository on openSuSE 13.1 for 32-bit x86:<br>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'zypper ar -t rpm-md -G -f -c http://git.icms.temple.edu/rpm/suse/13.1/i586 lammps-icms'
</code><br>
</div>
<li>Enabling the repository on openSuSE 13.1 for 64-bit x86:<br>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'zypper ar -t rpm-md -G -f -c http://git.icms.temple.edu/rpm/suse/13.1/x86_64 lammps-icms'
</code><br>
</div>
</li>
</ul>
<hr width="100%">
<div style="display: inline; margin-left: 10px; border: 5px; border-style: groove; float: right;">
<a imageanchor="1" href="rpm-package-update.jpg" style=""><img src="rpm-package-update.jpg" border="0" style="" width="236" height="209"></a>
</div>
<h2>Installing and Updating LAMMPS versions</h2>
<p align="justify">
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.
</p>
<h2>Uninstalling or Deactivating the Yum Repository with PackageKit</h2>
<p align="justify">
To suspend the yum repository, simply launch the <e>Add/Remove
Software</e> application in the <e>Administration</e> menu. This
will launch the PackageKit application GUI and under the menu item
<e>System > Software Sources</e> you can select or deselect
the entry for the LAMMPS repository.
</p>
<p align="justify">
To uninstall simply simply uncheck the <e>LAMMPS-ICMS Repository</e>
package and click on <b>Apply</b>. This will remove the repository
information, but not the LAMMPS binaries. Those would need to be
uninstalled from the GUI in the same way.
</p>
<hr width="100%">
<h2>Manually Uninstalling or Deactivating the Repository with Yum</h2>
<p align="justify">
To uninstall the yum repository, simply uninstall the repository
package <b><code>lammps-(your distribution)-repo</code></b> that
you installed with the instructions above. This will <b>not</b>
remove any installed LAMMPS packages. To get rid of them, you have
to explicitly uninstall them through the package manager software
as well.
</p>
<p align="justify">
To suspend getting (automatic) updates, you can
edit the file <b><code>/etc/yum.repos.d/lammps-*.repo</code></b>
and change the <b><code>enabled = 1</code></b> entries to
<b><code>enabled = 0</code></b>. If you want to re-enable the
repository, simply reverse the procedure.
</p>
<hr width="100%">
<h2>Uninstalling or Deactivating the Repository with Zypper</h2>
<div>
To temporarily deactivate the openSuSE repository, simply run the command:
<br>
</div>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'zypper mr -d lammps-icms'
</code><br>
</div>
<div>
To reactivate the deactivated the openSuSE repository, simply run the command:
<br>
</div>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'zypper mr -e lammps-icms'
</code><br>
</div>
<div>
To completely uninstall the openSuSE repository, simply run the command:
</div>
<div style="background-color: #e8e8f0; padding: 5px; margin: 5px;">
<code>
su -c 'zypper rr lammps-icms'
</code><br>
</div>
<hr>
<p>
Back to <a href="index.html">LAMMPS-ICMS RPM Repository Home Page</a>.
</p>
<hr>
<address><a href="http://goo.gl/1wk0" target="_blank">Axel Kohlmeyer</a></address>
<!-- Created: Fri Jun 14 08:59:35 CEST 2013 -->
<!-- hhmts start -->
Last modified: Mon Jan 12 17:13:45 EST 2015
<!-- hhmts end -->
</body>
</html>
Event Timeline
Log In to Comment