This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lx103:notes [2024/04/28 03:55] 114.119.138.183 old revision restored (2024/01/04 02:25) |
lx103:notes [2024/05/15 04:00] (current) 114.119.158.167 old revision restored (2023/11/28 11:04) |
||
---|---|---|---|
Line 212: | Line 212: | ||
Config file located in /// | Config file located in /// | ||
*apt-get update -- updates repo list. DOES NOT UPGRADE. | *apt-get update -- updates repo list. DOES NOT UPGRADE. | ||
- | + | *apt-cache search //thing// -- searches packages on local package cache for //thing// to download from server. | |
- | ===apt-cache=== | + | |
- | *search //thing// -- searches packages on local package cache for //thing// to download from server. | + | |
- | *stats -- shows stats based on the metadata downloaded about our repos. | + | |
- | *depends apache2 -- shows dependencies for the apache2 package. | + | |
- | + | ||
*apt-get install //apache2// - install apache2 + deps from repos. | *apt-get install //apache2// - install apache2 + deps from repos. | ||
*apt-get upgrade -- upgrades out of date packages. | *apt-get upgrade -- upgrades out of date packages. | ||
- | *apt-get clean -- cleans up local pkg files, temp files, etc. | + | |
- | *apt-get autoclean -- only cleans out packages that are no longer avail in our source repo. These can no longer be downloaded and are largely useless files. | + | |
- | *apt-get install -s php5 -- -s says simulate install php5. useful! | + | |
- | *apt-get install -y php5 -- will auto input YES on prompts. | + | |
- | *apt-get install -y -q php5 -- -q omits some terminal output. | + | |
- | *apt-get source php5 -- this will download the source files php5 and not the PACKAGE php5. | + | |
- | * **apt-get dist-upgrade** -- RTFM, performs upgrade but also handles changing of dependencies of new versions of a package. As a result, some packages may be removed. | + | |
======top====== | ======top====== | ||
---- | ---- |