-----------------------------------------------------------
alan@tigger:~$ sudo apt-get install links2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdirectfb-0.9-25 libsvga1
The following NEW packages will be installed
libdirectfb-0.9-25 libsvga1 links2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3220kB of archives.
After unpacking 5857kB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously deselected package libdirectfb-0.9-25.
(Reading database ... 23669 files and directories currently installed.)
Unpacking libdirectfb-0.9-25 (from .../libdirectfb-0.9-25_0.9.25.1-5ubuntu2_i386.deb) ...
Selecting previously deselected package libsvga1.
Unpacking libsvga1 (from .../libsvga1_1%3a1.4.3-24_i386.deb) ...
Selecting previously deselected package links2.
Unpacking links2 (from .../links2_2.1pre26-4build1_i386.deb) ...
Setting up libdirectfb-0.9-25 (0.9.25.1-5ubuntu2) ...
Setting up libsvga1 (1.4.3-24) ...
Setting up links2 (2.1pre26-4build1) ...
-----------------------------------------------------------
alan@tigger:~$ sudo apt-get autoremove links2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libsvga1 libdirectfb-0.9-25
The following packages will be REMOVED
libdirectfb-0.9-25 libsvga1 links2
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 5857kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 23778 files and directories currently installed.)
Removing links2 ...
Removing libdirectfb-0.9-25 ...
Removing libsvga1 ...
apt-get also has autoremove:-
------- ------- ------- ------- ------- ------- ------- ------- --- 0.9-25 libsvga1 0.9-25 libsvga1 links2 -0.9-25_ 0.9.25. 1-5ubuntu2_ i386.deb) ... 1%3a1.4. 3-24_i386. deb) ... 2.1pre26- 4build1_ i386.deb) ...
alan@tigger:~$ sudo apt-get install links2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdirectfb-
The following NEW packages will be installed
libdirectfb-
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3220kB of archives.
After unpacking 5857kB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously deselected package libdirectfb-0.9-25.
(Reading database ... 23669 files and directories currently installed.)
Unpacking libdirectfb-0.9-25 (from .../libdirectfb
Selecting previously deselected package libsvga1.
Unpacking libsvga1 (from .../libsvga1_
Selecting previously deselected package links2.
Unpacking links2 (from .../links2_
Setting up libdirectfb-0.9-25 (0.9.25.1-5ubuntu2) ...
Setting up libsvga1 (1.4.3-24) ...
Setting up links2 (2.1pre26-4build1) ...
------- ------- ------- ------- ------- ------- ------- ------- --- 0.9-25 libsvga1 links2
alan@tigger:~$ sudo apt-get autoremove links2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libsvga1 libdirectfb-0.9-25
The following packages will be REMOVED
libdirectfb-
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 5857kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 23778 files and directories currently installed.)
Removing links2 ...
Removing libdirectfb-0.9-25 ...
Removing libsvga1 ...