Debian Package Manager - apt and dpkg
This section covers Debian Package Managers:
- How to find software ?
- How to install software ?
- How to remove software ?
Debian Package Manager - APT
Another popular package format is the Debian package format. Here is a list of distributions that are based on the DEB package format.
- Linux Mint
The Debian base distributions use a package manager called Advanced Packaging Tool (APT). APT is comprised of a few small utilities with the two most commonly used are apt-cache and apt-get .
To search for packages, use
apt-cache search string. To install the package, use
apt-get install [-y] package_name. You can specify the
-y to automatically answer yes to any apt-get's questions. To remove a package, use
apt-get remove package_name. However, any configuration files or configuration changes will stay on your system when you use
apt-get remove. If you would like to get rid of the configuration file in addition to the package, you can use the
apt-get purge package_name. To show information about a particular package, use
apt-cache show package_name.
| ||Search for packages with string|
| ||Install package.|
| ||To remove a package, but leave configuration.|
| ||To remove a package and also delete configuration.|
| ||Display information about a particular package.|
In addition to apt utilities, you can use the
dpkg command to interact with the package manager.
dpkg -l lists the installed packages. The
dpkg -S path_to_file display the package that the file belongs to. The
dpkg -L package_name list all files in package. And to install a .deb package, use
dpkg -i package_name.deb.
| ||List installed packages.|
| ||Display the package that the file belongs to.|
| ||List all files in package.|
| ||To install a .deb package.|
References & Resources
- Dependency injection
- Directives and Pipes
- Data binding
- HTTP Get vs. Post
- Node.js is everywhere
- MongoDB root user
- Prefer Async Script Loading
- Components, Bootstrap and DOM
- What is HEAD in git?
- Show the changes in Git.
- What is AngularJS 2?
- Confidence Interval for a Population Mean
- Accuracy vs. Precision
- Sampling Distribution
- Working with the Normal Distribution
- Standardized score - Z score
- Evaluating the Normal Distribution
- What is Nodejs? Advantages and disadvantage?
- How do I debug Nodejs applications?
- Sync directory search using fs.readdirSync