This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
install_package [2015/06/03 21:22] – created pavroo | install_package [2018/08/14 23:01] – lami07 | ||
---|---|---|---|
Line 4: | Line 4: | ||
This quick guide lets you find and install new packages via a text console. | This quick guide lets you find and install new packages via a text console. | ||
- | Every command has be run with root privileges **su** or **sudo**. | + | Every command has to be run with root privileges **su** or **sudo**. |
1. Find a package: | 1. Find a package: | ||
Line 10: | Line 10: | ||
| | ||
- | 2. Check is a package installed and find its version: | + | 2. Check if a package |
| | ||
Line 18: | Line 18: | ||
| | ||
- | 4.If you have downloaded a "deb" package from the network, you can install it using **dpkg** tool: | + | 4. "Deb" package |
- | cd /patch-to downloaded-dir | + | cd /path/to/ |
dpkg -i package1.deb package2.deb package3.deb | dpkg -i package1.deb package2.deb package3.deb | ||
- | If the package (packages) needs extra dependencies, | + | If the package (packages) needs extra dependencies, |
+ | | ||
| | ||
- | [[upgrade|< | + | |
+ | List of all packages installed on your system can be generated via the command: | ||
+ | |||
+ | dpkg -l | ||
+ | or | ||
+ | | ||
+ | |||
+ | ---- | ||
+ | |||
+ | <WRAP center box 58%> | ||
+ | [[upgrade|< | ||
+ | </ |