https://github.com/caphosra/plpm
Private Located Package Manager - This is a tool with which you can create and install some packages locally.
https://github.com/caphosra/plpm
local local-environment local-tool package-control package-management package-manager package-manager-tool plpm private-package-manager
Last synced: 19 days ago
JSON representation
Private Located Package Manager - This is a tool with which you can create and install some packages locally.
- Host: GitHub
- URL: https://github.com/caphosra/plpm
- Owner: caphosra
- License: mit
- Created: 2019-07-19T12:33:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:53:49.000Z (over 3 years ago)
- Last Synced: 2025-02-28T06:25:25.443Z (over 1 year ago)
- Topics: local, local-environment, local-tool, package-control, package-management, package-manager, package-manager-tool, plpm, private-package-manager
- Language: C#
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PLPM - *Private Located Package Manager*
[](https://dev.azure.com/capra314cabra/PrivateLocatedPackageManager/_build/latest?definitionId=4&branchName=master)
[](https://github.com/capra314cabra/plpm/releases)
[](https://raw.githubusercontent.com/capra314cabra/plpm/master/LICENSE)
This is a tool with which you can create and install some packages locally.
## Description
Do you have any experiences that you wanna test your library or install something temporary? On that time, you may have to put some libraries to the special directory such as "System32", "usr/lib". And you face to the problem - *"Are they detachable?"*
With this tool, you can create "package"(contains libraries) and share it only in your computer. The "package" shared can be installed whenever you want and it is easy to uninstall.
You wanna know more information? Watch [Usage](https://github.com/capra314cabra/plpm#usage).
## Installation
Choose one from followings.
### Use GitHub release (Recommended)
1. Jump to [Release page](https://github.com/capra314cabra/plpm/releases)
2. Download package
3. Extract it wherever you wanna install
4. Add the path of the directory where you installed it to PATH values(optional)
5. Finally you can use plpm. Hooray!
### Build from source code (Hard way)
1. Clone this repo
```
git clone https://github.com/capra314cabra/plpm.git
```
2. Run dotnet command on "plpmcui" directory
```
cd plpm/scripts/plpmcui
dotnet publish --runtime
```
Do you know what is RID?
See also [Microsoft RID catalog](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog)
3. You will see a binaries in bin directory
4. After this, it is the same way to GitHub release section
## Usage
### Create a package

When you wanna create a new package, you need to create a "PLPM Project File" first. It is easy to create.
The PLPM project file is a kind of JSON and it is formatted as following.
```JSON
{
"Name": "TestPackage",
"Description": "Description...",
"ContentsFiles": [
"helloworld.txt",
"subfolder/capra.dll"
]
}
```
:warning: **The child of "ContentsFiles" should be a RELATIVE path.**
:warning: **"PLPM Project File" should be named as "plpmproj.json".**
The PLPM project file works as a blueprint of a package.
Created one? Go to the next step!
Second, run a commmand in the directory plpmproj.json exists.
```
plpm create
```
This command ran successfully means PLPM created a package successfully!
If you're worried about it, you can check the list of packages by following command.
```
plpm search
```
### Install the package

Installing a package is easy.
Move to where you wanna install package and type following command:
```
plpm install [package name]
```
Only this.
After running this command, you will see "plpm.json". It contains the list of packages installed there.
### Uninstall the package

Uninstalling a package is easy too.
Move to where you wanna install package and type following command:
```
plpm uninstall [package name]
```
Only this.
## Contribution
We always welcomes you to join us.
## License
This project is under [MIT License](https://github.com/capra314cabra/plpm/blob/master/LICENSE).
## Authors
[capra314cabra](https://github.com/capra314cabra)