Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu list latest installed packages

apt list --installed | grep [name]
Comment

Ubuntu packages

sudo add-apt-repository ppa:xorg-edgers/ppa 
sudo apt-get update
sudo apt-get install libgl1-mesa-glx
sudo apt-get install libgl1-mesa-dri
sudo apt-get install libgl1-mesa-dev
sudo add-apt-repository --remove ppa:xorg-edgers/ppa
sudo apt install net-tools
sudo apt-get install -y unzip
sudo apt install gcc
sudo apt install g++
sudo apt install python
ln -s /usr/bin/python2 /usr/bin/python
Comment

find installed packages in ubuntu

# This returns only the manually installed packages and only the package name (no extra info etc)
comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)
Comment

How to list manually installed packages in ubuntu

comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)
Comment

PREVIOUS NEXT
Code Example
Shell :: minishift admin-user addon 
Shell :: octave ubuntu 20.04 
Shell :: postinstall docker 
Shell :: PowerShell command list software windows server 2016 
Shell :: git force lf 
Shell :: how to find and kill a running process on a port in mac 
Shell :: remove a file from a commit 
Shell :: how to add images in readme github 
Shell :: force remove a hidden folder in linux 
Shell :: shell curl extract bearer token from response 
Shell :: how to give full permission to another user linux 
Shell :: install express 
Shell :: git stash save 
Shell :: how to start ngrok server 
Shell :: git untracked folder 
Shell :: uninstall cinnamon 
Shell :: start xampp on mac 
Shell :: openssl verify cert 
Shell :: ssh upload file to server 
Shell :: github fork my own repo 
Shell :: github add all files/directories and subdirectories 
Shell :: how to merge branches github 
Shell :: add ignored file to git 
Shell :: batch file if statement 
Shell :: vim :qa! 
Shell :: copy one file content to another in linux 
Shell :: list users on server 
Shell :: how to see ip in linux 
Shell :: extract tar gz file windows 
Shell :: brew cask specific version 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =