Donya Package System
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
$ go get github.com/DonyaOS/PackageManager
$ cd $(go env GOPATH)/src/github.com/DonyaOS/PackageManager
$ go build
$ ./PackageManager
./donya list
: List of all installed packages
./donya list all
: List of all packages available in the repository
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!
-
Create a simple chroot in Debian based distro Create Debian chroot
-
Activate chroot environment
-
Download and install Go inside chroot env
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
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!