![]() ![]() This command will remove packages and their configuration files. It will not remove the configuration file of that package. This command will remove packages from your system, for example, to remove firefox: sudo apt-get remove firefox You can add -y option to this command to automatically answer yes to questions. It will tell you what packages will be upgraded and ask you if you really want to upgrade them. apt-get upgradeĪpt-get upgrade command is used to upgrade every upgradable package on your system. If a package installation failed for whatever reason, you can run sudo apt install without any package name, then it will attempt to continue the previously failed installation. You can use apt-get install to install multiple packages at once, for example, sudo apt-get install wireshark nmap aircrack-ng Install Multiple Packages With One Command deb package installer into /var/cache/apt/archives directory, then it install package on your system. This may sounds like a trouble at first, but once you are familiar with package names, it can be convinient to install software packages from the terminal especially when you are working on a remote Linux server.Īpt-get will first download. In the picture above you can see that chromium-browser is already installed on my system.īefore you install packages using apt-get install, you need to know the package name in your repository. If you want to automatically answer yes to these question, you can add -y option like below. Sometimes you will be asked if you really want to install the package. For example, you can install chromium browser on Ubuntu using the following command. You need to add the package name after it. On every Linux distribution, you need root privilege to manage software package and sudo allows you to temporarily obtain root privilege.Īpt-get install is the command to install software packages. ![]() The local package index contains a list of all packages names, including their version numbers, that can be installed from your software repository. ![]() Install Software Packages From Repository apt-get updateīefore you install any software, you always want to make sure your local package index is up to date. apt-get is the default command line package manager on Debian-based Linux distributions such as Debian, Ubuntu, Linux Mint, elementary OS,etc. In this tutorial, I’m going to show you how to use apt-get to manage software packages on Linux from the terminal. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |