Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet131/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   127   128   129   130   131   132   133   134   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 89 
]
In addition to being able to install packages, there are some additional tips and 
considerations around searching for packages. After all, you can't install a package if 
you don't know what's available. We'll explore searching for packages in the next.
Searching for packages
Unfortunately, the naming conventions used for packages in Ubuntu Server aren't 
always obvious. Worse, package names are often very different from one distribution 
to another even for the same piece of software. While this book and other tutorials 
online will outline the exact steps needed to install software, if you're ever on your 
own, it really doesn't help much if you don't know the name of the package you 
want to install. In this section, I'll try to take some of the mystery out of searching for 
packages.
In the previous section, we went over searching for Snap packages, so I won't repeat 
that here. The APT suite of utilities also has a means of searching for packages as 
well, which is the 
apt search
 command. We can use the following command to 
search for packages, by providing a keyword:
apt search
The output from this command will show a list of packages that match your search 
criteria, with their names and descriptions. If, for example, you wanted to install 
the PHP plugin for Apache and you didn't already know the name of the associated 
package, the following would narrow it down:
apt search apache php
In the output, we will get a list of more than a handful of packages, but we can 
deduce from the package descriptions in the output that 
libapache2-mod-php
 is most 
likely the one we want. We can proceed to install it using 
apt
, as we would normally 
do. If we're not sure whether or not this is truly the package we want, we can view 
more information regarding this (or any other) package with the 
apt-cache show
 
command:
apt-cache show libapache2-mod-php


Managing Software Packages

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   127   128   129   130   131   132   133   134   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish