User Tools

Site Tools


lx103:managing_software

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:managing_software [2024/04/28 05:57]
114.119.155.78 old revision restored (2024/02/26 14:55)
lx103:managing_software [2024/05/14 00:17] (current)
114.119.138.183 old revision restored (2024/01/12 03:37)
Line 13: Line 13:
   *Mint   *Mint
  
-===== RPM Package Management=====+===== RPM =====
 Redhat Package Manager -- now recursive -- RPM Package Manager -- after being adopted by multiple distros. Redhat Package Manager -- now recursive -- RPM Package Manager -- after being adopted by multiple distros.
  
Line 28: Line 28:
   * **-U** -- Upgrade if already installed   * **-U** -- Upgrade if already installed
   * **-q** -- Query, get info about packages   * **-q** -- Query, get info about packages
- 
- 
-=====DEB Based Package Management===== 
-apt-get / dpkg 
- 
-====dpkg==== 
-  ***''dpkg -i pkg.deb''** will install pkg.deb, but not dependencies! 
-  ***''dpkg-reconfigure pkg.deb''** will run first-time install setup for a package, aka reconfigure. 
-  ***''dpkg --get-selections''** to print out a list of installed packages. 
-  ***''dpkg --purge pkg.deb''** will remove the package, including ALL config files! 
-  ***''dpkg --remove pkg.deb''** to remove a package, but leave the configuration behind. 
-====apt==== 
-Config file located in ///etc/apt///sources.list important. sources.list.d folder contains official repos. 
-  *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. 
-  ***stats** -- shows stats based on the metadata downloaded about our repos. 
-  ***depends** apache2 -- shows dependencies for the apache2 package. 
-  ***unmet** -- shows pkgs that have unmet depends. 
- 
-  *apt-get install //apache2// - install apache2 + deps from repos. 
-  *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. 
- 
-====aptitude==== 
-Ncurses/CLI based management tool. An option for those who don't like entering commandline args. 
- 
-====dselect==== 
----- 
-No longer maintained but still an option for package management. It's not unlike the curses interface for aptitude but you might as well just stick with the cli args like ''**apt-get update**'' 
  
 ===== DEB ===== ===== DEB =====
Line 95: Line 58:
   *yum install //httpd// - installs //httpd// and deps from repos.   *yum install //httpd// - installs //httpd// and deps from repos.
   *yum update -- updates all packages on system.   *yum update -- updates all packages on system.
 +
 +=====UBUNTU=====
 +----
 +uses apt-get / dpkg
 +
 +====apt====
 +Config file located in ///etc/apt///sources.list important. sources.list.d folder contains official repos.
 +  *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.
 +  ***stats** -- shows stats based on the metadata downloaded about our repos.
 +  ***depends** apache2 -- shows dependencies for the apache2 package.
 +  ***unmet** -- shows pkgs that have unmet depends.
 +
 +  *apt-get install //apache2// - install apache2 + deps from repos.
 +  *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.
 +
  
  
lx103/managing_software.1714283868.txt.gz ยท Last modified: 2024/04/28 05:57 by 114.119.155.78