5.23. Installing and Removing Packages on AsteriskNOW
Problem
Even though AsteriskNOW runs on Linux, it's not the Linux you know. It looks somewhat like Red Hat, but there are no RPM or Yum commands for installing and removing packages. It uses the familiar Bash shell, and /bin and /sbin contain all the familiar Linux commands. So, how do you manage the software?
Solution
AsteriskNOW uses rPath Linux, which is a specialized Linux distribution designed for building software appliances like AsteriskNOW. It's designed to be easily customizable and efficient, containing only the packages needed to run your appliance. It uses the Conary build system, which includes custom package repositories and commands.
These commands show short and extended help lists:
[admin@localhost ~]$ conary
[admin@localhost ~]$ conary helpYou can see a list of all packages installed on your system:
[admin@localhost ~]$ conary query | lessgrep helps you find a specific installed program:
[admin@localhost ~]$ conary query | grep speex
speex=1.1.10-2-0.1Get information on an installed package:
admin@localhost ~]$ conary q speex --infoConary calls dependencies and related packages troves. View installed troves with this command:
admin@localhost ~]$ conary q speex --trovesThis command shows all troves, including those that are not installed:
[admin@localhost ~]$ conary q speex --all-trovesThis command displays dependencies:
[admin@localhost ~]$ conary q speex --depsYou can see what is available to install:
[admin@localhost ...Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access