Jessie installing software: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Debian provides the apt-get system which allows management of pre-built applications. First apt will need a network connection to the internet. The update command will download a list of prebuilt packages and the current version. | |||
Debian provides the apt-get system which lets you manage pre-built applications. Before you do this you need to update Debian's list of package versions and locations. This assumes you have a valid network connection to the internet. | Debian provides the apt-get system which lets you manage pre-built applications. Before you do this you need to update Debian's list of package versions and locations. This assumes you have a valid network connection to the internet. | ||
Line 5: | Line 7: | ||
</source> | </source> | ||
A common example is installing Java runtime support for a system. Find the package name first with search, and then install it. | |||
<pre> | <pre> | ||
root@ts:~# apt-cache search openjdk | root@ts:~# apt-cache search openjdk | ||
Line 32: | Line 35: | ||
</pre> | </pre> | ||
In this case you will | In this case you will want the openjdk-7-jre package. Names of packages are on [http://wiki.debian.org/ Debian's wiki] or the [https://packages.debian.org/jessie/ packages site]. | ||
With the package name apt-get install can be used to install the prebuilt packages. | |||
<source lang=bash> | <source lang=bash> | ||
apt-get install openjdk-7-jre | apt-get install openjdk-7-jre | ||
# | # More than one package can be installed at a time. | ||
apt-get install openjdk-7-jre nano vim mplayer | apt-get install openjdk-7-jre nano vim mplayer | ||
</source> | </source> | ||
For more information on using apt-get refer to Debian's documentation [http://wiki.debian.org/AptCLI here]. | For more information on using apt-get refer to Debian's documentation [http://wiki.debian.org/AptCLI here]. |
Revision as of 15:31, 10 February 2017
Debian provides the apt-get system which allows management of pre-built applications. First apt will need a network connection to the internet. The update command will download a list of prebuilt packages and the current version.
Debian provides the apt-get system which lets you manage pre-built applications. Before you do this you need to update Debian's list of package versions and locations. This assumes you have a valid network connection to the internet.
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@ts:~# apt-cache search openjdk jvm-7-avian-jre - lightweight virtual machine using the OpenJDK class library freemind - Java Program for creating and viewing Mindmaps icedtea-7-plugin - web browser plugin based on OpenJDK and IcedTea to execute Java applets default-jdk - Standard Java or Java compatible Development Kit default-jdk-doc - Standard Java or Java compatible Development Kit (documentation) 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) icedtea-7-jre-jamvm - Alternative JVM for OpenJDK, using JamVM openjdk-7-dbg - Java runtime based on OpenJDK (debugging symbols) openjdk-7-demo - Java runtime based on OpenJDK (demos and examples) openjdk-7-doc - OpenJDK Development Kit (JDK) documentation openjdk-7-jdk - OpenJDK Development Kit (JDK) openjdk-7-jre - OpenJDK Java runtime, using Hotspot Zero openjdk-7-jre-headless - OpenJDK Java runtime, using Hotspot Zero (headless) openjdk-7-jre-lib - OpenJDK Java runtime (architecture independent libraries) openjdk-7-source - OpenJDK Development Kit (JDK) source files uwsgi-app-integration-plugins - plugins for integration of uWSGI and application uwsgi-plugin-jvm-openjdk-7 - Java plugin for uWSGI (OpenJDK 7) uwsgi-plugin-jwsgi-openjdk-7 - JWSGI plugin for uWSGI (OpenJDK 7)
In this case you will want the openjdk-7-jre package. Names of packages are on Debian's wiki or the packages site.
With the package name apt-get install can be used to install the prebuilt packages.
apt-get install openjdk-7-jre
# More than one package can be installed at a time.
apt-get install openjdk-7-jre nano vim mplayer
For more information on using apt-get refer to Debian's documentation here.