≡ Menu

Package Management

10 Ubuntu / Debian Linux apt Command Examples

ip-command

I am a new Linux system admin user. How do I use apt command line utility for the package management on Ubuntu Linux LTS and Debian Linux server? How can I use the apt command for the package management?
[click to continue…]

Sysadmin because even developers need heroes!!!

How to install mysql server 5.7 on Ubuntu 16.04 LTS ( Xenial Xerus )

MySQL is a popular database management system used for my web applications. How do I install MySQL server version 5.7 on Ubuntu Linux 16.04 LTS ( Xenial Xerus )?
[click to continue…]

How to check Debian/Ubuntu Linux package version using apt-get/aptitude command

I am a new Debian / Ubuntu Linux sysadmin. I would like to find out what version I would install if I ran the apt-get command. How do I find out which versions of a package can I install using apt-cache/apt-get command? How do you check package version using apt-get/aptitude on Debian or Ubuntu Linux server?
[click to continue…]

How to configure Nginx with free Let’s Encrypt SSL certificate on Debian or Ubuntu Linux

How do I secure my Nginx web server with Let’s Encrypt free ssl certificate on my Ubuntu Linux 14.04 LTS or Debian Linux 8.x server?
[click to continue…]

How to upgrade OpenSSH 7.0 to 7.2 on a OpenBSD Unix and Linux

OpenSSH version 7.2 has been released. How do I install or upgrade my existing OpenSSH version to 7.2 on a OpenBSD unix operating system?
[click to continue…]

How to run a command or script after running apt-get command on a Debian or Ubuntu Linux

How do I run custom command after ‘apt-get upgrade‘ or ‘apt-get dist-upgrade‘ on a Debian or Ubuntu Linux based system? How do I hook a script to apt-get command on my Ubuntu Linux server?
[click to continue…]

How to install PHP 7 on Ubuntu Linux 14.04 LTS

PHP 7 provides 2x faster performance and 50% better memory consumption than PHP version 5.6. How do I install PHP 7 on Ubuntu Linux version 14.04 LTS server? How do I install PHP 7 with PHP-FPM in along with Nginx web server?
[click to continue…]

Ubuntu sudo: add-apt-repository: command not found error and solution

I‘m trying to run a command ‘sudo add-apt-repository ppa:foo/bar‘ but getting the following error:

     sudo: add-apt-repository: command not found

How do I fix this problem on Ubuntu Linux 14.04 LTS server?
[click to continue…]

How to find out when Debian or Ubuntu package installed or updated

How do I find and list installed Debian or Ubuntu Linux packages date? How can I see when packages got updated on my systems?
[click to continue…]

Fedora Linux – How to Use dnf Command With A Proxy Server

My Fedora Linux 23 workstation based laptop can only be accessed through our corporate proxy servers. How do I access and use dnf command with a web proxy server on a Fedora Linux? How do I configure dnf to use a proxy server only?
[click to continue…]