How do you install freeradius in Linux using apt-get command?
Here is a tutorial to learn how to install freeradius using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install freeradius -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of freeradius if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install freeradius -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libopenal1 jmeter help texlive common libmono data tds2.0 cil sane utils
libmono c5 1.0 cil lib32bz2 1.0 liblash2 libjna java libedit2
libgnumail java gambas2 gb db sqlite php fpdf menu xdg mesa utils ejabberd
asymptote doc libsm dev jsvc menu libavahi qt3 1 syslinux
libnumber compare perl libpackagekit qt 12 gambas2 gb gtk svg erlang eunit
libwpd8c2a gnome power manager libopencascade foundation 6.3.0 libswscale0
idzebra 2.0 utils libdb je java libmono npgsql2.0 cil dnsmasq base
libtwolame0 libboost serialization1.40 dev krita data junit4 espeak
python notify kicad common libmono security2.0 cil libnet ssleay perl
kdelibs4c2a gambas2 gb db odbc xfonts 75dpi libmtp8 rpm2cpio extra xdg menus
libexcalibur logger java gedit common libmono addins gui0.2 cil
libgutenprint2 gambas2 gb qt opengl erlang crypto libg15daemon client1
guile 1.8 libgnuradio libfbclient2 python debian libgraphicsmagick3 llvm
ttf gfs bodoni classic libmono wcf3.0 cil gpsim libice dev lp solve
liboro java libmono peapi2.0 cil libavutil49 libwxbase2.8 0
libaiksaurus 1.2 data libappframework java libdigest sha1 perl libflite1
gputils doc fakeroot kword data unattended upgrades libxrandr dev
libmono system data1.0 cil libgmime 2.4 2 libcupsppdc1 rox filer
libnb javaparser java libgeronimo jms 1.1 spec java libgnome2 vfs perl
gambas2 gb info libnet ip perl libdb4.7 java libmono simd2.0 cil
libmono system2.0 cil libmono1.0 cil xfonts scalable libexpat1 dev libiw dev
libcompizconfig0 libmono system ldap1.0 cil lib32gomp1 python twisted bin
libwebkit 1.0 common squashfs tools libatlas3gf base libatlas headers
erlang corba bind9 host python numpy libmono0 libiceutil33 audacious enblend
python mako debhelper erlang asn1 libnet dns perl gambas2 dev libxdamage dev
ttf gfs olga lib32ncurses5 python avahi pkg config libavalon framework java
python matplotlib gcj 4.4 base libcupscgi1 libmono getoptions1.0 cil
gftp gtk poppler utils libmono cscompmgd8.0 cil gfortran 4.4 dirmngr
libmono data1.0 cil gambas2 doc ktorrent data libkpathsea5 libgsl0 dev
libwmf0.2 7 libqt4 opengl dev erlang xmerl groff preview latex style
gnuradio pager libmono sharpzip0.84 cil libusrp2 dev libmono sqlite2.0 cil
texlive lvm2 libmono ldap1.0 cil libhfsp0 libdlr0.9 cil libpthread stubs0
ttf gfs didot python wxgtk2.8 python compizconfig idzebra 2.0 common
smbclient libjtidy java libcupsdriver1 libjzlib java nmap libotf0 tex4ht
erlang snmp libprotobuf5 libgnuradio dev libcfitsio3 libblas dev gambas2 ide
libmono management2.0 cil libkipi7 python pycurl libicu4j java erlang tools
gambas2 gb crypt libboost system1.40.0 libfreemarker java libservlet2.4 java
upower libgnuradio usrp2 dev anthy python couchdb clamav gambas2 gb db mysql
antlr python openssl libqtscript4 network libxalan2 java libcairo perl
enfuse gputils libcommons jexl java libfluidsynth1 libgtk2 perl erlang edoc
libyaml syck perl libbeagle1 libgnuradio audio alsa dev
libmono corlib2.0 cil gambas2 gb gtk gambas2 gb gui libaio1
gambas2 gb db firebird libsane libxfixes dev g++ 4.4 libboost signals1.40.0
odbcinst1debian1 libqt4 test libmockobjects java libgnuinet java
dhcp3 server libidzebra 2.0 mod text libquicktime1 php5 seabios
lxde icon theme libhyphen0 libsdl mixer1.2 erlang syntax tools
libgl1 mesa dev libasound2 dev ipvsadm libboost thread1.40 dev cli common
libmono system web mvc1.0 cil libftgl2 libglew1.5 libfile find rule perl
ttf gfs theokritos libasm2 java libibus1 gambas2 gb v4l tftpd hpa
libjpeg progs libqtscript4 gui liblaunchpad integration1.0 cil compiz kde
python matplotlib data libnspr4 dev default jdk doc libxcb render util0 dev
libgnuradio core0 libnm util1 libgnuradio qtgui0 llvm dev python imaging
libmono cairo2.0 cil libtagc0 libmono relaxng1.0 cil libboost date time dev
python httplib2 python egenix mxtools gambas2 gb sdl sound libsctp1 habak
libgromnithread0 gambas2 gb net libplot2c2 texlive pstricks
ttf gfs artemisia libqwt5 qt4 libidzebra 2.0 mod dom libavfilter0
nvidia current modaliases libboost date time1.40.0 libgnomevfs2 extra
foomatic filters lbreakout2 data lmms common libnb platform devel java
gambas2 gb pdf x11proto xinerama dev ttf sil gentium libdca0 libx86 1 screen
x11proto render dev libindicate gtk2 libdate manip perl python indicate
libidzebra 2.0 mod grs xml ttf gfs porson bc libdns64 libxi dev gftp text m4
gambas2 gb chart libgps19 python zope.interface at ed
libmono i18n west2.0 cil dbconfig common texlive latex base librpmio0
texlive metapost doc librpm0 texlive fonts recommended javahelp2
guile 1.8 libs libwps 0.1 1 libmagick++2 rpm common po debconf python oauth
liblualib50 autoconf libchm1 gambas2 gb sdl ttf opensymbol libxnconfig9.0.5
libterm readkey perl libparse recdescent perl wireshark common
libpixman 1 dev gftp common xscreensaver data libsqlite0 libcddb2 libslp1
libfftw3 3 python gnomekeyring libportmidi0 whois libdirectfb extra
python gtksourceview2 libswingx java java wrappers libdotconf1.0
libcommons cli java libmono microsoft7.0 cil gdebi core
libmono system messaging2.0 cil libavdevice52 libmono system web1.0 cil
libass4 libjs prototype gnuradio sounder libapache2 mod php5
libboost thread dev clamav base libpano13 bin subversion libumfpack5.4.0
libtag extras1 gambas2 gb image linux source 2.6.32
libmono accessibility1.0 cil puredata libmono webbrowser0.5 cil
libmono posix2.0 cil odbcinst gambas2 gb web g++ mono runtime
libfontconfig1 dev libreadline java apturl common libcln6
libsensors applet plugin0 liblapack3gf libclamav6 libcommons compress java
audacious plugins libqtscript4 sql intltool debian libmono addins0.2 cil
erlang webtool libgnome2.24 cil php5 gd dcraw kompozer data libnss3 dev
xorg docs core x11proto kb dev libswingworker java luatex libprocessui4
texlive bibtex extra x11proto randr dev python serial libsaxon java
gambas2 gb desktop zlib bin caps texlive generic recommended
libmagickcore2 extra gambas2 gb xml john data libxinerama dev libisccc60
libcap2 bin network manager pptp libmono system runtime2.0 cil pptp linux
mono 2.0 devel libavcodec52 gcc 4.4 libprocesscore4 libopenctl0
gambas2 gb pcre m17n db toshset libpango perl libidzebra 2.0 0 cpu checker
texlive latex recommended gambas2 runtime libc6 i386 kdesudo
texlive font utils mono csharp shell libgssrpc4 libopagent1 libhd16 libxosd2
libqtscript4 xml libobparser21 mesa common dev firebird2.1 common doc
lib32gcc1 libpcrecpp0 libnss mdns libnova 0.12 2
texlive latex recommended doc couchdb bin ttf lyx unixodbc
erlang runtime tools gambas2 gb xml xslt libg15render1
gambas2 gb compress bzlib2 libsvn1 xtrans dev libatk1.0 dev ruby1.8
libportaudio2 python webkit libalut0 vbetool latex beamer libavahi core6
libcue1 libmenu cache1 libbabl 0.0 0 libqt4 dev gputils common libmcrypt4
libjs jac python pam libgegl 0.0 0 samba common idle python2.6 libhwloc0
xinput libelf1 python gnuradio core libforms1 texlive binaries lib32asound2
libxstream java acpid libgtkspell0 trayer libbinio1ldbl python scipy
erlang docbuilder libsdl image1.2 finger python gnuradio trellis
libmono i18n1.0 cil gettext hugin data libqt4 help ant php pear time
libmono oracle1.0 cil arj blt x11proto input dev python desktopcouch
libnb platform11 java tipa python glade2 xmms2 plugin id3v2 libvirt0
libusb dev ruby texlive latex base doc libmono messaging2.0 cil
gwyddion common default jdk libusrp2 0 libmono rabbitmq2.0 cil libenca0
latex xcolor libjsch java icewm common libsvn java uno libs3 bsh python tk
python gnuradio gsm fr vocoder libjetty java doc x11proto fixes dev
python tz koffice libs liblwres60 fckeditor mingw32 runtime libijs 0.35
libqt4 gui libt1 5 gcc libxml commons resolver1.1 java libpkcs11 helper1
libcobertura java libaudclient2 gnuplot x11 cvs libcurl3
linux headers 2.6.32 74 eog libjs scriptaculous libmono winforms1.0 cil
libfli1 libfltk1.1 libxen3 texlive xetex libmono db2 1.0 cil libgraphviz4
ant optional kdiff3 doc gnuradio apps binfmt support amarok utils
libhttrack2 linux headers 2.6.32 74 generic fop libmikmod2
gambas2 gb db postgresql libjcharts java libwxgtk2.8 0
libmono system data2.0 cil libglu1 mesa dev iputils arping blcr util
openssh client libgtkglext1 libgnome vfs2.0 cil libcommons net java
libresid builder0c2a libreadline5 libmono2.0 cil erlang inviso libdrm dev
gcc 4.4 multilib libsmi2ldbl krosspython libmono system ldap2.0 cil
speech dispatcher libmono bytefx0.7.6.1 cil libmono data tds1.0 cil
libbsf java libopencascade modeling 6.3.0 libqt4 multimedia
gambas2 gb settings gambas2 gb compress x11proto xext dev espeak data
vgabios libopenmpi1.3 mono gac libcolamd2.7.1 python vte libnm glib2
texlive luatex qt4 qmake libxt dev openmpi checkpoint libyaz3
libmono sharpzip2.6 cil firebird2.1 common libxml commons external java
modemmanager libmono getoptions2.0 cil libboost thread1.40.0 apport symptoms
libmono data2.0 cil libevent 1.4 2 libxext dev swig texlive metapost
gnuplot nox libglade2.0 cil libgme0 libmono npgsql1.0 cil
python gnuradio usrp erlang mnesia freepats libmono ldap2.0 cil
libmono messaging rabbitmq2.0 cil libmono security1.0 cil libphp phpmailer
gambas2 gb xml rpc ivy libieee1284 3 libiptcdata0 x11proto damage dev
libgnome2 canvas perl libhdf5 serial 1.8.4 linux headers generic
php xml htmlsax3 libart2.0 cil rsync erlang public key libdbd mysql perl
manpages gnuradio radar mono mpc libbind9 60 libneon27 gnutls liba52 0.7.4
ffmpeg nbd server libmono peapi1.0 cil libvncserver0 libglib2.0 cil
kstars data amarok common mono 2.0 gac libpostproc51 curl libpoppler glib4
pax libglib2.0 dev libwv2 4 libidzebra 2.0 modules
texlive fonts recommended doc gambas2 gb net smtp pgf gambas2 gb form dialog
zlib1g dev libdevmapper event1.02.1 lesstif2 liblzo2 2 hddtemp
libmono system1.0 cil gnuradio examples libdate calc perl libantlr java
pm utils ntp libcairo2 dev libqt3 mt mysql xfonts 100dpi libspeechd2
python gnuradio cvsd vocoder monodoc base libcgns2 libcr0 lxmenu data
xmms2 plugin alsa libgconf2.0 cil samba libpano13 1 python gnuradio fping
libglib perl python twisted core libwildmidi0 python desktopcouch records
netpbm tex4ht common liberror perl libmono sharpzip0.6 cil libradius1
geoip database python simplejson erlang os mon libmono cscompmgd7.0 cil
libntlm0 libidzebra 2.0 mod grs marc liborc 0.4 0 libespeak1
libatlas base dev libfreetype6 dev ttf gfs neohellenic libgsm1 libdvdnav4
fancontrol build essential libservlet2.3 java libmowgli1
libmono sqlite1.0 cil libmono sharpzip2.84 cil libxau dev dpkg dev rpm
librpmbuild0 gwibber service libxmmsclient6 libboost date time1.40 dev
gambas2 gb db form debconf utils libcarp clan perl mingw32 binutils
gambas2 gb qt ext barcode python gtkspell idzebra 2.0 doc libdvdread4
libmpdclient2 libmono relaxng2.0 cil libhtmlparser java ufw libblas3gf
kdebase workspace kgreet plugins stk libtext glob perl libschroedinger 1.0 0
lilypond doc libksignalplotter4 fglrx modaliases libtotem plparser17
gambas2 gb qt kde libavformat52 ttf gfs baskerville
libmono microsoft build2.0 cil libslf4j java compiz plugins
nvidia 96 modaliases libcommons daemon java libnuma1 libnfsidmap2 tcl8.4
openmpi bin tcl8.5 libindi0 libdc1394 22 python gnuradio qtgui
libqt4 assistant ure libmono dev libkate1 pinyin database libqwtplot3d qt4 0
desktopcouch libcdaudio1 libfftw3 dev psfontmgr libmimic0
python gnuradio audio alsa erlang inets automake xmms2 core erlang ic
libavifile 0.7c2 python gnuradio video sdl libkadm5clnt mit7 libgimp2.0
libswing layout java libamd2.2.0 gambas2 gb compress zlib libcap ng0
libapparmor1 texlive base libm17n 0 libdecoration0 libgeoip1
libboost1.40 dev libregexp java liblircclient0 xz utils libgromnithread dev
libmysql java libmono cecil private cil libmono corlib1.0 cil
python gnuradio wxgui m17n contrib xfonts unifont libaudcore1
libkscreensaver5 libwebkit 1.0 2 wwwconfig common vorbis tools libibverbs1
gksu ibus pinyin db open phrase libxvidcore4 psutils libisccfg60
gtk2 engines pixbuf libsidplay2 libboost serialization1.40.0 usbutils
smartdimmer erlang odbc libqtgtl0 python gdbm rhino gambas2 gb net curl
libkadm5srv mit7 clamav freshclam libc ares2 libc6 dev libsigsegv0
erlang nox libupower glib1 libgnuradio core dev libpackagekit glib2 12
libusrp0 tk8.4 libmono microsoft8.0 cil tk8.5 ttf gfs solomos libg15 1
liblua5.1 0 avahi daemon libanthy0 libzeroc ice33 libmono system web2.0 cil
libxcomposite dev libmono cairo1.0 cil libsoundtouch1c2 libstk0c2a
libxcb render0 dev libxrender dev xmms2 plugin vorbis libgnuradio usrp dev
libgpac0.4.5 libxmmsclient glib1 libmpg123 0 libmad0 gnuradio utils
libgnome2 perl libxmlgraphics commons java libnetpbm10
libmono accessibility2.0 cil iverilog ttf gfs gazis php5 ldap
texlive doc base gambas2 gb report texlive latex extra libpq5 libtommath0
libgfortran3 xfonts mathml python usrp gambas2 gb db
libidzebra 2.0 mod alvis librpcsecgss3 libgtksourceview2.0 0 libgwyddion2 0
libid3tag0 python pexpect libavahi compat libdnssd1 html2text imagemagick
texlive latex extra doc lib32z1 radeontool erlang ssh erlang percept
libhamcrest java xaw3dg liblucene2 java erlang ssl xmms2 plugin mad
libgraphite3 libgnuradio qtgui dev php5 mysql libmono i18n west1.0 cil
libxft dev python wnck texlive pictures libx11 dev libmhash2 liblrdf0
libwpg 0.1 1 libgc1c2 libaiksaurus 1.2 0c2a openjdk 6 doc
libqtscript4 uitools libkdb5 4 hal info libqt3 mt lib32stdc++6 miscfiles
libmono bytefx0.7.6.2 cil x11proto composite dev linux libc dev
libgnuradio usrp2 0 patch manpages dev gambas2 gb qt kdelibs data
libbeansbinding java libmcs1 samba common bin libqwtplot3d qt4 dev
gambas2 gb vb libcelt0 0 libdirac encoder0 libgtlcore0 libboost regex1.40.0
tap plugins netcat traditional liblua50 php5 cli libruby1.8 gnuradio gpio
libmono system messaging1.0 cil libgnuradio usrp0 liblastfm0 info
gambas2 gb gtk ext gambas2 gb form mdi libqt4 scripttools lib32v4l 0
compizconfig backend kconfig bridge utils libisc60 libdbus 1 dev
autotools dev libcupsmime1 libc dev bin libnet libidn perl libgtk2.0 cil
watershed compiz core libxcb1 dev libimlib2 libkfontinst4 mpi default bin
libgssglue1 openjdk 6 jdk tinymce python pkg resources libmono posix1.0 cil
libmail sendmail perl libopenjpeg2 xscreensaver libcommons digester java
libloudmouth1 0 perl doc gimp data libbatik java texlive math extra
libjs jquery python egenix mxdatetime perlmagick libqtscript4 core
libdirectfb dev binutils gnuradio radio astronomy systemsettings
libc6 dev i386 libjpeg62 dev libgruel0 min12xxw texlive pictures doc
libidzebra 2.0 dev portmap libio socket ssl perl gambas2 gb opengl
libini4j java libdbus glib 1 dev ncurses term libjetty java
nvidia 173 modaliases p7zip full libaudid3tag2 gnuradio doc mscompress
libmono i18n2.0 cil libplasma applet system monitor4
libsys hostname long perl erlang parsetools texlive pstricks doc iptables
libnb svnclientadapter java php5 common libmono oracle2.0 cil openbsd inetd
libjline java bcmwl modaliases openmpi common php gettext
libmono system runtime1.0 cil tex common lacheck python gnuradio usrp2
python dateutil x11proto core dev javascript common freeglut3
gambas2 gb form libexcalibur logkit java libdigest hmac perl
gambas2 gb qt kde html libimage exiftool perl plasma widgets workspace
libgnuradio audio alsa0 regina3 dvb apps koffice data libxdmcp dev
libpthread stubs0 dev libsysfs dev libofa0 libxcursor dev libgdiplus libmms0
libmono winforms2.0 cil less oprofile mysql client 5.1 libmpeg3 1
libbit vector perl xpdf common libllvm2.7 texinfo libgruel dev
libjs mootools libusrp dev ttf gfs didot classic python wxversion hplip data
erlang base hugin tools libboost filesystem1.40.0 libstdc++6 4.4 dev
python pyparsing libgtksourceview2.0 common python opengl
libmail imapclient perl mono gmcs libfaad2 mercurial common
libidzebra 2.0 mod grs regx qemu common libsmpeg0 libpng12 dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
freeradius common freeradius utils libfreeradius2
Suggested packages:
freeradius ldap freeradius postgresql freeradius mysql freeradius krb5
The following NEW packages will be installed:
freeradius freeradius common freeradius utils libfreeradius2
0 upgraded, 4 newly installed, 0 to remove and 56 not upgraded.
Need to get 1,067kB of archives.
After this operation, 4,121kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libfreeradius2 2.1.8+dfsg 1ubuntu1.1 [108kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid updates/main freeradius common 2.1.8+dfsg 1ubuntu1.1 [224kB]
Get:3 http://old releases.ubuntu.com/ubuntu/ lucid updates/main freeradius 2.1.8+dfsg 1ubuntu1.1 [645kB]
Get:4 http://old releases.ubuntu.com/ubuntu/ lucid updates/main freeradius utils 2.1.8+dfsg 1ubuntu1.1 [90.3kB]
Fetched 1,067kB in 1s (564kB/s)
Selecting previously deselected package libfreeradius2.
(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 ... 242921 files and directories currently installed.)
Unpacking libfreeradius2 (from .../libfreeradius2_2.1.8+dfsg 1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package freeradius common.
Unpacking freeradius common (from .../freeradius common_2.1.8+dfsg 1ubuntu1.1_all.deb) ...
Selecting previously deselected package freeradius.
Unpacking freeradius (from .../freeradius_2.1.8+dfsg 1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package freeradius utils.
Unpacking freeradius utils (from .../freeradius utils_2.1.8+dfsg 1ubuntu1.1_amd64.deb) ...
Processing triggers for man db ...
Processing triggers for ureadahead ...
Setting up libfreeradius2 (2.1.8+dfsg 1ubuntu1.1) ...
Setting up freeradius common (2.1.8+dfsg 1ubuntu1.1) ...
Adding user freerad to group shadow
Setting up freeradius (2.1.8+dfsg 1ubuntu1.1) ...
dpkg statoverrides: warning: update given but /var/run/freeradius does not exist
dpkg statoverrides: warning: stripping trailing /
dpkg statoverrides: warning: stripping trailing /
dpkg statoverrides: warning: stripping trailing /
Updating default SSL certificate settings, if any...
Adding user freerad to group ssl cert
Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
....................................................................................................................................................................................+................+.........................+....................................................................................................+......................................+...........................................................................+...........................................................................................................+.................................................................................................+...........................................+........................................+.......................................................................................+............................+..+..................................................+.........................................+...+...............................................+.+......++*++*++*
* Starting FreeRADIUS daemon freeradius [169G [163G[ OK ]
Setting up freeradius utils (2.1.8+dfsg 1ubuntu1.1) ...
root@hiox:~