User Tools

Site Tools


lx103:notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lx103:notes [2024/04/28 17:15]
114.119.138.183 old revision restored (2023/10/18 16:06)
lx103:notes [2024/05/15 04:00] (current)
114.119.158.167 old revision restored (2023/11/28 11:04)
Line 213: Line 213:
   *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.
-  *apt-cache stats -- shows stats based on the metadata downloaded about our repos. 
   *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======
 ---- ----
lx103/notes.1714324512.txt.gz · Last modified: 2024/04/28 17:15 by 114.119.138.183