Skip to content

Latest commit

 

History

History
135 lines (87 loc) · 6.03 KB

README.md

File metadata and controls

135 lines (87 loc) · 6.03 KB

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.

./donya install php ; install php version 7.1
./donya i php ; install php version 7.1

./donya i php7.4 ; install php version 7.4
./donya i gcc ; install gcc

./donya s php ; search all package with php prefix
./donya search php ; search all package with php prefix

./donya r php ; remove php package
./donya remove php ; remove php package

./donya r php* ; remove all php prefix package

./donya i php* ; install all php prefix package

Compiling Donya Package Manager

$ go get github.com/DonyaOS/PackageManager
$ cd $(go env GOPATH)/src/github.com/DonyaOS/PackageManager
$ go build
$ ./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!