diff --git a/skills/5-linux/cli/18_pkg_manager/README.md b/skills/5-linux/cli/18_pkg_manager/README.md new file mode 100644 index 0000000..9068b38 --- /dev/null +++ b/skills/5-linux/cli/18_pkg_manager/README.md @@ -0,0 +1,31 @@ +# Pkg managers + +## Apt + +> `apt` + +- `sudo apt-get install ruby` +- `sudo remove php` + +### Ручное обновлениелокального индекса + +- `sudo apt-get update` + +## macOS + +> `brew` + +## Exmples + +- `Node.js` > `npm` +- `PHP` > `Composer` +- `Ruby` > `RubyGems` +- `Python` > `pip` + +## Hw + +- [x] `sudo apt-get install tree` +- [x] `man tree` + +- [x] `tree -d` Watch only `directories` + diff --git a/skills/5-linux/cli/18_pkg_manager/apt_man.sh b/skills/5-linux/cli/18_pkg_manager/apt_man.sh new file mode 100644 index 0000000..8a6ffd0 --- /dev/null +++ b/skills/5-linux/cli/18_pkg_manager/apt_man.sh @@ -0,0 +1,8 @@ + +# +man apt + +sleep 10 +#To find php-package +sudo apt search php + diff --git a/skills/5-linux/cli/18_pkg_manager/tree_install.sh b/skills/5-linux/cli/18_pkg_manager/tree_install.sh new file mode 100644 index 0000000..beffbec --- /dev/null +++ b/skills/5-linux/cli/18_pkg_manager/tree_install.sh @@ -0,0 +1,7 @@ +sudo apt-get install tree + +sleep 10 + +# Read the documentation of tools TREE +man tree +