Some more advanced dpkg tricks for use on Ubuntu and Debian.
Some very useful tips for dpkg and apt on your Debian system. How to unpack a Debian package and other useful tips.
Read MoreSome very useful tips for dpkg and apt on your Debian system. How to unpack a Debian package and other useful tips.
Read MoreAn already installed package on a Debian based system may be repackaged into a Debian *.deb file for sharing with someone else, or for a backup if the user wishes. This is very useful. Also, it is possible to get information about the number of installed packages, and the number…
Read MoreTo upgrade an older release of Ubuntu to the new 18.04 release, just use this command as the superuser. jason@Yog-Sothoth » ~ » $ sudo do-release-upgrade This will take a while, but will upgrade your Linux system to the new Ubuntu release. Make sure that after the upgrade is done,…
Read MoreI recently had to upgrade an Ubuntu 14.04 system to the latest release. I ran the command below and my system was upgraded to Ubuntu 16.04 LTS. sudo do-release-upgradesudo do-release-upgrade This was run over SSH, but I did not lose my connection, and it was quite a painless experience. This…
Read MoreThere are some very useful tricks that can be used to get information about packages installed on a Debian or Ubuntu machine. Here are just a few. Get a graphical view of the actual dependencies of a package such as Firefox. Firstly, install the graphviz package. jason@Yog-Sothoth:~$ sudo apt install…
Read MoreThe CPU-Z app for Windows is very good for keeping track of the status of your CPU, but this is also available on Linux with the I-Nex app. This will show comprehensive CPU information that is very detailed indeed. Get the Debian packages here: https://launchpad.net/i-nex/+download. The Ubuntu 16.10 packages installed…
Read MoreThe Linux command line may be used to create a graphical display of package dependencies. This is good for visualizing what other components of Ubuntu are required for a certain package to operate. And the images look very cool when put on a website as well. A great Linux feature….
Read MoreThere is a way to create a graphical display of the package relations amongst your installed packages on a Debian system. The Graphviz package allows this. Firstly, install the debtree package. apt install debtreeapt install debtree apt install graphvizapt install graphviz Then run this command to see all of the…
Read MoreThe apt package manager allows management of all installed packages and the installation of new software on a Linux system. It also allows the retrieval of information about installed packages. To list all installed packages, run this command. This does not require sudo or su. jason$ apt list –installedjason$ apt…
Read MoreThe apt command allows the user to search for a specific package. This is very useful if you do not know the exact name for package installation. This is one way. ubuntu ~ $ apt-cache search vimubuntu ~ $ apt-cache search vim This will return a long listing of all…
Read MoreThe 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 upgradesudo apt-get update; sudo apt-get upgrade The Debian user may also use this command. sudo aptitude update;…
Read MoreTo add a fancy progress bar to the apt command on Linux, edit this file: /etc/apt/apt.conf.d/99progressbar and add the line below. Dpkg::Progress-Fancy "1";Dpkg::Progress-Fancy "1"; Save the file and when you next install software with the apt command, you will get a fancy progress bar at the bottom of the screen….
Read MoreI wanted to update my Ubuntu 14.04 server and I saw this output. I needed to remove these unwanted packages on my system. ubuntu@ip-172-31-20-16:~$ sudo apt-get upgrade Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages were automatically installed and are no…
Read MoreThis command will update a single package upon request. This would be very useful if you want to update only one critical package on a Debian system. dpkg -s <package> 2>/dev/null | grep -q Status.*installed && sudo apt-get install <package>dpkg -s <package> 2>/dev/null | grep -q Status.*installed && sudo apt-get…
Read MoreThe cat /var/log/apt/term.log command will allow you to retrieve information about a package installation; you may then review the installation process and see if anything went wrong during the installation process. In the example below, I am reviewing an installation of Midnight Commander. jason@darkstar:~$ cat /var/log/apt/term.log | grep mc Selecting…
Read MoreThis is how to automatically remove unneeded packages on your Linux Mint system. jason@jason-desktop:~$ sudo apt-get autoremove [sudo] password for jason: Reading package lists… Done Building dependency tree Reading state information… Done The following packages will be REMOVED: libglib2.0-0:i386 libgstreamer-plugins-base0.10-0 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0 libgstreamer0.10-0:i386 liborc-0.4-0:i386 libpgm-5.1-0 libpoppler57 libpth20 libsndio6.0 libzmq3 qtdeclarative5-qtfeedback-plugin…
Read MoreInstalling the kernel headers for Kali Linux allows the installation of Virtualbox Guest Additions and other software that relies upon the kernel headers, but the /etc/apt/sources.lst is not filled out by default. Paste this code into the /etc/apt/sources.lst at the bottom of the file. deb http://http.kali.org/ /kali main contrib non-free…
Read MoreI have been experimenting with the installation of Ubuntu Server onto a HP BL35P blade server and the process has been quite a learning experience indeed. The need to use the HP SmartStart CD to erase the RAID array on the server before the installation is different from your run…
Read MoreTo install a Debian *.deb packages that you have downloaded, use this command. john@adeptus-mechanicus ~/Downloads $ sudo dpkg -i rxvt_2.6.4-14_i386.debjohn@adeptus-mechanicus ~/Downloads $ sudo dpkg -i rxvt_2.6.4-14_i386.deb This will install the Debian package. john@adeptus-mechanicus ~/Downloads $ sudo dpkg -i rxvt_2.6.4-14_i386.deb [sudo] password for john: Selecting previously unselected package rxvt. (Reading database…
Read MoreThe Gnome Shell 3.6 builds are available for Ubuntu 12.10; but if you want to install the unstable builds of Gnome Shell 3.7 to test it out on your computer, then these commands will install it. sudo add-apt-repository ppa:gnome3-team/gnome3 #The GNOME3 team PPA</code> sudo add-apt-repository ppa:gnome3-team/gnome3-staging #The GNOME3 staging…
Read More