项目作者: DonyaOS

项目描述 :
Donya Package Manager/System
高级语言: Go
项目地址: git://github.com/DonyaOS/PackageManager.git
创建时间: 2020-08-14T13:57:03Z
项目社区:https://github.com/DonyaOS/PackageManager

开源协议:MIT License

下载


Donya Package Manager

All Contributors

MIT License
GitHub Linter Workflow Status
IRC chat on freenode
Drone (cloud) with branch

Donya Package System

Donya Package System

Donya or d

We will set d as an alias of donya later.

  1. ./donya install php ; install php version 7.1
  2. ./donya i php ; install php version 7.1
  3. ./donya i php7.4 ; install php version 7.4
  4. ./donya i gcc ; install gcc
  5. ./donya s php ; search all package with php prefix
  6. ./donya search php ; search all package with php prefix
  7. ./donya r php ; remove php package
  8. ./donya remove php ; remove php package
  9. ./donya r php* ; remove all php prefix package
  10. ./donya i php* ; install all php prefix package

Compiling Donya Package Manager

  1. $ go get github.com/DonyaOS/PackageManager
  2. $ cd $(go env GOPATH)/src/github.com/DonyaOS/PackageManager
  3. $ go build
  4. $ ./PackageManager

Donya Package Manager Commands

install or i

search or s

remove or r

list or l

./donya list : List of all installed packages

./donya list all : List of all packages available in the repository


Contribution to Donya Package Manager

Please make sure to read the Contributing Guide before making a pull request. If you have a Donya-related project/feature/tool, add it with a pull request to this curated list!

Thank you to all the people who already contributed to DonyaOS!

License

MIT License

Install on debian chroot environment

  1. Create a simple chroot in Debian based distro
    Create Debian chroot

  2. Activate chroot environment

  3. Download and install Go inside chroot env

Official download link

extract downloaded package and place under /usr/local

tar -C /usr/local -xzvf go1.13.linux-amd64.tar.gz

Change name of package go1.13.linux-amd64.tar.gz as it changes version.

Once the file is extracted, edit the $PATH environment variable so that the system knows where the Go executable binaries are located. You can do this either by appending the following line to the /etc/profile file (for a system-wide installation) or to the $HOME/.profile file (for a current user installation):~/.profile

export PATH=$PATH:/usr/local/go/bin

Save the file, and apply the new PATH environment variable to the current shell session by typing:

source ~/.profile

To verify that Go has been successfully installed run the following command which will print the Go version:

go version

Original Resource

Contributors ✨

Thanks goes to these wonderful people (emoji key):











Max Base

💻

John Bampton

💻

Parham Alvani

💻

EEC

📖

Amir

💻

All Contributors

📖

This project follows the all-contributors specification. Contributions of any kind welcome!