apt install

To download only source code of particular package, use the option ‘–download-only source‘ with ‘package-name’ as shown. color: #1D3557; $ sudo apt-get -y install apt-fast During the apt-fast installation process, you will be prompted to perform some package configuration as follows. The syntax is, You can also use the syntax command below. Sample outputs: Fig.01: Debian / Ubuntu Linux reinstall a package using apt-get command. This article provides some useful commands that will help you to handle package management in Debian/Ubuntu based systems. How to List Installed Packages by Date on Linux, How to Create Users Using Useradd Command in Linux, How to Remove Orphaned Packages on Ubuntu. When you search for ‘apache’, Synaptic will display on one screen all packages with ‘apache’ in the name or the description, and whether they are installed or not. Let’s say you wish to install only specific version of packages, simply use the ‘=‘ with the package-name and append desired version. Let us see some example that shows how to reinstall package and its installed dependencies on a Debian or Ubuntu Linux. table.tutorialrequirements tr:nth-child(even) { The ‘changelog‘ flag downloads a package change-log and shows the package version that is installed. Please keep in mind that all comments are moderated and your email address will NOT be published. The ‘check‘ command is a diagnostic tool. Before we can test Apache, we need to modify our firewall to allow outside access to the default web ports. This article explains how quickly you can learn to install, remove, update and search software packages using apt-get and apt-cache commands from the command line. With the help of regular expression you can add several packages with one string. To run this command you require administrative rights or a user with sudo privilege. However, this is just one of the tools used to communicate with the APT system. Step 1: Prerequisites. use the GUI tool, Synaptic. In this tutorial, I will show you how to install a specific version of a package on Ubuntu 16.04 or 20.04 LTS. The syntax is: sudo aptitude reinstall '~i'. In simple words, this tool is used to search software packages, collects information of packages and also used to search for what available packages are ready for installation on Debian or Ubuntu based systems. Type the following apt command or apt-get command to reinstall htop: This command will re-install the Opera browser that was already installed on my system. }, Pro tip: Backup all configuration files before reinstalling packages. Instead of using the CLI tool ‘apt-cache’. border: 1px solid #1D3557; } For example, the following command will remove an installed package with its dependencies. Pro tip: Backup all configuration files before reinstalling packages.For example, if you are reinstalling nginx web server package, backup /etc/nginx/ directory with the help of cp command as follows: However, if you want to upgrade, unconcerned of whether software packages will be added or removed to fulfill dependencies, use the ‘dist-upgrade‘ sub command. To find out the package name and with it description before installing, use the ‘search‘ flag. How to Setup and Manage Log Rotation Using Logrotate in Linux, How to Resolve “Temporary failure in name resolution” Issue, How to Monitor Node.js Applications Using PM2 Web Dashboard, Setup Passwordless SSH Login for Multiple Remote Servers Using Script, How to Install Drupal with Apache on Debian and Ubuntu. You can also subscribe without commenting. This site uses Akismet to reduce spam. This article explains how quickly you can learn to install, remove, update and search software packages using apt-get and apt-cache commands from the command line. You can do it with the dpkg command combined with grep followed by the name of the package, If you want to filter the information, you can use the command as below. The apt-get is the command-line tool for handling packages. Alternatively, you can combine both the commands together as shown below. For example, the following command will install packages ‘nethogs‘ and ‘goaccess‘. Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics: How to install Composer on Debian / Ubuntu Linux, Debian / Ubuntu Linux Delete Old Kernel Images Command, How to install KVM on Ubuntu 20.04 LTS Headless Server, How to install KVM on CentOS 8 Headless Server, 19 Ubuntu / Debian Linux apt Command Examples, SSH Into Google Cloud Compute Engine Instance Using Secure Shell Client, W: TMPDIR is Mounted noexec, Will Not Cache Run Scripts Error and Solution.

1964 Kansas City Chiefs Roster, Lafc Channel, Mechanical Engineer Cv, Bee Deaths Per Year Worldwide, Meaning Of Bff In Social Media, St Mirren Team Today, Richard Lavender, Rayan Ait-nouri Man Utd,

Leave a Reply

Your email address will not be published. Required fields are marked *