Buster installing software: Difference between revisions
From embeddedTS Manuals
(Created page with "Debian provides the apt-get system which allows management of pre-built applications. The apt tools require a network connection to the internet in order to automatically down...") |
No edit summary |
||
Line 7: | Line 7: | ||
A common example is installing Java runtime support for a system. Find the package name first with search, and then install it. | A common example is installing Java runtime support for a system. Find the package name first with search, and then install it. | ||
< | <console> | ||
root@tsa38x:~# apt-cache search openjdk | root@tsa38x:~# apt-cache search openjdk | ||
default-jdk - Standard Java or Java compatible Development Kit | default-jdk - Standard Java or Java compatible Development Kit | ||
Line 31: | Line 31: | ||
uwsgi-plugin-servlet-openjdk-11 - JWSGI plugin for uWSGI (OpenJDK 11) | uwsgi-plugin-servlet-openjdk-11 - JWSGI plugin for uWSGI (OpenJDK 11) | ||
java-package - Utility for creating Java Debian packages | java-package - Utility for creating Java Debian packages | ||
</console> | |||
</ | |||
In this case, the wanted package will likely be the "openjdk-11-jre" package. Names of packages can be found on Debian's [http://wiki.debian.org/ wiki pages] or the [https://packages.debian.org/buster/ packages site]. | In this case, the wanted package will likely be the "openjdk-11-jre" package. Names of packages can be found on Debian's [http://wiki.debian.org/ wiki pages] or the [https://packages.debian.org/buster/ packages site]. |
Revision as of 10:07, 3 February 2020
Debian provides the apt-get system which allows management of pre-built applications. The apt tools require a network connection to the internet in order to automatically download and install new software. The update command will download a list of the current versions of pre-built packages.
apt-get update
A common example is installing Java runtime support for a system. Find the package name first with search, and then install it.
root@tsa38x:~# apt-cache search openjdk default-jdk - Standard Java or Java compatible Development Kit default-jdk-doc - Standard Java or Java compatible Development Kit (documentation) default-jdk-headless - Standard Java or Java compatible Development Kit (headless) default-jre - Standard Java or Java compatible Runtime default-jre-headless - Standard Java or Java compatible Runtime (headless) jtreg - Regression Test Harness for the OpenJDK platform libreoffice - office productivity suite (metapackage) openjdk-11-dbg - Java runtime based on OpenJDK (debugging symbols) openjdk-11-demo - Java runtime based on OpenJDK (demos and examples) openjdk-11-doc - OpenJDK Development Kit (JDK) documentation openjdk-11-jdk - OpenJDK Development Kit (JDK) openjdk-11-jdk-headless - OpenJDK Development Kit (JDK) (headless) openjdk-11-jre - OpenJDK Java runtime, using Hotspot JIT openjdk-11-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless) openjdk-11-jre-zero - Alternative JVM for OpenJDK, using Zero openjdk-11-source - OpenJDK Development Kit (JDK) source files uwsgi-app-integration-plugins - plugins for integration of uWSGI and application uwsgi-plugin-jvm-openjdk-11 - Java plugin for uWSGI (OpenJDK 11) uwsgi-plugin-jwsgi-openjdk-11 - JWSGI plugin for uWSGI (OpenJDK 11) uwsgi-plugin-ring-openjdk-11 - Closure/Ring plugin for uWSGI (OpenJDK 11) uwsgi-plugin-servlet-openjdk-11 - JWSGI plugin for uWSGI (OpenJDK 11) java-package - Utility for creating Java Debian packages
In this case, the wanted package will likely be the "openjdk-11-jre" package. Names of packages can be found on Debian's wiki pages or the packages site.
With the package name apt-get install can be used to install the prebuilt packages.
apt-get install openjdk-11-jre
# More than one package can be installed at a time.
apt-get install openjdk-11-jre nano vim mplayer
For more information on using apt-get refer to Debian's documentation here.