apt-get Install openswan

How do you install openswan in Linux using apt-get command?

How to Install openswan with apt-get?

apt-get install openswan -y

Install Openswan  Command

Here is a tutorial to learn how to install openswan using apt-get command.

Step 1: Open terminal with su access and enter the command as shown below:
apt-get install openswan -y

Step 2: After completion, the install command exits and instructs the user to restart the running instances of openswan if it is running already.

Result of the Command Execution shown below:

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libsm dev python3 minimal libjaxp1.3 java dnsmasq base libjargs java
xfonts 75dpi libzbar0 libgnome bluetooth7 rpm2cpio xsltproc libchewing3 data
libice dev fakeroot libxrandr dev xfonts scalable libexpat1 dev libiw dev
libxerces2 java debhelper libxdamage dev pkg config libpthread stubs0
scim bridge client gtk libxnee0 libsvga1 libxfixes dev g++ 4.4 libibus1
libzend framework php libnspr4 dev ibus gtk libxcb render util0 dev
scim modules table language pack zh hant base x11proto xinerama dev
mobile broadband provider info libpcap0.8 x11proto render dev libxi dev
xmms2 plugin pulse java common librpmio0 librpm0 libmagick++2 rpm common
po debconf icedtea 6 jre cacao libxnconfig9.0.5 libpixman 1 dev libsqlite0
lxde common libdirectfb extra java wrappers default jre headless scim
znc tcl g++ libfontconfig1 dev libscim8c2a intltool debian openjdk 6 jre lib
firefox locale zh hans firefox locale zh hant python3.1 libnss3 dev
xorg docs core x11proto kb dev x11proto randr dev libxinerama dev gcc 4.4
libxosd2 pcmanfm openjdk 6 jre headless xtrans dev libatk1.0 dev libchewing3
libmenu cache1 libelf1 gettext blt x11proto input dev xmms2 plugin id3v2
x11proto fixes dev cnee gcc xpdf reader cvs linux headers 2.6.32 74 libggi2
linux headers 2.6.32 74 generic iputils arping zend framework bin libgii1
ttf arphic uming x11proto xext dev modemmanager tzdata java libxext dev
xfonts wqy scim gtk2 immodule znc perl x11proto damage dev
language support fonts zh hans language support fonts zh hant
linux headers generic manpages libnotify dev libglib2.0 dev
libzookeeper java zlib1g dev lesstif2 libcairo2 dev xfonts 100dpi
lxmenu data xmms2 plugin alsa im switch libzzip 0 13 libpango1.0 dev
libfreetype6 dev build essential libxau dev dpkg dev rpm libgii1 target x
librpmbuild0 libxmmsclient6 scim bridge agent tcl8.5 pinyin database
xmms2 core python3 ttf arphic bsmi00lp xz utils ibus pinyin db open phrase
language pack zh hans base python3.1 minimal libc ares2 libc6 dev tk8.5
liblua5.1 0 libxcomposite dev libxcb render0 dev libxrender dev
xmms2 plugin vorbis libxmmsclient glib1 libmad0 lxpanel ttf arphic gbsn00lp
ca certificates java html2text xmms2 plugin mad libxft dev libx11 dev
ttf wqy zenhei libqt3 mt x11proto composite dev linux libc dev patch
manpages dev xvfb ttf arphic ukai language pack zh hans
language pack zh hant info libggi target x libdbus 1 dev libc dev bin
libxcb1 dev libgtk2.0 dev libmail sendmail perl libdirectfb dev binutils
libjpeg62 dev znc extra libdbus glib 1 dev libsys hostname long perl
liblog4j1.2 java openbsd inetd libjline java xmms2 icon libnet1
x11proto core dev xmms2 client cli xmms2 client nycli gnome doc utils
libxdmcp dev libpthread stubs0 dev libsysfs dev talkd libxcursor dev
wimpiggy xpdf common scim modules socket libstdc++6 4.4 dev libpng12 dev
Use 'apt-get autoremove' to remove them.
Suggested packages:
openswan modules source linux patch openswan curl
The following NEW packages will be installed:
openswan
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 2866kB of archives.
After this operation, 8434kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/universe openswan 1:2.6.23+dfsg 1ubuntu1 [2866kB]
Preconfiguring packages ...
[?1049h[1;44r[4l[?25l[m(B[37m[40m[1;44r[H[2J[1;1H[1m[37m[44m[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K[1;1H[m(B[37m[44mPackage configuration[16;3H(0[30m[47mlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu[m(B(B[30m[47m [31mConfiguring openswan[30m (0[30m[47mtqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk[17;3Hx[m(B(B[30m[47m (0[30m[47mx[m(B(B[1m[37m[40m [18;3H[m(B(0[30m[47mx[m(B(B[30m[47m This installer can automatically create a RSA public/private keypair for this host. This keypair can be used to authenticate IPSec connections to (0[30m[47mx[m(B(B[1m[37m[40m [19;3H[m(B(0[30m[47mx[m(B(B[30m[47m other hosts and is the preferred way for building up secure IPSec connections. The other possibility would be to use shared secrets (passwords that (0[30m[47mx[m(B(B[1m[37m[40m [20;3H[m(B(0[30m[47mx[m(B(B[30m[47m are the same on both sides of the tunnel) for authenticating an connection, but for a larger number of connections RSA authentication is easier to (0[30m[47mx[m(B(B[1m[37m[40m [21;3H[m(B(0[30m[47mx[m(B(B[30m[47m administer and more secure. (0[30m[47mx[m(B(B[1m[37m[40m [22;3H[m(B(0[30m[47mx[m(B(B[30m[47m (0[30m[47mx[m(B(B[1m[37m[40m [23;3H[m(B(0[30m[47mx[m(B(B[30m[47m If you do not want to create a new public/private keypair, you can choose to use an existing one. (0[30m[47mx[m(B(B[1m[37m[40m [24;3H[m(B(0[30m[47mx[m(B(B[30m[47m (0[30m[47mx[m(B(B[1m[37m[40m [25;3H[m(B(0[30m[47mx[m(B(B[30m[47m Do you want to create a RSA public/private keypair for this host? (0[30m[47mx[m(B(B[1m[37m[40m [26;3H[m(B(0[30m[47mx[m(B(B[30m[47m (0[30m[47mx[m(B(B[1m[37m[40m [27;3H[m(B(0[30m[47mx[m(B(B[30m[47m [37m[41m[30m[47m (0[30m[47mx[m(B(B[1m[37m[40m [28;3H[m(B(0[30m[47mx[m(B(B[30m[47m (0[30m[47mx[m(B(B[1m[37m[40m [29;3H[m(B(0[30m[47mmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj[m(B(B[1m[37m[40m [30;4H [27;51H


Related Topics

Apt Get Commands