Last active
January 29, 2026 04:59
-
-
Save akochepasov/fa222c296e1344abdc396156858f05d9 to your computer and use it in GitHub Desktop.
debian packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Extracts the contents of a the_package.deb package into tmp | |
| dpkg-deb -R the_package.deb tmp | |
| ## Download python3.10-venv locally | |
| apt-get -d -o dir::cache=`pwd` -o Debug::NoLocking=1 install python3.10-venv | |
| # Clean up the system from the_package | |
| sudo apt purge the_package | |
| dpkg -P the_package | |
| ## Check for primary package version | |
| apt-cache policy the_package | |
| ## Typical use | |
| apt install the_package.deb | |
| apt remove the_package.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment