User Tools

Site Tools


linux:ubuntu_distupgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:ubuntu_distupgrade [2021/01/01 21:25]
127.0.0.1 external edit
linux:ubuntu_distupgrade [2024/08/27 14:44] (current)
manu
Line 24: Line 24:
  
   lsb_release -a   lsb_release -a
 +
 +List only installed packages
 +  apt list --installed
 +
 +Install specific package
 +  apt install /​tmp/​mypackage.deb
 +  ​
 +Remove a package
 +  apt purge <​pkg_name>​
 +  ​
 +Remove unneeded packages
 +  apt autoremove
 +  ​
 +List content of a package
 +  dpkg -L <​pkg_name>​
 +  apt-file list <​pkg_name>​
 +  ​
 +To find the package correspondant to a file
 +  dpkg -S /tmp/myfile
 +  apt-file search /tmp/myfile
 +  ​
linux/ubuntu_distupgrade.1609532704.txt.gz ยท Last modified: 2021/01/01 21:25 by 127.0.0.1