0

Installation Any Software On Ubuntu

I want to install any software usinh sudo and apt from terminal. If I know only the software name from their official site, then is it possible to perform this action?

2 Answers2

1

You can search for packages providing a file with

dpkg -S file 

and you can search for packages and keywords with.

apt-cache search

Read

man dpkg apt-search
waltinator
  • 36,399
1

Search for a package called "packagename":

apt search packagename

This gives you a list of packages that match the search term "packagename"

Choose the one that you would like to install. For example, to install pip for python 3:

sudo apt install python3-pip

To read more about the apt command:

man apt

moo
  • 878