Back to Blog
Sudo apt get remove wine7/2/2023 When you type the command, nothing is displayed on the screen. This is why you need to use sudo before the apt remove command. Installing and removing packages in Ubuntu requires that you have admin privileges. This is important because Linux is case-sensitive. The package name is mplayer (with all small letters). I decide to remove the MPlayer from my system. This will be a huge output and you may have to use the grep command to filter on the result. Tab completion with apt remove commandĪlternatively, you can list all the installed packages with apt and look for the package name: apt list -installed My system shows that there are two installed packages with names starting with mp. It will show the possible package names you can use.įor example, I typed sudo apt remove mp and press the tab. Try entering the first few starting letters and press tab. How do you get that? You can use the tab completion feature. For uninstalling a package, it provides the remove option. The apt command gives you all the essential tools to manage the APT packages. If you want to remove multiple packages, you can do that in a single command: sudo apt remove package_1 package_2 package_3 The new and recommended command is apt, which I would also suggest using. sudo apt-get remove package_nameīoth apt and apt-get commands are pretty much alike. You may also use the older apt-get remove command here. If you know the package name, just use it with the apt remove command like this: sudo apt remove package_nameĮven if you do not know the exact package name, tab completion is there to help you. How do you uninstall apt packages in Ubuntu using the terminal? It’s quite simple, actually.
0 Comments
Read More
Leave a Reply. |