We are still actively working on the spam issue.

Difference between revisions of "Package manager"

From InstallGentoo Wiki
Jump to: navigation, search
m (Added link to Debian page.)
Line 16: Line 16:
  
 
To clean: sudo apt-get clean _________
 
To clean: sudo apt-get clean _________
 +
 +
To search: sudo apt-cache search _________
 +
 +
To get build dependency: sudo apt-get build-dep _________
  
 
To remove unneeded dependencies: sudo apt-get autoremove _________
 
To remove unneeded dependencies: sudo apt-get autoremove _________

Revision as of 14:38, 28 January 2014

This article needs improvement. its horrible.

This is the software repositories that you will meet with some linux os. They are used to download your software in opposition to compiling them from source. In other words they automatate every thing for the dumb shit you are and allow you to install, update and remove the application you need cause youre to retarded to write them by yourself with a magnifying glass and the sun directly on your hard drive. The most common package managers are yum (RHEL - rpm) and aptitude (Debian - deb).


Aptitude

You run it like this:

To install: sudo apt-get install _________

To update: sudo apt-get update _________

To remove: sudo apt-get remove _________

To clean: sudo apt-get clean _________

To search: sudo apt-cache search _________

To get build dependency: sudo apt-get build-dep _________

To remove unneeded dependencies: sudo apt-get autoremove _________

yum

you run it like this

to install: sudo yum install _________

Zypper

Zypper is a cli frontend for openSUSEs package manager, libzypp. The .rpm package format is used, but the package manager itself is independent from RHEL.

usage:

zypper in <name of package>

zypper rm <name of package>

installs or removes a package

zypper ar <repo>

zypper rr <repo>

adds or removes a repository

zypper up updates

zypper se <name of package> searches

original forms can be used instead of short forms:

  • se = search
  • up = update
  • in = install
  • etc.