Install packages with APT
The Advanced Package Tool, or APT, is a CLI utility for handling packages in Alnoda workspaces, which are based on Ubuntu. Debian packages can be installed in Alnoda workspace usin APT.
Here is the general process to install packages using APT:
- First, update the package lists for upgrades and new package installations
<font color="#5EA702">sudo apt</font> update
- Next, use the install command followed by the name of the package you want to install. For example, to install a package named package_name, you would use:
<font color="#5EA702">sudo apt</font> install package_name
If you aren't sure what the package name is, you can search for it using the following command:
<font color="#5EA702">apt-cache</font> search keyword
For example, let's install mle - a flexible terminal-based editor:
$ <font color="#5EA702">sudo apt</font> install mle Reading package lists... Done Building dependency tree Reading state information... Done ....... Setting up mle (1.4.3-1) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ...