Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
Tools/epm
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Commands == ; build : Builds a new <PACKAGE>.epm file. Uses metadata provided by <PACKAGE>.epmi if provided by <code>--epm</code> flag. Uses first argument after the command as the .epm filename and remaining arguments as files that should be packaged in the EPM. E.g. <code>tools/epm build my_epm cfd.d/my_epm.pl plugins/EPrints/Screen/MyEPM.pm --epm /home/eprints/my_epm.epmi</code> ; disable : Disables an EPM in a particular repository archive. First argument is the archive ID and the second argument is the EPM to be disable. E.g. <code>tools/epm disable my_archive my_epm</code>. ; enable : Enables an EPM in a particular repository archive. First argument is the archive ID and the second argument is the EPM to be enable. E.g. <code>tools/epm enable my_archive my_epm</code> ; install : Instalsl EPM specified within a .epm file to the repository under lib/epm/ as well as appropriate locations within lib/. E.g. <code>tools/epm install /home/eprints/MyEPM.epm</code> ; link_lib : Take a source directory of an EPM in lib/epm/<PACKAGE> and symlink to it from the correct locations in lib/. Using <code>--force</code> flag replaces any files currently in those locations in lib/. E.g. <code>tools/epm link_lib my_epm</code> ; list : List the current EPM packages installed and their versions. E.g. <code>tools/epm list</code> ; rebuild : Rebuilds the .epm and .epmi files in lib/epm/<PACKAGE> based on the existing files non-epm files in that directory. E.g. <code>tools/epm rebuild my_epm</code> ; uninstall : Uninstalls specified EPM from repository including removing from lib/epm/, appropriate locations in lib/ and disabling configuration files within any archives using the EPM. Using <code>--force</code> flag ignores EPM being enabled in an archive and any checksum mismatches. E.g. <code>tools/epm uninstall my_epm</code> ; unlink_lib : Unlink files linked into lib/ from a source directory of an EPM in lib/epm/<PACKAGE>. I.e. reverses link_lib. Not available until EPrints 3.4.6+. Cannot be run even with <code>--force</code> if EPM is enabled in an archive. E.g. <code>tools/epm unlink_lib my_epm</code> ; unpack : Unpacks the files in a .epm file and writes them to the current directory. E.g. <code>tools/epm unpack /home/eprints/MyEPM.epm</code>
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)