Posted: . At: 7:01 PM. This was 8 years ago. Post ID: 8676
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 update packages on your Debian GNU/Linux system.


The packages on your Debian GNU/Linux system must be kept up to date to ensure the security concerns are addressed. Use this command to install any pending updates.

sudo apt-get update; sudo apt-get upgrade

The Debian user may also use this command.

sudo aptitude update; sudo aptitude safe-upgrade

Both of these commands will update all of the software on a Debian system to the latest versions.

This is how to list all installed packages on your Debian Linux system.

┌──(john㉿DESKTOP-PF01IEE)-[~]
└─$ apt list --installed

Show detailed information about a certain Debian package using this command, this is very useful.

┌──(john㉿DESKTOP-PF01IEE)-[~]
└─$ apt-cache show vim-common
Package: vim-common
Source: vim
Version: 2:8.2.3995-1
Installed-Size: 362
Maintainer: Debian Vim Maintainers <team+vim@tracker.debian.org>
Architecture: all
Depends: xxd
Recommends: vim | vim-gtk3 | vim-athena | vim-nox | vim-tiny
Size: 247984
SHA256: b953153b20c0d81524410ac4a3ed5e7f7f9eb6cafc25488b40acc42f961e4904
SHA1: 885df0e0cc2c76e63bd19d8aaf26625b61299c8b
MD5sum: 41d58193a8b346bc7f8c317eebb29b4f
Description: Vi IMproved - Common files
 Vim is an almost compatible version of the UNIX editor Vi.
 .
 This package contains files shared by all non GUI-enabled vim variants
 available in Debian.  Examples of such shared files are: manpages and
 configuration files.
Description-md5: 30b64c3dceccc4faef229eafc38d0069
Multi-Arch: foreign
Homepage: https://www.vim.org/
Tag: devel::editor, interface::text-mode, role::app-data, role::program,
 uitoolkit::ncurses, use::editing, works-with::text, works-with::unicode
Section: editors
Priority: important
Filename: pool/main/v/vim/vim-common_8.2.3995-1_all.deb

Some very useful tips here. It is important to keep your Linux packages upgraded, so get into the habit of running sudo apt update ; sudo apt upgrade regularly. This will patch important security issues and also provide new versions of Linux software. This does not take very long, but this is important.


Leave a Comment

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