This is a tool with which you can create and install some packages locally.
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.
Choose one from followings.
- Jump to Release page
- Download package
- Extract it wherever you wanna install
- Add the path of the directory where you installed it to PATH values(optional)
- Finally you can use plpm. Hooray!
- Clone this repo
git clone https://github.com/capra314cabra/plpm.git
- Run dotnet command on "plpmcui" directory
Do you know what is RID? See also Microsoft RID catalog
cd plpm/scripts/plpmcui dotnet publish --runtime <RID>
- You will see a binaries in bin directory
- After this, it is the same way to GitHub release section
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.
{
"Name": "TestPackage",
"Description": "Description...",
"ContentsFiles": [
"helloworld.txt",
"subfolder/capra.dll"
]
}
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
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.
Uninstalling a package is easy too. Move to where you wanna install package and type following command:
plpm uninstall [package name]
Only this.
We always welcomes you to join us.
This project is under MIT License.