How do you install jetty in Linux using apt-get command?
Here is a tutorial to learn how to install jetty using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install jetty -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of jetty if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install jetty -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
x11 apps jmeter help texlive common libmono data tds2.0 cil
libmono c5 1.0 cil lib32bz2 1.0 liblash2 libjna java python packagekit
libxcb aux0 libedit2 libgnumail java php fpdf menu xdg ejabberd
asymptote doc libsm dev menu libavahi qt3 1 libnet daemon perl
libnumber compare perl libpackagekit qt 12 erlang eunit feynmf libswscale0
libcdio10 libdb je java libmono npgsql2.0 cil krita data junit4 espeak
python notify kicad common libmono security2.0 cil kdelibs4c2a
libgsf 1 common xfonts 75dpi byobu python pyorbit rpm2cpio extra xdg menus
libexcalibur logger java xsltproc libxcb atom1 erlang crypto
libg15daemon client1 guile 1.8 latex2html llvm ttf gfs bodoni classic
libmono wcf3.0 cil gpsim libice dev liboro java libgail18
libmono peapi2.0 cil libavutil49 libwxbase2.8 0 bzrtools debootstrap
libaiksaurus 1.2 data libappframework java libdigest sha1 perl libflite1
gputils doc kword data libxrandr dev libmono system data1.0 cil
libgmime 2.4 2 libnb javaparser java libgeronimo jms 1.1 spec java
libgnome2 vfs perl libnet ip perl libdb4.7 java libmono simd2.0 cil
libmono system2.0 cil libmono1.0 cil xfonts scalable libexpat1 dev
libcdio paranoia0 libgnome2 0 libiw dev libmono system ldap1.0 cil
libwebkit 1.0 common squashfs tools erlang corba libmono0 libiceutil33 gamin
ltspfs erlang asn1 libnet dns perl nvidia common libxdamage dev ttf gfs olga
lib32ncurses5 pkg config libavalon framework java libgcj bc
libmono getoptions1.0 cil libgnomecanvas2 0 libmono cscompmgd8.0 cil dirmngr
libmono data1.0 cil ktorrent data libkpathsea5 erlang xmerl intel gpu tools
xbase clients preview latex style libmono sharpzip0.84 cil
libmono sqlite2.0 cil texlive lvm2 libmono ldap1.0 cil latex xft fonts
libpthread stubs0 ttf gfs didot libavc1394 0 esound clients smbclient
libjtidy java libbonobo2 common libjzlib java nmap tex4ht erlang snmp
libprotobuf5 gnome mime data libcfitsio3 libmono management2.0 cil zenity
libicu4j java erlang tools libboost system1.40.0 libfreemarker java
libservlet2.4 java libdb4.7 java gcj rrdtool desktop file utils pulseaudio
clamav dnsutils libgnomeui 0 libxalan2 java libcairo perl gputils
libcommons jexl java libfluidsynth1 gvfs backends dvipng libgtk2 perl
erlang edoc libbeagle1 libmono corlib2.0 cil libxfixes dev g++ 4.4
libboost signals1.40.0 odbcinst1debian1 libgnuinet java lmodern dhcp3 server
php5 lxde icon theme libsdl mixer1.2 erlang syntax tools ipvsadm
libmono system web mvc1.0 cil libglew1.5 libfile find rule perl
ttf gfs theokritos libasm2 java tftpd hpa libproxy0 libjpeg progs
libnspr4 dev default jdk doc unifont libxcb render util0 dev llvm dev
krb5 config libmono cairo2.0 cil xserver common libtagc0
libmono relaxng1.0 cil python newt libbonobo2 0 libtdb1 libdbi perl
libvte common libsctp1 libgnomevfs2 common dblatex texlive pstricks
ttf gfs artemisia docbook xml libavfilter0 mercurial
nvidia current modaliases libgnomevfs2 extra lbreakout2 data lmms common
libnb platform devel java x11proto xinerama dev ttf sil gentium libdca0
libx86 1 screen x11proto render dev ttf gfs porson libxi dev
texlive extra utils m4 at ed libmono i18n west2.0 cil dbconfig common
texlive latex base librpmio0 texlive metapost doc librpm0
texlive fonts recommended javahelp2 pulseaudio module x11 guile 1.8 libs
rpm common librrd4 po debconf liblualib50 auth client config autoconf
libchm1 notification daemon wireshark common libpixman 1 dev libsqlite0
groff base libfftw3 3 libdirectfb extra libswingx java java wrappers
libdotconf1.0 libmono microsoft7.0 cil libmono system messaging2.0 cil
libavdevice52 libnotify1 libmono system web1.0 cil libstartup notification0
libass4 libjs prototype libapache2 mod php5 clamav base libavahi glib1
subversion openvpn blacklist linux source 2.6.32
libmono accessibility1.0 cil libmono webbrowser0.5 cil libmono posix2.0 cil
odbcinst g++ mono runtime libvisual 0.4 0 libfontconfig1 dev
libreadline java libcln6 libsensors applet plugin0 libclamav6
libcommons compress java libcanberra0 intltool debian erlang webtool
php5 snmp php5 gd dcraw kompozer data libnss3 dev xorg docs core
x11proto kb dev libswingworker java luatex texlive bibtex extra
x11proto randr dev libsoup gnome2.4 1 libsaxon java zlib bin caps
texlive generic recommended john data libxinerama dev libcap2 bin
libmono system runtime2.0 cil mono 2.0 devel libavcodec52 gcc 4.4
libopenctl0 x11 session utils toshset libpango perl
texlive latex recommended libc6 i386 texlive font utils mono csharp shell
libgssrpc4 libopagent1 libobparser21 libgamin0 lib32gcc1 libpcrecpp0
libnova 0.12 2 texlive latex recommended doc unixodbc erlang runtime tools
libg15render1 update manager core lilypond data libsvn1 xtrans dev
libatk1.0 dev ruby1.8 libwnck22 libportaudio2 libsexy2 vbetool latex beamer
libgtkdatabox 0.9.0 1 libcue1 libmenu cache1 libxcb event1 gputils common
libmcrypt4 libjs jac python paramiko samba common libiec61883 0 xinput
libelf1 libforms1 texlive binaries lib32asound2 libxres1 libxstream java
acpid erlang docbuilder finger libmono i18n1.0 cil gettext ant php pear time
libmono oracle1.0 cil arj x11proto input dev libnb platform11 java tipa
python glade2 xmms2 plugin id3v2 libvirt0 ruby texlive latex base doc
libmono messaging2.0 cil default jdk libmono rabbitmq2.0 cil
kde window manager libenca0 latex xcolor libjsch java libsvn java bsh rtkit
libpulse browse0 launchpad integration libexempi3 x11proto fixes dev
koffice libs fckeditor mingw32 runtime libqt4 gui libt1 5 gcc libgdu0
libxml commons resolver1.1 java libpkcs11 helper1 libcobertura java
libgnome2 common bzr xpdf reader cvs asymptote libjs scriptaculous
xfonts base libmono winforms1.0 cil libfli1 python xapian apt xapian index
libxen3 texlive xetex libmono db2 1.0 cil ant optional kdiff3 doc
pulseaudio esound compat binfmt support libesd0 fop libmikmod2
libjcharts java libwxgtk2.8 0 libkdecorations4 libmono system data2.0 cil
openssh client libcommons net java console terminus libresid builder0c2a
libreadline5 libmono2.0 cil erlang inviso x11 xfs utils libsmi2ldbl
krosspython libmono system ldap2.0 cil speech dispatcher
libmono bytefx0.7.6.1 cil libmono data tds1.0 cil libbsf java libgnomevfs2 0
x11proto xext dev espeak data mono gac texlive luatex libxt dev libvte9
libmono sharpzip2.6 cil libxml commons external java libcroco3
libmono getoptions2.0 cil libboost thread1.40.0 libmono data2.0 cil
libevent 1.4 2 libxext dev python cairo texlive metapost
libpulse mainloop glib0 libgme0 libmono npgsql1.0 cil erlang mnesia
libgsf 1 114 libgtop2 common librarian0 freepats libmono ldap2.0 cil
libmono messaging rabbitmq2.0 cil software properties gtk
libmono security1.0 cil libphp phpmailer libspeexdsp1 rarian compat
libiptcdata0 x11proto damage dev libgnome2 canvas perl kbibtex lyx common
php xml htmlsax3 rsync erlang public key libdbd mysql perl manpages ffmpeg
nbd server libmono peapi1.0 cil libvncserver0 kstars data mono 2.0 gac
libpostproc51 libkwineffects1 pax libglib2.0 dev libwv2 4
texlive fonts recommended doc pgf zlib1g dev libdevmapper event1.02.1
lesstif2 liblzo2 2 hddtemp libmono system1.0 cil libdate calc perl ntp
libcairo2 dev libqt3 mt mysql xfonts 100dpi libspeechd2 esound common
monodoc base lxmenu data xmms2 plugin alsa fping libglib perl libwildmidi0
netpbm tex4ht common liberror perl openssl blacklist libmono sharpzip0.6 cil
xinit libradius1 python appindicator erlang os mon libmono cscompmgd7.0 cil
liborc 0.4 0 gstreamer0.10 pulseaudio libraw1394 11 libespeak1
libfreetype6 dev libshout3 ttf gfs neohellenic libgsm1 libdv4 libdvdnav4
fancontrol build essential libservlet2.3 java libmono sqlite1.0 cil
libmono sharpzip2.84 cil libxau dev dpkg dev python configobj librpmbuild0
lilypond libxmmsclient6 debconf utils libcarp clan perl mingw32 binutils
barcode libfs6 libdvdread4 libmpdclient2 libmono relaxng2.0 cil
libhtmlparser java stk packagekit libtext glob perl libschroedinger 1.0 0
lilypond doc libksignalplotter4 fglrx modaliases libtotem plparser17
libavformat52 ttf gfs baskerville libmono microsoft build2.0 cil
nvidia 96 modaliases libnfsidmap2 libindi0 libdc1394 22 libmono dev libkate1
libcdaudio1 libmimic0 erlang inets libgtop2 7 automake xmms2 core erlang ic
libkadm5clnt mit7 libswing layout java libvisual 0.4 plugins libplrpc perl
libcap ng0 libapparmor1 texlive base libpciaccess0 libregexp java
ttf unifont libgnomeui common update manager kde xz utils
libmono cecil private cil synaptic libmono corlib1.0 cil xfonts unifont
wwwconfig common gksu psutils libsidplay2 wireshark erlang odbc libqtgtl0
python gdbm rhino libkadm5srv mit7 clamav freshclam libc ares2 libc6 dev
libsigsegv0 erlang nox context python wicd libpackagekit glib2 12
libmono microsoft8.0 cil ttf gfs solomos libg15 1 liblua5.1 0 libzeroc ice33
libmono system web2.0 cil libxcomposite dev libbonoboui2 0
libmono cairo1.0 cil brasero common libsoundtouch1c2 libstk0c2a
libwnck common libxcb render0 dev app install data libxrender dev
xmms2 plugin vorbis libxmmsclient glib1 libgksu2 0 libmpg123 0 sgml data
libmad0 libgnome2 perl libxmlgraphics commons java libnetpbm10
libmono accessibility2.0 cil ttf gfs gazis ant optional gcj php5 ldap
texlive doc base texlive latex extra libpq5 libtommath0 libart 2.0 2
git core librpcsecgss3 man db liblaunchpad integration1 libid3tag0
libavahi compat libdnssd1 html2text libcdio cdda0 imagemagick
texlive latex extra doc lib32z1 radeontool erlang ssh erlang percept
libhamcrest java liblucene2 java erlang ssl xmms2 plugin mad libgvfscommon0
php5 mysql libmono i18n west1.0 cil libxft dev texlive pictures libx11 dev
liboil0.3 libmhash2 libgc1c2 libaiksaurus 1.2 0c2a openjdk 6 doc libkdb5 4
libqt3 mt lib32stdc++6 miscfiles libmono bytefx0.7.6.2 cil
x11proto composite dev gvfs linux libc dev patch manpages dev kdelibs data
libbeansbinding java samba common bin libcelt0 0 openvpn libdirac encoder0
libgtlcore0 libboost regex1.40.0 tap plugins liblua50 php5 cli libruby1.8
libmono system messaging1.0 cil scrollkeeper info tex gyre lib32v4l 0
python xkit libdbus 1 dev autotools dev libc dev bin watershed libxcb1 dev
libgssglue1 wicd daemon openjdk 6 jdk tinymce libmono posix1.0 cil
libmail sendmail perl ant gcj libbonoboui2 common libcommons digester java
perl doc libbatik java texlive math extra python iniparse libdirectfb dev
binutils systemsettings libjpeg62 dev texlive pictures doc portmap
libini4j java libdbus glib 1 dev ncurses term nvidia 173 modaliases
p7zip full libmono i18n2.0 cil libsys hostname long perl erlang parsetools
texlive pstricks doc libnb svnclientadapter java php5 common
libmono oracle2.0 cil libjline java bcmwl modaliases wicd gtk php gettext
libmono system runtime1.0 cil tex common lacheck gstreamer0.10 plugins base
x11proto core dev javascript common python gtk2 freeglut3 python gconf
libexcalibur logkit java python crypto libdigest hmac perl gnome doc utils
regina3 dvb apps koffice data libxdmcp dev libpthread stubs0 dev
libsysfs dev pulseaudio utils libofa0 libxcursor dev python libxml2
libgnomecanvas2 common libgdiplus libmms0 libmono winforms2.0 cil less
oprofile mysql client 5.1 libbit vector perl xpdf common libllvm2.7 texinfo
libasound2 plugins libjs mootools ttf gfs didot classic erlang base
libsoup2.4 1 libboost filesystem1.40.0 libstdc++6 4.4 dev mono gmcs libfaad2
mercurial common packagekit backend apt libaudiofile0 libsmpeg0 libpng12 dev
Use 'apt-get autoremove' to remove them.
Suggested packages:
libjetty extra java libjetty extra
The following NEW packages will be installed:
jetty
0 upgraded, 1 newly installed, 0 to remove and 64 not upgraded.
Need to get 0B/794kB of archives.
After this operation, 1,171kB of additional disk space will be used.
Selecting previously deselected package jetty.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 192457 files and directories currently installed.)
Unpacking jetty (from .../jetty_6.1.22 1ubuntu1.1_all.deb) ...
Processing triggers for ureadahead ...
Setting up jetty (6.1.22 1ubuntu1.1) ...
[31m*[39;49m Not starting jetty edit /etc/default/jetty and change NO_START to be 0 (or comment it out).
root@hiox:~