Posted: . At: 9:05 PM. This was 10 years ago. Post ID: 7834
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


How to uninstall a package in Ubuntu.


To remove a package in Ubuntu, use the sudo apt-get remove command. This will uninstall the package.

jason-H55-USB3 [mc] ~                                                                                                                                                14-10-18  8:47PM
jason-H55-USB3% sudo apt-get remove linphone
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libexosip2-10 liblinphone5 libmediastreamer-base3 libortp9 libosip2-10
  libupnp6 linphone-common linphone-nogtk
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  linphone
0 to upgrade, 0 to newly install, 1 to remove and 3 not to upgrade.
After this operation, 340 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 219801 files and directories currently installed.)
Removing linphone (3.6.1-2.1build2) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for menu (2.1.46ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

Sometimes, you will also want to remove all of the configuration settings for the package as well, the sudo apt-get remove --purge command will remove the package and all of the configuration settings as well.

If there are packages left over after removing a package, then the sudo apt-get autoremove command will clean up your system.

jason-H55-USB3 [sudo apt-get remove --purge] ~                                                                                                                       14-10-18  8:56PM
jason-H55-USB3% sudo apt-get autoremove    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libexosip2-10 liblinphone5 libmediastreamer-base3 libortp9 libosip2-10
  libupnp6 linphone-common linphone-nogtk
0 to upgrade, 0 to newly install, 8 to remove and 3 not to upgrade.
After this operation, 10.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 219787 files and directories currently installed.)
Removing linphone-nogtk (3.6.1-2.1build2) ...
Removing liblinphone5:amd64 (3.6.1-2.1build2) ...
Removing libexosip2-10 (4.0.0-4ubuntu1) ...
Removing libmediastreamer-base3:amd64 (3.6.1-2.1build2) ...
Removing libortp9:amd64 (3.6.1-2.1build2) ...
Removing libosip2-10:amd64 (4.0.0-3ubuntu2) ...
Removing libupnp6 (1:1.6.17-1.2) ...
Removing linphone-common (3.6.1-2.1build2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...

Using these commands, you can easily manage the packages on your system and keep your Linux installation free of unwanted software.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.